Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_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.2.2_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.001255/0.001255, allocations: 85.73 kB / 16.31 MB, free: 6.449 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.001359/0.001359, allocations: 181 kB / 17.21 MB, free: 6.32 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.409/1.409, allocations: 205.4 MB / 223.4 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.0004463/0.0004463, allocations: 15.98 kB / 280.2 MB, free: 12.89 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2544, allocations: 47.58 MB / 327.7 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz): time 0.01323/0.2676, allocations: 11.94 MB / 339.7 MB, free: 7.539 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009304/0.277, allocations: 4.134 MB / 343.8 MB, free: 3.395 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00295/0.28, allocations: 67.69 kB / 343.9 MB, free: 3.328 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002957/0.283, allocations: 0.7418 MB / 344.6 MB, free: 2.582 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004585/0.2876, allocations: 1.064 MB / 345.7 MB, free: 1.512 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002552/0.2902, allocations: 0.6237 MB / 346.3 MB, free: 0.8867 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00663/0.2968, allocations: 4.059 MB / 350.4 MB, free: 12.81 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003923/0.3008, allocations: 2.186 MB / 352.6 MB, free: 10.58 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002566/0.3033, allocations: 1.3 MB / 353.8 MB, free: 9.277 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002818/0.3062, allocations: 1.622 MB / 355.5 MB, free: 7.648 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008956/0.3071, allocations: 208 kB / 355.7 MB, free: 7.445 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001977/0.3091, allocations: 395.8 kB / 356.1 MB, free: 7.059 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001191/0.3103, allocations: 0.7473 MB / 356.8 MB, free: 6.309 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001402/0.3117, allocations: 0.746 MB / 357.6 MB, free: 5.555 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00615/0.3179, allocations: 5.458 MB / 363 MB, free: 84 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.3179, allocations: 0 / 363 MB, free: 84 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3179, allocations: 0 / 363 MB, free: 84 kB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001741/0.3181, allocations: 0 / 363 MB, free: 84 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.00984/0.3279, allocations: 3.747 MB / 366.8 MB, free: 12.27 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.328, allocations: 8.031 kB / 366.8 MB, free: 12.26 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004569/0.3326, allocations: 0.8232 MB / 367.6 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004194/0.3368, allocations: 2.166 MB / 369.8 MB, free: 9.207 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002185/0.337, allocations: 234.5 kB / 370 MB, free: 8.977 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007478/0.3378, allocations: 327.9 kB / 370.3 MB, free: 8.656 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008722/0.3465, allocations: 4.243 MB / 374.5 MB, free: 4.359 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.199e-05/0.3466, allocations: 3.906 kB / 374.6 MB, free: 4.355 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003449/0.347, allocations: 136 kB / 374.7 MB, free: 4.223 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001879/0.3472, allocations: 154.4 kB / 374.8 MB, free: 4.07 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006923/0.3541, allocations: 3.574 MB / 378.4 MB, free: 500 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0233/0.3774, allocations: 13.95 MB / 392.4 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006982/0.3845, allocations: 6.555 MB / 398.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00271/0.3872, allocations: 1.394 MB / 400.3 MB, free: 9.379 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00724/0.3945, allocations: 3.647 MB / 404 MB, free: 5.645 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.659e-05/0.3946, allocations: 51.86 kB / 404 MB, free: 5.586 MB / 334.1 MB Notification: Performance of pre-optimization done (n=134): time 3.326e-06/0.3946, allocations: 0 / 404 MB, free: 5.586 MB / 334.1 MB Notification: Performance of matching and sorting (n=137): time 0.01271/0.4073, allocations: 5.933 MB / 409.9 MB, free: 15.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.4074, allocations: 68.72 kB / 410 MB, free: 15.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003186/0.4106, allocations: 1.772 MB / 411.8 MB, free: 13.58 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001294/0.4107, allocations: 45.7 kB / 411.8 MB, free: 13.53 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001132/0.4119, allocations: 1.434 MB / 413.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000462/0.4123, allocations: 489 kB / 413.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.4125, allocations: 40 kB / 413.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002187/0.4127, allocations: 369.9 kB / 414.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001193/0.4139, allocations: 0.6715 MB / 414.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001571/0.4155, allocations: 1.193 MB / 416 MB, free: 9.098 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00164/0.4171, allocations: 0.9042 MB / 416.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.718e-05/0.4172, allocations: 4 kB / 416.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.00486/0.422, allocations: 2.539 MB / 419.4 MB, free: 5.602 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.4221, allocations: 8 kB / 419.5 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.911e-05/0.4221, allocations: 16 kB / 419.5 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009883/0.4231, allocations: 368.1 kB / 419.8 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00141/0.4245, allocations: 375.4 kB / 420.2 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008049/0.4326, allocations: 7.67 MB / 427.9 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/0.4342, allocations: 83.95 kB / 427.9 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002228/0.4344, allocations: 76 kB / 428 MB, free: 12.48 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.002205/0.4366, allocations: 1.009 MB / 429 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005341/0.4371, allocations: 197.7 kB / 429.2 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004393/0.4416, allocations: 2.286 MB / 431.5 MB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.529e-05/0.4416, allocations: 15.95 kB / 431.5 MB, free: 8.891 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.877e-05/0.4416, allocations: 8 kB / 431.5 MB, free: 8.883 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.719e-05/0.4416, allocations: 7.969 kB / 431.5 MB, free: 8.875 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01123/0.4529, allocations: 5.063 MB / 436.6 MB, free: 3.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-05/0.4529, allocations: 4 kB / 436.6 MB, free: 3.676 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008065/0.4538, allocations: 171.8 kB / 436.8 MB, free: 3.508 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001527/0.4553, allocations: 0.5363 MB / 437.3 MB, free: 2.953 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001549/0.4555, allocations: 43.92 kB / 437.4 MB, free: 2.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01417/0.4697, allocations: 12.08 MB / 449.4 MB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/0.4697, allocations: 3.938 kB / 449.4 MB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005774/0.4755, allocations: 3.206 MB / 452.6 MB, free: 2.715 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/0.4765, allocations: 426.7 kB / 453.1 MB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004365/0.477, allocations: 32.56 kB / 453.1 MB, free: 2.246 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/0.478, allocations: 67.95 kB / 453.2 MB, free: 2.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002557/0.4783, allocations: 113.1 kB / 453.3 MB, free: 2.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.882e-05/0.4784, allocations: 39.98 kB / 453.3 MB, free: 2.031 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002195/0.4806, allocations: 1.203 MB / 454.5 MB, free: 0.8359 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4806, allocations: 0 / 454.5 MB, free: 0.8359 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002575/0.4832, allocations: 0.586 MB / 455.1 MB, free: 256 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.000372/0.4836, allocations: 163.1 kB / 455.3 MB, free: 84 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.1763/0.6599, allocations: 2.353 MB / 457.6 MB, free: 109.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.371e-06/0.6599, allocations: 3.891 kB / 457.6 MB, free: 109.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002339/0.6623, allocations: 1.741 MB / 459.4 MB, free: 109 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00245/0.6647, allocations: 0.5133 MB / 459.9 MB, free: 108.9 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01/0.6748, allocations: 7.059 MB / 466.9 MB, free: 105 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001629/0.6764, allocations: 2.312 MB / 469.2 MB, free: 104 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001569/0.678, allocations: 399.8 kB / 469.6 MB, free: 103.9 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003014/0.6783, allocations: 120.8 kB / 469.7 MB, free: 103.9 MB / 382.1 MB Notification: Performance of SimCode: time 1.793e-06/0.6783, allocations: 0 / 469.7 MB, free: 103.9 MB / 382.1 MB Notification: Performance of Templates: time 0.04017/0.7185, allocations: 27.53 MB / 497.3 MB, free: 78.54 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe 2>&1)