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.001062/0.001062, allocations: 90.95 kB / 16.65 MB, free: 6.586 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.001169/0.00117, allocations: 181.9 kB / 17.56 MB, free: 6.203 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.906/1.906, allocations: 205.4 MB / 223.7 MB, free: 13.08 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.0005709/0.0005707, allocations: 12 kB / 280.7 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1163, allocations: 47.58 MB / 328.3 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.01135/0.1277, allocations: 9.054 MB / 337.4 MB, free: 10.65 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007916/0.1357, allocations: 3.016 MB / 340.4 MB, free: 7.617 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002968/0.1388, allocations: 39.81 kB / 340.4 MB, free: 7.578 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002681/0.1415, allocations: 0.54 MB / 341 MB, free: 7.035 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003507/0.145, allocations: 0.6682 MB / 341.6 MB, free: 6.363 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.1461, allocations: 335.6 kB / 342 MB, free: 6.035 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004751/0.1509, allocations: 2.756 MB / 344.7 MB, free: 3.262 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002223/0.1531, allocations: 1.39 MB / 346.1 MB, free: 1.832 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002048/0.1552, allocations: 0.8401 MB / 347 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002188/0.1574, allocations: 1.132 MB / 348.1 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003651/0.1578, allocations: 127.9 kB / 348.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008287/0.1586, allocations: 223.8 kB / 348.4 MB, free: 15.51 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006757/0.1593, allocations: 0.5995 MB / 349 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001396/0.1607, allocations: 1.086 MB / 350.1 MB, free: 13.81 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004047/0.1648, allocations: 3.414 MB / 353.5 MB, free: 10.38 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.1648, allocations: 0 / 353.5 MB, free: 10.38 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.326e-06/0.1648, allocations: 0 / 353.5 MB, free: 10.38 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.38e-05/0.1649, allocations: 0 / 353.5 MB, free: 10.38 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.005068/0.17, allocations: 2.182 MB / 355.7 MB, free: 8.145 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.17, allocations: 12.03 kB / 355.7 MB, free: 8.133 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008433/0.1709, allocations: 266.1 kB / 356 MB, free: 7.871 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00231/0.1732, allocations: 1.256 MB / 357.2 MB, free: 6.559 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/0.1734, allocations: 144.1 kB / 357.4 MB, free: 6.418 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003192/0.1737, allocations: 192 kB / 357.6 MB, free: 6.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004619/0.1783, allocations: 2.426 MB / 360 MB, free: 3.766 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.074e-05/0.1784, allocations: 7.906 kB / 360 MB, free: 3.758 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000173/0.1786, allocations: 83.88 kB / 360.1 MB, free: 3.676 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001115/0.1787, allocations: 91.67 kB / 360.2 MB, free: 3.586 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00357/0.1823, allocations: 1.966 MB / 362.1 MB, free: 1.617 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01526/0.1976, allocations: 7.898 MB / 370 MB, free: 9.477 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001866/0.1995, allocations: 1.223 MB / 371.3 MB, free: 8.207 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00182/0.2013, allocations: 0.9566 MB / 372.2 MB, free: 7.246 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002524/0.2016, allocations: 126 kB / 372.3 MB, free: 7.105 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.298e-05/0.2017, allocations: 43.56 kB / 372.4 MB, free: 7.051 MB / 318.1 MB Notification: Performance of pre-optimization done (n=95): time 2.675e-06/0.2017, allocations: 0 / 372.4 MB, free: 7.051 MB / 318.1 MB Notification: Performance of matching and sorting (n=111): time 0.01406/0.2157, allocations: 5.925 MB / 378.3 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.873e-05/0.2158, allocations: 68.41 kB / 378.4 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.231/0.4468, allocations: 1.301 MB / 379.7 MB, free: 39.17 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003728/0.4473, allocations: 44.2 kB / 379.7 MB, free: 39.14 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001133/0.4484, allocations: 0.9216 MB / 380.6 MB, free: 38.98 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005839/0.449, allocations: 388.3 kB / 381 MB, free: 38.78 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002682/0.4493, allocations: 114.1 kB / 381.1 MB, free: 38.77 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.4495, allocations: 359.1 kB / 381.5 MB, free: 38.46 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00146/0.451, allocations: 0.6396 MB / 382.1 MB, free: 38.46 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001652/0.4526, allocations: 1.005 MB / 383.1 MB, free: 38.05 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002934/0.4556, allocations: 1.738 MB / 384.9 MB, free: 37.66 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.669e-05/0.4556, allocations: 3.516 kB / 384.9 MB, free: 37.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005063/0.4607, allocations: 2.256 MB / 387.1 MB, free: 37.48 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.44e-05/0.4608, allocations: 10.52 kB / 387.1 MB, free: 37.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.561e-05/0.4608, allocations: 12.89 kB / 387.2 MB, free: 37.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001408/0.4622, allocations: 494.9 kB / 387.6 MB, free: 37.44 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.4635, allocations: 310.1 kB / 387.9 MB, free: 37.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007873/0.4714, allocations: 6.534 MB / 394.5 MB, free: 32.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001793/0.4732, allocations: 85.53 kB / 394.6 MB, free: 32.71 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001874/0.4735, allocations: 57.06 kB / 394.6 MB, free: 32.7 MB / 318.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.001605/0.4751, allocations: 0.6038 MB / 395.2 MB, free: 32.36 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006796/0.4758, allocations: 152.4 kB / 395.4 MB, free: 32.28 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004501/0.4803, allocations: 1.967 MB / 397.3 MB, free: 31.5 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.532e-05/0.4803, allocations: 14.47 kB / 397.3 MB, free: 31.5 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.119e-05/0.4804, allocations: 7.656 kB / 397.4 MB, free: 31.49 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.835e-05/0.4804, allocations: 5.609 kB / 397.4 MB, free: 31.49 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01134/0.4917, allocations: 4.137 MB / 401.5 MB, free: 29.78 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.801e-05/0.4918, allocations: 3.562 kB / 401.5 MB, free: 29.78 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009145/0.4928, allocations: 183.5 kB / 401.7 MB, free: 29.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001716/0.4945, allocations: 0.5414 MB / 402.2 MB, free: 29.61 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001267/0.4947, allocations: 31.7 kB / 402.3 MB, free: 29.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007704/0.5024, allocations: 8.051 MB / 410.3 MB, free: 23.16 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.5024, allocations: 3.75 kB / 410.3 MB, free: 23.16 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004424/0.5069, allocations: 2.859 MB / 413.2 MB, free: 20.77 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009589/0.5079, allocations: 363.1 kB / 413.5 MB, free: 20.39 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004082/0.5083, allocations: 23.98 kB / 413.5 MB, free: 20.37 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001054/0.5094, allocations: 75.92 kB / 413.6 MB, free: 20.3 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002776/0.5097, allocations: 87.59 kB / 413.7 MB, free: 20.21 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.568e-05/0.5098, allocations: 32 kB / 413.7 MB, free: 20.18 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001577/0.5114, allocations: 0.8844 MB / 414.6 MB, free: 19.3 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5114, allocations: 4 kB / 414.6 MB, free: 19.29 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002245/0.5136, allocations: 439.6 kB / 415.1 MB, free: 18.87 MB / 318.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.0004499/0.5141, allocations: 188.9 kB / 415.2 MB, free: 18.68 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003531/0.5176, allocations: 2.236 MB / 417.5 MB, free: 16.41 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.5177, allocations: 2.906 kB / 417.5 MB, free: 16.41 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002001/0.5197, allocations: 1.519 MB / 419 MB, free: 14.85 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002913/0.5226, allocations: 388.8 kB / 419.4 MB, free: 14.47 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007371/0.53, allocations: 5.135 MB / 424.5 MB, free: 9.293 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001472/0.5315, allocations: 1.646 MB / 426.2 MB, free: 7.613 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001222/0.5327, allocations: 320.8 kB / 426.5 MB, free: 7.293 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003813/0.5331, allocations: 102.3 kB / 426.6 MB, free: 7.195 MB / 318.1 MB Notification: Performance of SimCode: time 1.283e-06/0.5332, allocations: 0 / 426.6 MB, free: 7.195 MB / 318.1 MB Notification: Performance of Templates: time 0.04537/0.5785, allocations: 22.49 MB / 449.1 MB, free: 0.7461 MB / 334.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)