Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001516/0.001515, allocations: 195.3 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.73/1.73, allocations: 205.1 MB / 222 MB, free: 4.961 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 55.91 kB / 278.1 MB, free: 12.99 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2627, allocations: 46.63 MB / 324.7 MB, free: 2.043 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.01245/0.2752, allocations: 9.547 MB / 334.2 MB, free: 10.53 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007552/0.2828, allocations: 3.459 MB / 337.7 MB, free: 7.285 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002961/0.2858, allocations: 39.81 kB / 337.7 MB, free: 7.246 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002906/0.2888, allocations: 0.5866 MB / 338.3 MB, free: 6.656 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00435/0.2932, allocations: 0.7422 MB / 339.1 MB, free: 5.91 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001523/0.2948, allocations: 407.5 kB / 339.5 MB, free: 5.512 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00397/0.2987, allocations: 3.056 MB / 342.5 MB, free: 2.441 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001936/0.3007, allocations: 1.481 MB / 344 MB, free: 0.918 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001514/0.3022, allocations: 1.043 MB / 345 MB, free: 15.87 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001949/0.3042, allocations: 1.51 MB / 346.5 MB, free: 14.36 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003523/0.3045, allocations: 188 kB / 346.7 MB, free: 14.17 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.3056, allocations: 459.5 kB / 347.2 MB, free: 13.72 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008617/0.3064, allocations: 0.8645 MB / 348 MB, free: 12.86 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001381/0.3078, allocations: 1.364 MB / 349.4 MB, free: 11.48 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003352/0.3112, allocations: 4.131 MB / 353.5 MB, free: 7.34 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3112, allocations: 0 / 353.5 MB, free: 7.34 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3112, allocations: 4 kB / 353.5 MB, free: 7.336 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.872e-05/0.3113, allocations: 0 / 353.5 MB, free: 7.336 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.006722/0.318, allocations: 3.157 MB / 356.7 MB, free: 4.109 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/0.3181, allocations: 12.03 kB / 356.7 MB, free: 4.098 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000914/0.319, allocations: 329.2 kB / 357 MB, free: 3.773 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002849/0.3219, allocations: 1.6 MB / 358.6 MB, free: 2.121 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001243/0.322, allocations: 156 kB / 358.8 MB, free: 1.965 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003043/0.3223, allocations: 207.9 kB / 359 MB, free: 1.762 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004837/0.3272, allocations: 2.694 MB / 361.7 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.626e-05/0.3272, allocations: 4 kB / 361.7 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001912/0.3274, allocations: 80 kB / 361.8 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001222/0.3276, allocations: 99.86 kB / 361.9 MB, free: 14.81 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004141/0.3317, allocations: 2.276 MB / 364.1 MB, free: 12.53 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01351/0.3453, allocations: 8.232 MB / 372.4 MB, free: 4.098 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003071/0.3484, allocations: 1.628 MB / 374 MB, free: 2.41 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001905/0.3503, allocations: 1.093 MB / 375.1 MB, free: 1.316 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002679/0.3506, allocations: 130 kB / 375.2 MB, free: 1.168 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.3506, allocations: 47.5 kB / 375.3 MB, free: 1.113 MB / 302.1 MB Notification: Performance of pre-optimization done (n=116): time 3.908e-06/0.3506, allocations: 0 / 375.3 MB, free: 1.113 MB / 302.1 MB Notification: Performance of matching and sorting (n=132): time 0.013/0.3636, allocations: 6.206 MB / 381.5 MB, free: 10.8 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.84e-05/0.3637, allocations: 64.72 kB / 381.5 MB, free: 10.73 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003059/0.3668, allocations: 2.156 MB / 383.7 MB, free: 8.523 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.742e-05/0.3669, allocations: 49.7 kB / 383.7 MB, free: 8.469 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008177/0.3677, allocations: 1.104 MB / 384.8 MB, free: 7.352 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003842/0.3681, allocations: 457.3 kB / 385.3 MB, free: 6.898 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003984/0.3685, allocations: 243.5 kB / 385.5 MB, free: 6.652 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.3687, allocations: 361.8 kB / 385.9 MB, free: 6.293 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001287/0.37, allocations: 0.7574 MB / 386.6 MB, free: 5.535 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001405/0.3714, allocations: 1.013 MB / 387.7 MB, free: 4.434 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002747/0.3742, allocations: 1.869 MB / 389.5 MB, free: 2.477 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.3742, allocations: 0 / 389.5 MB, free: 2.477 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005163/0.3794, allocations: 2.765 MB / 392.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/0.3794, allocations: 4 kB / 392.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/0.3794, allocations: 11.94 kB / 392.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001996/0.3814, allocations: 0.7848 MB / 393.1 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/0.3825, allocations: 275.6 kB / 393.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01118/0.3937, allocations: 8.747 MB / 402.1 MB, free: 5.602 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001554/0.3953, allocations: 87.89 kB / 402.2 MB, free: 5.516 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/0.3955, allocations: 55.92 kB / 402.2 MB, free: 5.461 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 122 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (6,33,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001426/0.3969, allocations: 0.7473 MB / 403 MB, free: 4.703 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004921/0.3974, allocations: 201.5 kB / 403.2 MB, free: 4.504 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004617/0.402, allocations: 2.484 MB / 405.7 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.92e-05/0.4021, allocations: 20.17 kB / 405.7 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.448e-05/0.4021, allocations: 12 kB / 405.7 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/0.4021, allocations: 3.984 kB / 405.7 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008992/0.4111, allocations: 4.94 MB / 410.6 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/0.4112, allocations: 3.984 kB / 410.6 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/0.4122, allocations: 215.9 kB / 410.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001916/0.4142, allocations: 0.651 MB / 411.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001081/0.4143, allocations: 35.97 kB / 411.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009143/0.4234, allocations: 7.929 MB / 419.5 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.4235, allocations: 4.031 kB / 419.5 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006755/0.4303, allocations: 3.522 MB / 423 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001496/0.4318, allocations: 442.5 kB / 423.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003117/0.4321, allocations: 35.94 kB / 423.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009542/0.4331, allocations: 83.89 kB / 423.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003604/0.4335, allocations: 100.8 kB / 423.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/0.4336, allocations: 39.92 kB / 423.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002463/0.4361, allocations: 1.527 MB / 425.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.4361, allocations: 0 / 425.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002459/0.4385, allocations: 0.5195 MB / 425.7 MB, free: 13.32 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 91 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (1,6,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001495/0.44, allocations: 455 kB / 426.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005059/0.4451, allocations: 2.376 MB / 428.6 MB, free: 10.47 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/0.4452, allocations: 0 / 428.6 MB, free: 10.47 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003034/0.4482, allocations: 1.598 MB / 430.2 MB, free: 8.812 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002716/0.451, allocations: 430.3 kB / 430.6 MB, free: 8.387 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01126/0.4622, allocations: 6.138 MB / 436.7 MB, free: 2.203 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002058/0.4644, allocations: 1.947 MB / 438.7 MB, free: 224 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001816/0.4662, allocations: 383.7 kB / 439 MB, free: 15.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003811/0.4666, allocations: 131.4 kB / 439.2 MB, free: 15.71 MB / 382.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4666, allocations: 0 / 439.2 MB, free: 15.71 MB / 382.1 MB Notification: Performance of Templates: time 0.2706/0.7372, allocations: 28.93 MB / 468.1 MB, free: 106.5 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe 2>&1)