Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 93.88 kB / 16.3 MB, free: 6.457 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.00164/0.00164, allocations: 182 kB / 17.2 MB, free: 6.34 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.435/1.435, allocations: 205.4 MB / 223.3 MB, free: 13.17 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.0004448/0.0004449, allocations: 12 kB / 280.1 MB, free: 3.746 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08268/0.08314, allocations: 47.59 MB / 327.7 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize): time 0.01155/0.09472, allocations: 10.3 MB / 338 MB, free: 9.746 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009044/0.1038, allocations: 4.085 MB / 342.1 MB, free: 5.648 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002004/0.1059, allocations: 63.75 kB / 342.2 MB, free: 5.586 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003251/0.1092, allocations: 0.7462 MB / 342.9 MB, free: 4.836 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004508/0.1137, allocations: 1.114 MB / 344 MB, free: 3.719 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002093/0.1158, allocations: 0.5846 MB / 344.6 MB, free: 3.133 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00566/0.1215, allocations: 2.761 MB / 347.4 MB, free: 372 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003198/0.1247, allocations: 2.181 MB / 349.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001927/0.1267, allocations: 1.242 MB / 350.8 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002139/0.1288, allocations: 1.482 MB / 352.3 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003833/0.1292, allocations: 204 kB / 352.5 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001089/0.1303, allocations: 375.8 kB / 352.8 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007036/0.131, allocations: 0.7359 MB / 353.6 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007737/0.1318, allocations: 0.7382 MB / 354.3 MB, free: 9.359 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005061/0.1369, allocations: 5.481 MB / 359.8 MB, free: 3.863 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.1369, allocations: 0 / 359.8 MB, free: 3.863 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1369, allocations: 0 / 359.8 MB, free: 3.863 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001377/0.1371, allocations: 0 / 359.8 MB, free: 3.863 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.009187/0.1463, allocations: 3.743 MB / 363.5 MB, free: 48 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.1463, allocations: 12.03 kB / 363.5 MB, free: 36 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004525/0.1509, allocations: 0.8194 MB / 364.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004505/0.1554, allocations: 2.21 MB / 366.6 MB, free: 12.94 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001911/0.1556, allocations: 242.2 kB / 366.8 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000651/0.1563, allocations: 319.9 kB / 367.1 MB, free: 12.39 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008102/0.1644, allocations: 4.203 MB / 371.3 MB, free: 8.137 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.197e-05/0.1645, allocations: 7.906 kB / 371.3 MB, free: 8.129 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003496/0.1649, allocations: 131.8 kB / 371.5 MB, free: 8.004 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001715/0.1651, allocations: 146.2 kB / 371.6 MB, free: 7.859 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007099/0.1722, allocations: 3.651 MB / 375.3 MB, free: 4.199 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1728/0.345, allocations: 13.51 MB / 388.8 MB, free: 42.45 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006311/0.3513, allocations: 6.869 MB / 395.6 MB, free: 36.23 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005874/0.3573, allocations: 3.22 MB / 398.9 MB, free: 34.19 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.122e-05/0.3573, allocations: 53.28 kB / 398.9 MB, free: 34.13 MB / 318.1 MB Notification: Performance of pre-optimization done (n=130): time 3.066e-06/0.3573, allocations: 0 / 398.9 MB, free: 34.13 MB / 318.1 MB Notification: Performance of matching and sorting (n=150): time 0.01259/0.3699, allocations: 6.757 MB / 405.7 MB, free: 29.92 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.37, allocations: 72.47 kB / 405.7 MB, free: 29.85 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002108/0.3721, allocations: 1.798 MB / 407.5 MB, free: 28.88 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001236/0.3723, allocations: 49.58 kB / 407.6 MB, free: 28.83 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006971/0.373, allocations: 1.405 MB / 409 MB, free: 27.6 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003086/0.3733, allocations: 0.5108 MB / 409.5 MB, free: 27.16 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.971e-05/0.3734, allocations: 38.81 kB / 409.5 MB, free: 27.13 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.397e-05/0.3735, allocations: 377.6 kB / 409.9 MB, free: 26.77 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/0.3745, allocations: 0.7851 MB / 410.7 MB, free: 26.36 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/0.3756, allocations: 1.222 MB / 411.9 MB, free: 25.37 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/0.3769, allocations: 1.001 MB / 412.9 MB, free: 24.82 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.174e-06/0.3769, allocations: 3.75 kB / 412.9 MB, free: 24.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.003802/0.3807, allocations: 2.69 MB / 415.6 MB, free: 23.22 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/0.3807, allocations: 12 kB / 415.6 MB, free: 23.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.1e-05/0.3808, allocations: 12.28 kB / 415.6 MB, free: 23.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001182/0.382, allocations: 0.5038 MB / 416.1 MB, free: 22.69 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/0.3834, allocations: 403.4 kB / 416.5 MB, free: 22.29 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006738/0.3902, allocations: 6.526 MB / 423 MB, free: 15.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/0.3916, allocations: 84.11 kB / 423.1 MB, free: 15.42 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001779/0.3918, allocations: 75.98 kB / 423.2 MB, free: 15.34 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (184): * Single equations (assignments): 182 * 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,(8,56.2%) 30} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001664/0.3935, allocations: 1.045 MB / 424.3 MB, free: 14.29 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004204/0.3939, allocations: 193.7 kB / 424.4 MB, free: 14.1 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003835/0.3978, allocations: 2.573 MB / 427 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.3978, allocations: 16 kB / 427 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-05/0.3978, allocations: 8 kB / 427 MB, free: 11.44 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.463e-05/0.3978, allocations: 3.984 kB / 427 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008183/0.406, allocations: 5.593 MB / 432.6 MB, free: 5.738 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/0.4061, allocations: 4 kB / 432.6 MB, free: 5.734 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/0.4071, allocations: 239.5 kB / 432.9 MB, free: 5.504 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001109/0.4082, allocations: 497.9 kB / 433.4 MB, free: 5.004 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/0.4083, allocations: 31.98 kB / 433.4 MB, free: 4.973 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009551/0.4179, allocations: 10.57 MB / 444 MB, free: 9.762 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.488e-06/0.418, allocations: 7.969 kB / 444 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006157/0.4241, allocations: 3.744 MB / 447.7 MB, free: 5.895 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001212/0.4254, allocations: 462.5 kB / 448.2 MB, free: 5.422 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006622/0.4261, allocations: 39.78 kB / 448.2 MB, free: 5.387 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001293/0.4274, allocations: 75.95 kB / 448.3 MB, free: 5.312 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003116/0.4277, allocations: 117.1 kB / 448.4 MB, free: 5.195 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/0.4278, allocations: 43.98 kB / 448.4 MB, free: 5.152 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.002174/0.43, allocations: 1.239 MB / 449.7 MB, free: 3.922 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.43, allocations: 0 / 449.7 MB, free: 3.922 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00248/0.4325, allocations: 0.582 MB / 450.3 MB, free: 3.34 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.strayReluctance.Phi.re,aimc.stator.strayReluctance.Phi.im,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 (108): * Single equations (assignments): 103 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 12,(1,100.0%) 12,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003777/0.4329, allocations: 164.6 kB / 450.4 MB, free: 3.176 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.004463/0.4374, allocations: 2.434 MB / 452.8 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.4374, allocations: 4.375 kB / 452.9 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002888/0.4403, allocations: 1.773 MB / 454.6 MB, free: 14.88 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002442/0.4428, allocations: 488.4 kB / 455.1 MB, free: 14.4 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01252/0.4553, allocations: 7.194 MB / 462.3 MB, free: 7.168 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002852/0.4582, allocations: 2.421 MB / 464.7 MB, free: 4.715 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.00184/0.4601, allocations: 425 kB / 465.1 MB, free: 4.297 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004794/0.4606, allocations: 127.4 kB / 465.3 MB, free: 4.172 MB / 350.1 MB Notification: Performance of SimCode: time 1.113e-06/0.4606, allocations: 3.938 kB / 465.3 MB, free: 4.168 MB / 350.1 MB Notification: Performance of Templates: time 0.05078/0.5114, allocations: 28.29 MB / 493.6 MB, free: 7.852 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.pipe 2>&1) Environment - environmentSimulation: