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.001652/0.001652, allocations: 112.6 kB / 16.63 MB, free: 6.812 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.001637/0.001636, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.802/1.802, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.002365/0.002366, allocations: 43.94 kB / 279.5 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1505, allocations: 46.63 MB / 326.1 MB, free: 4.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.01421/0.1647, allocations: 9.587 MB / 335.7 MB, free: 11.14 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008313/0.1731, allocations: 3.023 MB / 338.8 MB, free: 8.105 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003128/0.1763, allocations: 39.81 kB / 338.8 MB, free: 8.066 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003575/0.18, allocations: 0.5478 MB / 339.3 MB, free: 7.516 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00472/0.1848, allocations: 0.6837 MB / 340 MB, free: 6.828 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00156/0.1863, allocations: 323.7 kB / 340.3 MB, free: 6.512 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004718/0.1911, allocations: 2.452 MB / 342.8 MB, free: 4.043 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003049/0.1941, allocations: 1.719 MB / 344.5 MB, free: 2.285 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002613/0.1968, allocations: 1.086 MB / 345.6 MB, free: 1.195 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003097/0.1999, allocations: 1.331 MB / 346.9 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001172/0.2011, allocations: 280 kB / 347.2 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002146/0.2032, allocations: 375.8 kB / 347.6 MB, free: 15.22 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001564/0.2048, allocations: 0.7713 MB / 348.3 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002269/0.2071, allocations: 1.272 MB / 349.6 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00446/0.2116, allocations: 3.606 MB / 353.2 MB, free: 9.551 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.257e-06/0.2116, allocations: 0 / 353.2 MB, free: 9.551 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.2116, allocations: 0 / 353.2 MB, free: 9.551 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001071/0.2117, allocations: 0 / 353.2 MB, free: 9.551 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.007025/0.2188, allocations: 2.583 MB / 355.8 MB, free: 6.91 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.437e-05/0.2189, allocations: 11.89 kB / 355.8 MB, free: 6.898 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008263/0.2197, allocations: 262.1 kB / 356.1 MB, free: 6.641 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003047/0.2227, allocations: 1.264 MB / 357.3 MB, free: 5.32 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001897/0.223, allocations: 140.2 kB / 357.5 MB, free: 5.184 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004317/0.2234, allocations: 200 kB / 357.7 MB, free: 4.988 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005003/0.2284, allocations: 2.422 MB / 360.1 MB, free: 2.527 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.7e-05/0.2285, allocations: 11.84 kB / 360.1 MB, free: 2.516 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001975/0.2287, allocations: 83.97 kB / 360.2 MB, free: 2.434 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001083/0.2288, allocations: 87.69 kB / 360.3 MB, free: 2.348 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003674/0.2325, allocations: 1.959 MB / 362.2 MB, free: 396 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01569/0.2482, allocations: 7.851 MB / 370.1 MB, free: 8.293 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001959/0.2503, allocations: 1.223 MB / 371.3 MB, free: 7.027 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001864/0.2522, allocations: 0.9333 MB / 372.2 MB, free: 6.09 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003297/0.2525, allocations: 130 kB / 372.4 MB, free: 5.945 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.225e-05/0.2526, allocations: 43.56 kB / 372.4 MB, free: 5.891 MB / 318.1 MB Notification: Performance of pre-optimization done (n=95): time 7.033e-06/0.2526, allocations: 0 / 372.4 MB, free: 5.891 MB / 318.1 MB Notification: Performance of matching and sorting (n=111): time 0.3162/0.5688, allocations: 5.867 MB / 378.3 MB, free: 52.02 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.654e-05/0.5689, allocations: 70.27 kB / 378.3 MB, free: 51.96 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003118/0.5721, allocations: 1.304 MB / 379.6 MB, free: 51.64 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003568/0.5724, allocations: 42.33 kB / 379.7 MB, free: 51.59 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001065/0.5735, allocations: 0.9161 MB / 380.6 MB, free: 51.15 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005767/0.5741, allocations: 391 kB / 381 MB, free: 50.89 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006284/0.5747, allocations: 248.9 kB / 381.2 MB, free: 50.77 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.5749, allocations: 363.8 kB / 381.6 MB, free: 50.45 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001374/0.5763, allocations: 0.6372 MB / 382.2 MB, free: 50.22 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001496/0.5778, allocations: 1.002 MB / 383.2 MB, free: 49.57 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002729/0.5806, allocations: 1.736 MB / 385 MB, free: 48.58 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.869e-06/0.5806, allocations: 3.281 kB / 385 MB, free: 48.58 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004927/0.5855, allocations: 2.241 MB / 387.2 MB, free: 47.7 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.325e-05/0.5856, allocations: 9.438 kB / 387.2 MB, free: 47.7 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-05/0.5856, allocations: 13.97 kB / 387.2 MB, free: 47.7 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00162/0.5873, allocations: 498.8 kB / 387.7 MB, free: 47.54 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/0.5885, allocations: 301.9 kB / 388 MB, free: 47.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008279/0.5968, allocations: 7.137 MB / 395.1 MB, free: 41.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/0.5982, allocations: 86.27 kB / 395.2 MB, free: 41.9 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/0.5983, allocations: 54.38 kB / 395.3 MB, free: 41.89 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.001292/0.5996, allocations: 0.5994 MB / 395.9 MB, free: 41.54 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003653/0.6, allocations: 145.5 kB / 396 MB, free: 41.46 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003545/0.6035, allocations: 1.972 MB / 398 MB, free: 40.65 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.625e-05/0.6036, allocations: 18.81 kB / 398 MB, free: 40.65 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.6036, allocations: 4.062 kB / 398 MB, free: 40.65 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.6036, allocations: 8.953 kB / 398 MB, free: 40.65 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005624/0.6092, allocations: 4.133 MB / 402.2 MB, free: 38.56 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.6092, allocations: 3.719 kB / 402.2 MB, free: 38.56 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000712/0.61, allocations: 185.2 kB / 402.3 MB, free: 38.51 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001249/0.6112, allocations: 0.5371 MB / 402.9 MB, free: 38.22 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.261e-05/0.6113, allocations: 31.23 kB / 402.9 MB, free: 38.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006322/0.6176, allocations: 8.76 MB / 411.7 MB, free: 30.05 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.6177, allocations: 4 kB / 411.7 MB, free: 30.05 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003513/0.6212, allocations: 2.856 MB / 414.5 MB, free: 27.14 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000587/0.6218, allocations: 355.7 kB / 414.9 MB, free: 26.78 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001813/0.622, allocations: 31.94 kB / 414.9 MB, free: 26.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000719/0.6227, allocations: 71.92 kB / 415 MB, free: 26.68 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002147/0.6229, allocations: 88.91 kB / 415.1 MB, free: 26.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.73e-05/0.623, allocations: 31.97 kB / 415.1 MB, free: 26.56 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001217/0.6242, allocations: 0.8878 MB / 416 MB, free: 25.67 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6242, allocations: 3.938 kB / 416 MB, free: 25.66 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001719/0.626, allocations: 444 kB / 416.4 MB, free: 25.23 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.0003922/0.6264, allocations: 177.8 kB / 416.6 MB, free: 25.05 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003701/0.6301, allocations: 2.571 MB / 419.2 MB, free: 22.42 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.6301, allocations: 4.062 kB / 419.2 MB, free: 22.41 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001734/0.6318, allocations: 1.505 MB / 420.7 MB, free: 20.84 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001734/0.6336, allocations: 414.4 kB / 421.1 MB, free: 20.45 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006612/0.6402, allocations: 4.964 MB / 426 MB, free: 15.44 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00127/0.6415, allocations: 1.642 MB / 427.7 MB, free: 13.76 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001118/0.6426, allocations: 324.8 kB / 428 MB, free: 13.44 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002604/0.6429, allocations: 99.42 kB / 428.1 MB, free: 13.34 MB / 318.1 MB Notification: Performance of SimCode: time 2.174e-06/0.6429, allocations: 0 / 428.1 MB, free: 13.34 MB / 318.1 MB Notification: Performance of Templates: time 0.04384/0.6868, allocations: 23.71 MB / 451.8 MB, free: 5.629 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)