Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_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.00115/0.001155, allocations: 108.4 kB / 18.4 MB, free: 4.699 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.001209/0.001209, allocations: 186.2 kB / 19.34 MB, free: 3.777 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.395/1.395, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.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.002397/0.002397, allocations: 47.94 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0993/0.1017, allocations: 46.62 MB / 375.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.2049/0.3067, allocations: 8.858 MB / 384.7 MB, free: 8.617 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006237/0.313, allocations: 2.918 MB / 387.6 MB, free: 7.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001886/0.3149, allocations: 34.59 kB / 387.6 MB, free: 7.062 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002191/0.3171, allocations: 0.6109 MB / 388.3 MB, free: 6.738 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002511/0.3197, allocations: 0.7248 MB / 389 MB, free: 6.285 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009893/0.3207, allocations: 324.4 kB / 389.3 MB, free: 6.086 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003088/0.3238, allocations: 2.398 MB / 391.7 MB, free: 4.883 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002133/0.3259, allocations: 1.708 MB / 393.4 MB, free: 4.172 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001927/0.3279, allocations: 1.061 MB / 394.5 MB, free: 3.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001924/0.3298, allocations: 1.339 MB / 395.8 MB, free: 3.039 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004164/0.3302, allocations: 278.7 kB / 396.1 MB, free: 3.039 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008537/0.3311, allocations: 372.3 kB / 396.4 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008102/0.3319, allocations: 0.8048 MB / 397.2 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001295/0.3332, allocations: 1.26 MB / 398.5 MB, free: 1.758 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004028/0.3373, allocations: 3.681 MB / 402.2 MB, free: 132 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.3373, allocations: 1.219 kB / 402.2 MB, free: 132 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.3373, allocations: 0 / 402.2 MB, free: 132 kB / 318.1 MB Notification: Performance of Transformations before backend: time 8.009e-05/0.3374, allocations: 0 / 402.2 MB, free: 132 kB / 318.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.00568/0.3431, allocations: 2.578 MB / 404.8 MB, free: 14.33 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.3431, allocations: 8.531 kB / 404.8 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008077/0.3439, allocations: 259.2 kB / 405 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002263/0.3462, allocations: 1.31 MB / 406.3 MB, free: 13.24 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/0.3463, allocations: 133.5 kB / 406.5 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002874/0.3466, allocations: 183 kB / 406.6 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004216/0.3508, allocations: 2.413 MB / 409.1 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.89e-05/0.3509, allocations: 6.719 kB / 409.1 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001885/0.3511, allocations: 75.98 kB / 409.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001063/0.3512, allocations: 88.42 kB / 409.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003604/0.3548, allocations: 2.018 MB / 411.2 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01397/0.3688, allocations: 7.367 MB / 418.6 MB, free: 4.523 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002188/0.3711, allocations: 1.272 MB / 419.9 MB, free: 3.191 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001793/0.3729, allocations: 0.9198 MB / 420.8 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002634/0.3732, allocations: 118.1 kB / 420.9 MB, free: 2.133 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/0.3732, allocations: 39.56 kB / 421 MB, free: 2.086 MB / 334.1 MB Notification: Performance of pre-optimization done (n=84): time 4.248e-06/0.3732, allocations: 0 / 421 MB, free: 2.086 MB / 334.1 MB Notification: Performance of matching and sorting (n=100): time 0.01105/0.3843, allocations: 4.998 MB / 426 MB, free: 12.97 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.3844, allocations: 64.41 kB / 426 MB, free: 12.9 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002456/0.3869, allocations: 1.38 MB / 427.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001103/0.387, allocations: 41.7 kB / 427.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007741/0.3878, allocations: 0.8931 MB / 428.3 MB, free: 10.56 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003275/0.3881, allocations: 354.9 kB / 428.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003823/0.3885, allocations: 218.8 kB / 428.9 MB, free: 9.988 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.3887, allocations: 353.9 kB / 429.2 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001027/0.3897, allocations: 0.6388 MB / 429.9 MB, free: 8.996 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001205/0.3909, allocations: 0.9181 MB / 430.8 MB, free: 7.957 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002367/0.3933, allocations: 1.646 MB / 432.4 MB, free: 6.191 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.3934, allocations: 4 kB / 432.4 MB, free: 6.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004704/0.3981, allocations: 2.394 MB / 434.8 MB, free: 3.777 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.11e-05/0.3981, allocations: 8 kB / 434.8 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.896e-05/0.3981, allocations: 8 kB / 434.9 MB, free: 3.762 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002042/0.4002, allocations: 0.7121 MB / 435.6 MB, free: 3.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.4013, allocations: 231.6 kB / 435.8 MB, free: 2.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0107/0.412, allocations: 8.756 MB / 444.5 MB, free: 9.777 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/0.4134, allocations: 79.91 kB / 444.6 MB, free: 9.699 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.309e-05/0.4135, allocations: 52.06 kB / 444.7 MB, free: 9.648 MB / 366.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 (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,1,100.0%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001082/0.4146, allocations: 0.6224 MB / 445.3 MB, free: 9.016 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000289/0.4149, allocations: 146.2 kB / 445.4 MB, free: 8.871 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003251/0.4181, allocations: 1.897 MB / 447.3 MB, free: 6.953 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.4181, allocations: 3.984 kB / 447.3 MB, free: 6.949 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.4182, allocations: 128 / 447.3 MB, free: 6.949 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006671/0.4188, allocations: 363.2 kB / 447.7 MB, free: 6.574 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002097/0.4191, allocations: 28 kB / 447.7 MB, free: 6.547 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007619/0.4198, allocations: 75.84 kB / 447.8 MB, free: 6.473 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001777/0.42, allocations: 80.86 kB / 447.9 MB, free: 6.395 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003965/0.424, allocations: 2.011 MB / 449.9 MB, free: 4.363 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003332/0.4273, allocations: 2.52 MB / 452.4 MB, free: 1.828 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009229/0.4283, allocations: 0.6909 MB / 453.1 MB, free: 1.133 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001413/0.4297, allocations: 0.9543 MB / 454.1 MB, free: 180 kB / 366.1 MB Notification: Performance of Backend: time 4.31e-07/0.4297, allocations: 0 / 454.1 MB, free: 180 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00344/0.4331, allocations: 1.578 MB / 455.6 MB, free: 14.56 MB / 382.1 MB Notification: Performance of SimCode: time 0.006826/0.44, allocations: 4.301 MB / 459.9 MB, free: 10.21 MB / 382.1 MB Notification: Performance of Templates: time 0.0449/0.4849, allocations: 26.14 MB / 486.1 MB, free: 28 kB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1)