Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.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.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 110.3 kB / 17.06 MB, free: 6.137 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.001494/0.001494, allocations: 191 kB / 18 MB, free: 5.219 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.847/1.847, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.001911/0.001911, allocations: 47.92 kB / 327.9 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1702, allocations: 46.62 MB / 374.5 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.3103/0.4806, allocations: 9.637 MB / 384.1 MB, free: 8.129 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008527/0.4892, allocations: 3.069 MB / 387.2 MB, free: 6.406 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003147/0.4924, allocations: 41.25 kB / 387.3 MB, free: 6.395 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003299/0.4958, allocations: 0.6671 MB / 387.9 MB, free: 6.031 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004847/0.5007, allocations: 0.7798 MB / 388.7 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001902/0.5026, allocations: 379.4 kB / 389.1 MB, free: 5.297 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005102/0.5078, allocations: 2.452 MB / 391.5 MB, free: 4.066 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002568/0.5104, allocations: 1.725 MB / 393.2 MB, free: 3.332 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002475/0.5128, allocations: 1.08 MB / 394.3 MB, free: 2.812 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002757/0.5156, allocations: 1.307 MB / 395.6 MB, free: 2.191 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006264/0.5163, allocations: 280.3 kB / 395.9 MB, free: 2.191 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001303/0.5176, allocations: 367.3 kB / 396.3 MB, free: 2.168 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009653/0.5186, allocations: 0.7819 MB / 397 MB, free: 1.73 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00229/0.5209, allocations: 1.267 MB / 398.3 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005463/0.5263, allocations: 3.641 MB / 402 MB, free: 15.19 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.061e-05/0.5264, allocations: 1.188 kB / 402 MB, free: 15.19 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.5264, allocations: 0 / 402 MB, free: 15.19 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001348/0.5265, allocations: 0 / 402 MB, free: 15.19 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.007254/0.5338, allocations: 2.58 MB / 404.5 MB, free: 13.38 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.515e-05/0.5339, allocations: 13.77 kB / 404.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/0.5349, allocations: 266.7 kB / 404.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002588/0.5375, allocations: 1.272 MB / 406.1 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001486/0.5377, allocations: 140.4 kB / 406.2 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004223/0.5381, allocations: 197.3 kB / 406.4 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005789/0.5439, allocations: 2.42 MB / 408.8 MB, free: 10.74 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.999e-05/0.544, allocations: 6.312 kB / 408.8 MB, free: 10.74 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001973/0.5442, allocations: 81.42 kB / 408.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000132/0.5444, allocations: 91.95 kB / 409 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003803/0.5482, allocations: 1.959 MB / 411 MB, free: 9.664 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01578/0.564, allocations: 7.76 MB / 418.7 MB, free: 3.004 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002116/0.5661, allocations: 1.234 MB / 420 MB, free: 1.719 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001993/0.5682, allocations: 0.9644 MB / 420.9 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002986/0.5685, allocations: 123.2 kB / 421 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.237e-05/0.5686, allocations: 43.5 kB / 421.1 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of pre-optimization done (n=95): time 3.948e-06/0.5686, allocations: 0 / 421.1 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of matching and sorting (n=111): time 0.01474/0.5833, allocations: 5.859 MB / 427 MB, free: 10.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/0.5834, allocations: 64.41 kB / 427 MB, free: 10.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002895/0.5863, allocations: 1.306 MB / 428.3 MB, free: 9.184 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001776/0.5865, allocations: 45.7 kB / 428.4 MB, free: 9.133 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008191/0.5873, allocations: 0.9237 MB / 429.3 MB, free: 8.195 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004513/0.5878, allocations: 390.4 kB / 429.7 MB, free: 7.809 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004883/0.5883, allocations: 251.4 kB / 429.9 MB, free: 7.559 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.5885, allocations: 357.9 kB / 430.3 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001166/0.5897, allocations: 0.6403 MB / 430.9 MB, free: 6.562 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00146/0.5911, allocations: 1.008 MB / 431.9 MB, free: 5.402 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002713/0.5939, allocations: 1.727 MB / 433.6 MB, free: 3.523 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.577e-05/0.5939, allocations: 4 kB / 433.6 MB, free: 3.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004493/0.5984, allocations: 2.245 MB / 435.9 MB, free: 1.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.579e-05/0.5985, allocations: 8 kB / 435.9 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.661e-05/0.5985, allocations: 12 kB / 435.9 MB, free: 1.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001383/0.5999, allocations: 496.7 kB / 436.4 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/0.6011, allocations: 311.5 kB / 436.7 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008439/0.6095, allocations: 7.116 MB / 443.8 MB, free: 8.891 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001718/0.6113, allocations: 79.91 kB / 443.9 MB, free: 8.812 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002878/0.6116, allocations: 56 kB / 443.9 MB, free: 8.758 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001831/0.6134, allocations: 0.6073 MB / 444.6 MB, free: 8.141 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006898/0.6141, allocations: 146.2 kB / 444.7 MB, free: 7.996 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004074/0.6182, allocations: 1.972 MB / 446.7 MB, free: 5.992 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/0.6183, allocations: 8 kB / 446.7 MB, free: 5.984 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.841e-05/0.6183, allocations: 8 kB / 446.7 MB, free: 5.977 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-05/0.6183, allocations: 7.969 kB / 446.7 MB, free: 5.969 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01017/0.6285, allocations: 4.125 MB / 450.8 MB, free: 1.754 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-05/0.6285, allocations: 7.984 kB / 450.8 MB, free: 1.746 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009258/0.6295, allocations: 180 kB / 451 MB, free: 1.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001962/0.6315, allocations: 0.5428 MB / 451.5 MB, free: 1.012 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001676/0.6317, allocations: 35.92 kB / 451.6 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01154/0.6432, allocations: 8.75 MB / 460.3 MB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-05/0.6433, allocations: 11.92 kB / 460.3 MB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006219/0.6495, allocations: 2.847 MB / 463.2 MB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0015/0.6511, allocations: 347.3 kB / 463.5 MB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006774/0.6518, allocations: 35.98 kB / 463.6 MB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/0.6531, allocations: 72 kB / 463.6 MB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003361/0.6534, allocations: 92.75 kB / 463.7 MB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/0.6536, allocations: 31.98 kB / 463.8 MB, free: 4.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002194/0.6558, allocations: 0.8878 MB / 464.6 MB, free: 3.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6558, allocations: 0 / 464.6 MB, free: 3.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002689/0.6585, allocations: 440 kB / 465.1 MB, free: 2.84 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,1,100.0%), (2,8,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006346/0.6591, allocations: 190.2 kB / 465.3 MB, free: 2.645 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004411/0.6635, allocations: 2.228 MB / 467.5 MB, free: 340 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.6636, allocations: 0 / 467.5 MB, free: 340 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002936/0.6665, allocations: 1.498 MB / 469 MB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004088/0.6706, allocations: 415.5 kB / 469.4 MB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0101/0.6808, allocations: 4.11 MB / 473.5 MB, free: 10.19 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002509/0.6833, allocations: 1.646 MB / 475.1 MB, free: 8.516 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001479/0.6848, allocations: 320.8 kB / 475.5 MB, free: 8.195 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005018/0.6854, allocations: 103.4 kB / 475.6 MB, free: 8.094 MB / 398.1 MB Notification: Performance of SimCode: time 7.01e-07/0.6854, allocations: 0 / 475.6 MB, free: 8.094 MB / 398.1 MB Notification: Performance of Templates: time 0.05224/0.7376, allocations: 24.1 MB / 499.7 MB, free: 15.95 MB / 430.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1)