Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.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_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009255/0.0009256, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001066/0.001066, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.698/1.698, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.0004598/0.0004599, allocations: 12 kB / 278.9 MB, free: 12.7 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2908, allocations: 47.59 MB / 326.5 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.01043/0.3013, allocations: 7.833 MB / 334.3 MB, free: 11.29 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00749/0.3088, allocations: 2.739 MB / 337.1 MB, free: 8.883 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002049/0.3109, allocations: 31.88 kB / 337.1 MB, free: 8.852 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00222/0.3132, allocations: 0.4893 MB / 337.6 MB, free: 8.359 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003536/0.3167, allocations: 0.6177 MB / 338.2 MB, free: 7.738 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001284/0.3181, allocations: 203.7 kB / 338.4 MB, free: 7.539 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004616/0.3227, allocations: 2.475 MB / 340.9 MB, free: 5.051 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002574/0.3253, allocations: 1.197 MB / 342.1 MB, free: 3.82 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002024/0.3273, allocations: 0.8093 MB / 342.9 MB, free: 3.008 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002756/0.3301, allocations: 1.125 MB / 344 MB, free: 1.879 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007976/0.3309, allocations: 128 kB / 344.1 MB, free: 1.754 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001523/0.3324, allocations: 183.9 kB / 344.3 MB, free: 1.574 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001351/0.3338, allocations: 0.623 MB / 344.9 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001449/0.3353, allocations: 448.6 kB / 345.4 MB, free: 0.5039 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004474/0.3398, allocations: 2.968 MB / 348.3 MB, free: 13.53 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/0.3398, allocations: 0 / 348.3 MB, free: 13.53 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.3398, allocations: 0 / 348.3 MB, free: 13.53 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0002083/0.34, allocations: 0 / 348.3 MB, free: 13.53 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.007321/0.3474, allocations: 2.212 MB / 350.5 MB, free: 11.26 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.591e-05/0.3474, allocations: 8.031 kB / 350.5 MB, free: 11.25 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001493/0.3489, allocations: 257.1 kB / 350.8 MB, free: 11 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003945/0.3529, allocations: 1.264 MB / 352.1 MB, free: 9.676 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001555/0.3531, allocations: 135.6 kB / 352.2 MB, free: 9.543 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007419/0.3538, allocations: 183.9 kB / 352.4 MB, free: 9.363 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007259/0.3611, allocations: 2.402 MB / 354.8 MB, free: 6.926 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00011/0.3613, allocations: 4 kB / 354.8 MB, free: 6.922 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003735/0.3616, allocations: 72 kB / 354.9 MB, free: 6.852 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001483/0.3618, allocations: 83.5 kB / 354.9 MB, free: 6.77 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005494/0.3673, allocations: 2.028 MB / 357 MB, free: 4.738 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01555/0.3829, allocations: 7.495 MB / 364.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002099/0.385, allocations: 1.28 MB / 365.7 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001676/0.3867, allocations: 0.9159 MB / 366.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002868/0.3871, allocations: 118.1 kB / 366.8 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.387e-05/0.3871, allocations: 43.56 kB / 366.8 MB, free: 10.59 MB / 302.1 MB Notification: Performance of pre-optimization done (n=84): time 4.428e-06/0.3872, allocations: 3.938 kB / 366.8 MB, free: 10.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=100): time 0.0115/0.3987, allocations: 5.045 MB / 371.9 MB, free: 5.422 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.965e-05/0.3988, allocations: 60.41 kB / 371.9 MB, free: 5.352 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003048/0.4018, allocations: 1.369 MB / 373.3 MB, free: 3.977 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001007/0.402, allocations: 41.7 kB / 373.3 MB, free: 3.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008924/0.4029, allocations: 0.8891 MB / 374.2 MB, free: 3.027 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003688/0.4032, allocations: 354.9 kB / 374.6 MB, free: 2.676 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.333e-05/0.4034, allocations: 24 kB / 374.6 MB, free: 2.652 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002006/0.4036, allocations: 349.9 kB / 374.9 MB, free: 2.305 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001169/0.4047, allocations: 0.6389 MB / 375.6 MB, free: 1.668 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001371/0.4061, allocations: 0.922 MB / 376.5 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001391/0.4075, allocations: 0.7759 MB / 377.3 MB, free: 15.84 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.15e-05/0.4076, allocations: 0 / 377.3 MB, free: 15.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004975/0.4125, allocations: 2.396 MB / 379.7 MB, free: 13.44 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.412e-05/0.4126, allocations: 11.94 kB / 379.7 MB, free: 13.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.446e-05/0.4126, allocations: 8 kB / 379.7 MB, free: 13.42 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001921/0.4146, allocations: 0.7121 MB / 380.4 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008929/0.4155, allocations: 239.7 kB / 380.6 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01187/0.4273, allocations: 7.997 MB / 388.6 MB, free: 4.199 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001701/0.4291, allocations: 88.06 kB / 388.7 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00026/0.4294, allocations: 47.98 kB / 388.8 MB, free: 4.066 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (114): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(6,77.8%) 29} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001786/0.4312, allocations: 0.6223 MB / 389.4 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005922/0.4318, allocations: 150.2 kB / 389.5 MB, free: 3.285 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003887/0.4357, allocations: 1.905 MB / 391.4 MB, free: 1.352 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-05/0.4357, allocations: 12 kB / 391.4 MB, free: 1.34 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-05/0.4357, allocations: 3.938 kB / 391.4 MB, free: 1.336 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/0.4358, allocations: 7.984 kB / 391.5 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009073/0.4448, allocations: 4.022 MB / 395.5 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.376e-05/0.4449, allocations: 4 kB / 395.5 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008976/0.4458, allocations: 183.8 kB / 395.7 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001348/0.4472, allocations: 471 kB / 396.1 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001267/0.4474, allocations: 27.97 kB / 396.1 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007528/0.4549, allocations: 6.152 MB / 402.3 MB, free: 5.977 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.455, allocations: 0 / 402.3 MB, free: 5.977 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005697/0.4607, allocations: 2.787 MB / 405.1 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001161/0.4619, allocations: 359.2 kB / 405.4 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004593/0.4623, allocations: 27.98 kB / 405.5 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/0.4634, allocations: 75.92 kB / 405.5 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000271/0.4637, allocations: 84.77 kB / 405.6 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.363e-05/0.4637, allocations: 31.98 kB / 405.7 MB, free: 2.555 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.002152/0.4659, allocations: 0.9387 MB / 406.6 MB, free: 1.613 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.625e-06/0.4659, allocations: 0 / 406.6 MB, free: 1.613 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002174/0.4681, allocations: 455.9 kB / 407 MB, free: 1.168 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (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) * 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 (84): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004138/0.4685, allocations: 139.1 kB / 407.2 MB, free: 1.02 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.004119/0.4727, allocations: 2.003 MB / 409.2 MB, free: 14.99 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.615e-06/0.4727, allocations: 3.984 kB / 409.2 MB, free: 14.99 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00228/0.475, allocations: 1.349 MB / 410.5 MB, free: 13.58 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002598/0.4776, allocations: 364.7 kB / 410.9 MB, free: 13.22 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01002/0.4876, allocations: 4.769 MB / 415.7 MB, free: 8.398 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002446/0.4901, allocations: 1.689 MB / 417.3 MB, free: 6.676 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001532/0.4917, allocations: 312 kB / 417.6 MB, free: 6.367 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005072/0.4922, allocations: 91.42 kB / 417.7 MB, free: 6.277 MB / 350.1 MB Notification: Performance of SimCode: time 1.773e-06/0.4922, allocations: 0 / 417.7 MB, free: 6.277 MB / 350.1 MB Notification: Performance of Templates: time 0.0456/0.5378, allocations: 22.1 MB / 439.8 MB, free: 144 kB / 366.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1)