Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.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_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001187, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001339/0.001339, allocations: 168.7 kB / 15.95 MB, free: 204 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.728/1.728, allocations: 205.4 MB / 222.1 MB, free: 5.383 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.0004633/0.0004635, allocations: 12 kB / 278.9 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2712, allocations: 47.59 MB / 326.5 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz): time 0.01336/0.2846, allocations: 11.94 MB / 338.4 MB, free: 7.516 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009711/0.2944, allocations: 4.13 MB / 342.6 MB, free: 3.375 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002633/0.297, allocations: 67.69 kB / 342.6 MB, free: 3.309 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003217/0.3003, allocations: 0.7457 MB / 343.4 MB, free: 2.559 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004452/0.3047, allocations: 1.061 MB / 344.4 MB, free: 1.492 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002521/0.3073, allocations: 0.6236 MB / 345 MB, free: 0.8672 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.006473/0.3138, allocations: 4.063 MB / 349.1 MB, free: 12.79 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004341/0.3181, allocations: 2.182 MB / 351.3 MB, free: 10.56 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002592/0.3208, allocations: 1.304 MB / 352.6 MB, free: 9.254 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003171/0.3239, allocations: 1.611 MB / 354.2 MB, free: 7.637 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001025/0.325, allocations: 212 kB / 354.4 MB, free: 7.43 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001835/0.3268, allocations: 399.8 kB / 354.8 MB, free: 7.039 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001258/0.3281, allocations: 0.7473 MB / 355.6 MB, free: 6.289 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00147/0.3296, allocations: 0.7421 MB / 356.3 MB, free: 5.539 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007248/0.3369, allocations: 5.462 MB / 361.8 MB, free: 64 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.3369, allocations: 0 / 361.8 MB, free: 64 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.431e-05/0.3369, allocations: 0 / 361.8 MB, free: 64 kB / 286.1 MB Notification: Performance of Transformations before backend: time 0.000262/0.3372, allocations: 7.938 kB / 361.8 MB, free: 56 kB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.01077/0.348, allocations: 3.735 MB / 365.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.348, allocations: 12.03 kB / 365.5 MB, free: 12.24 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004652/0.3527, allocations: 0.8232 MB / 366.3 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004942/0.3576, allocations: 2.159 MB / 368.5 MB, free: 9.195 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000283/0.3579, allocations: 238.5 kB / 368.7 MB, free: 8.961 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001008/0.359, allocations: 323.9 kB / 369 MB, free: 8.645 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01067/0.3697, allocations: 4.243 MB / 373.3 MB, free: 4.348 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000135/0.3698, allocations: 7.906 kB / 373.3 MB, free: 4.34 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007118/0.3705, allocations: 135.9 kB / 373.4 MB, free: 4.207 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002043/0.3708, allocations: 154.4 kB / 373.6 MB, free: 4.055 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008015/0.3788, allocations: 3.578 MB / 377.2 MB, free: 480 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02459/0.4034, allocations: 13.94 MB / 391.1 MB, free: 2.152 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006632/0.4101, allocations: 6.563 MB / 397.7 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002429/0.4125, allocations: 1.39 MB / 399 MB, free: 9.367 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006737/0.4193, allocations: 3.655 MB / 402.7 MB, free: 5.625 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.233e-05/0.4194, allocations: 43.88 kB / 402.7 MB, free: 5.574 MB / 334.1 MB Notification: Performance of pre-optimization done (n=134): time 3.366e-06/0.4194, allocations: 3.938 kB / 402.7 MB, free: 5.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=137): time 0.01249/0.4319, allocations: 5.945 MB / 408.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.432, allocations: 64.72 kB / 408.8 MB, free: 15.33 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003588/0.4356, allocations: 1.776 MB / 410.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001079/0.4357, allocations: 49.7 kB / 410.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001102/0.4368, allocations: 1.43 MB / 412 MB, free: 12.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003997/0.4372, allocations: 485 kB / 412.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.4373, allocations: 40 kB / 412.5 MB, free: 11.53 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.4375, allocations: 369.9 kB / 412.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001164/0.4387, allocations: 0.6754 MB / 413.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001524/0.4402, allocations: 1.194 MB / 414.8 MB, free: 9.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001483/0.4417, allocations: 0.9042 MB / 415.7 MB, free: 8.164 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.317e-05/0.4418, allocations: 4 kB / 415.7 MB, free: 8.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004359/0.4461, allocations: 2.527 MB / 418.2 MB, free: 5.586 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.112e-05/0.4462, allocations: 16.06 kB / 418.2 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.057e-05/0.4462, allocations: 16 kB / 418.2 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009541/0.4472, allocations: 364 kB / 418.6 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/0.4485, allocations: 379.4 kB / 418.9 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007685/0.4562, allocations: 7.67 MB / 426.6 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/0.4577, allocations: 83.91 kB / 426.7 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002017/0.4579, allocations: 75.98 kB / 426.8 MB, free: 12.46 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 187 * 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: 4 * 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: 4 {(1,100.0%) 7,(2,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002304/0.4603, allocations: 1.012 MB / 427.8 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005145/0.4608, allocations: 189.7 kB / 428 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004172/0.465, allocations: 2.286 MB / 430.3 MB, free: 8.887 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.133e-05/0.465, allocations: 19.94 kB / 430.3 MB, free: 8.867 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.726e-05/0.465, allocations: 8 kB / 430.3 MB, free: 8.859 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.609e-05/0.4651, allocations: 7.984 kB / 430.3 MB, free: 8.852 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008776/0.4738, allocations: 5.071 MB / 435.4 MB, free: 3.648 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.4739, allocations: 0 / 435.4 MB, free: 3.648 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007557/0.4746, allocations: 175.8 kB / 435.5 MB, free: 3.477 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001351/0.476, allocations: 0.536 MB / 436.1 MB, free: 2.922 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001181/0.4761, allocations: 35.98 kB / 436.1 MB, free: 2.887 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01132/0.4874, allocations: 12.07 MB / 448.2 MB, free: 6 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.4875, allocations: 3.938 kB / 448.2 MB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005075/0.4926, allocations: 3.214 MB / 451.4 MB, free: 2.688 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001162/0.4938, allocations: 422.7 kB / 451.8 MB, free: 2.254 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006105/0.4944, allocations: 35.98 kB / 451.8 MB, free: 2.219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/0.4955, allocations: 67.95 kB / 451.9 MB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003027/0.4959, allocations: 113.1 kB / 452 MB, free: 2.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/0.496, allocations: 36 kB / 452.1 MB, free: 2.008 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002645/0.4986, allocations: 1.211 MB / 453.3 MB, free: 0.8047 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4986, allocations: 0 / 453.3 MB, free: 0.8047 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003423/0.5021, allocations: 0.5782 MB / 453.8 MB, free: 232 kB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * 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): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 7,(2,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004148/0.5025, allocations: 159 kB / 454 MB, free: 64 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.1905/0.693, allocations: 2.35 MB / 456.4 MB, free: 109.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.063e-05/0.693, allocations: 4.375 kB / 456.4 MB, free: 109.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002623/0.6957, allocations: 1.742 MB / 458.1 MB, free: 108.9 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002971/0.6987, allocations: 0.5185 MB / 458.6 MB, free: 108.9 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01081/0.7095, allocations: 7.062 MB / 465.7 MB, free: 105 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001726/0.7113, allocations: 2.302 MB / 468 MB, free: 103.9 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001487/0.7128, allocations: 401.9 kB / 468.4 MB, free: 103.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002828/0.7131, allocations: 121.9 kB / 468.5 MB, free: 103.8 MB / 382.1 MB Notification: Performance of SimCode: time 1.503e-06/0.7131, allocations: 0 / 468.5 MB, free: 103.8 MB / 382.1 MB Notification: Performance of Templates: time 0.04229/0.7554, allocations: 27.53 MB / 496 MB, free: 78.53 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.sim & ./Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe 2>&1)