Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_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.1_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.001362/0.001362, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001229/0.001229, allocations: 191.8 kB / 16.14 MB, free: 6.734 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.786/1.786, allocations: 205.1 MB / 222 MB, free: 4.785 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.001419/0.001419, allocations: 52.41 kB / 278.1 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3059, allocations: 46.62 MB / 324.7 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.01263/0.3185, allocations: 9.591 MB / 334.3 MB, free: 10.37 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007727/0.3264, allocations: 3.034 MB / 337.3 MB, free: 7.484 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00266/0.3291, allocations: 35.88 kB / 337.3 MB, free: 7.449 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002273/0.3314, allocations: 0.5593 MB / 337.9 MB, free: 6.887 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00346/0.3349, allocations: 0.6682 MB / 338.6 MB, free: 6.215 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001385/0.3363, allocations: 331.7 kB / 338.9 MB, free: 5.891 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004149/0.3405, allocations: 2.752 MB / 341.6 MB, free: 3.121 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001993/0.3425, allocations: 1.406 MB / 343.1 MB, free: 1.676 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001926/0.3444, allocations: 0.9494 MB / 344 MB, free: 0.7227 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002538/0.347, allocations: 1.265 MB / 345.3 MB, free: 15.45 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000767/0.3478, allocations: 180 kB / 345.4 MB, free: 15.28 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001295/0.3491, allocations: 279.8 kB / 345.7 MB, free: 15 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009258/0.3501, allocations: 0.6698 MB / 346.4 MB, free: 14.33 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002425/0.3525, allocations: 1.154 MB / 347.5 MB, free: 13.17 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004103/0.3566, allocations: 3.52 MB / 351.1 MB, free: 9.641 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.078e-05/0.3567, allocations: 0 / 351.1 MB, free: 9.641 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.863e-06/0.3567, allocations: 4 kB / 351.1 MB, free: 9.637 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.000149/0.3569, allocations: 3.938 kB / 351.1 MB, free: 9.633 MB / 286.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.008173/0.365, allocations: 2.583 MB / 353.7 MB, free: 6.992 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.514e-05/0.3651, allocations: 8.031 kB / 353.7 MB, free: 6.984 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009516/0.3661, allocations: 262.1 kB / 353.9 MB, free: 6.727 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002422/0.3685, allocations: 1.256 MB / 355.2 MB, free: 5.414 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-05/0.3686, allocations: 148.1 kB / 355.3 MB, free: 5.27 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002909/0.3689, allocations: 196 kB / 355.5 MB, free: 5.078 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00444/0.3734, allocations: 2.418 MB / 357.9 MB, free: 2.621 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.385e-05/0.3735, allocations: 11.89 kB / 357.9 MB, free: 2.609 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001864/0.3737, allocations: 76 kB / 358 MB, free: 2.535 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001301/0.3738, allocations: 91.69 kB / 358.1 MB, free: 2.445 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003446/0.3773, allocations: 1.959 MB / 360.1 MB, free: 496 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01408/0.3914, allocations: 7.851 MB / 367.9 MB, free: 8.391 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001813/0.3932, allocations: 1.231 MB / 369.1 MB, free: 7.117 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001708/0.395, allocations: 0.941 MB / 370.1 MB, free: 6.172 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002806/0.3953, allocations: 118.1 kB / 370.2 MB, free: 6.039 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.514e-05/0.3953, allocations: 47.56 kB / 370.2 MB, free: 5.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=95): time 2.495e-06/0.3953, allocations: 0 / 370.2 MB, free: 5.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=111): time 0.01356/0.4089, allocations: 5.863 MB / 376.1 MB, free: 15.98 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.409, allocations: 64.41 kB / 376.2 MB, free: 15.9 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002481/0.4115, allocations: 1.302 MB / 377.5 MB, free: 14.59 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001498/0.4116, allocations: 45.7 kB / 377.5 MB, free: 14.54 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007935/0.4125, allocations: 0.9121 MB / 378.4 MB, free: 13.62 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004265/0.4129, allocations: 398.3 kB / 378.8 MB, free: 13.22 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004832/0.4134, allocations: 259.4 kB / 379.1 MB, free: 12.96 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.4136, allocations: 353.9 kB / 379.4 MB, free: 12.61 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001151/0.4147, allocations: 0.6364 MB / 380.1 MB, free: 11.97 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001375/0.4161, allocations: 1.004 MB / 381.1 MB, free: 10.82 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002875/0.419, allocations: 1.735 MB / 382.8 MB, free: 8.934 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-05/0.4191, allocations: 4 kB / 382.8 MB, free: 8.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004826/0.4239, allocations: 2.253 MB / 385 MB, free: 6.652 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.846e-05/0.424, allocations: 8 kB / 385.1 MB, free: 6.645 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.882e-05/0.424, allocations: 12 kB / 385.1 MB, free: 6.633 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001726/0.4258, allocations: 496.2 kB / 385.6 MB, free: 6.133 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001387/0.4272, allocations: 303.5 kB / 385.8 MB, free: 5.836 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0094/0.4366, allocations: 6.535 MB / 392.4 MB, free: 14.9 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001794/0.4385, allocations: 87.98 kB / 392.5 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003764/0.4389, allocations: 55.98 kB / 392.5 MB, free: 14.76 MB / 334.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.002201/0.4411, allocations: 0.6033 MB / 393.1 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008891/0.442, allocations: 146.2 kB / 393.3 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005259/0.4473, allocations: 1.961 MB / 395.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.166e-05/0.4473, allocations: 12 kB / 395.2 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.145e-05/0.4474, allocations: 4 kB / 395.2 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.977e-05/0.4474, allocations: 7.969 kB / 395.3 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01006/0.4575, allocations: 4.144 MB / 399.4 MB, free: 7.754 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/0.4575, allocations: 0 / 399.4 MB, free: 7.754 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008429/0.4584, allocations: 187.7 kB / 399.6 MB, free: 7.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001735/0.4601, allocations: 0.539 MB / 400.1 MB, free: 7.016 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001254/0.4603, allocations: 31.98 kB / 400.2 MB, free: 6.984 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009121/0.4694, allocations: 8.034 MB / 408.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/0.4695, allocations: 8 kB / 408.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005069/0.4746, allocations: 2.842 MB / 411 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001055/0.4757, allocations: 355.7 kB / 411.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000431/0.4761, allocations: 31.98 kB / 411.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00102/0.4772, allocations: 71.91 kB / 411.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003181/0.4775, allocations: 92.84 kB / 411.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.297e-05/0.4776, allocations: 32 kB / 411.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001873/0.4795, allocations: 0.8916 MB / 412.5 MB, free: 10.01 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.31e-07/0.4795, allocations: 0 / 412.5 MB, free: 10.01 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002406/0.4819, allocations: 440 kB / 412.9 MB, free: 9.578 MB / 350.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.0005573/0.4825, allocations: 183 kB / 413.1 MB, free: 9.391 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004293/0.4868, allocations: 2.232 MB / 415.3 MB, free: 7.078 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/0.4868, allocations: 0 / 415.3 MB, free: 7.078 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002529/0.4893, allocations: 1.495 MB / 416.8 MB, free: 5.508 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002808/0.4922, allocations: 384.4 kB / 417.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00903/0.5012, allocations: 4.972 MB / 422.2 MB, free: 104 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002051/0.5033, allocations: 1.65 MB / 423.8 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001581/0.5049, allocations: 320.8 kB / 424.1 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005234/0.5055, allocations: 95.42 kB / 424.2 MB, free: 14.01 MB / 366.1 MB Notification: Performance of SimCode: time 2.124e-06/0.5055, allocations: 0 / 424.2 MB, free: 14.01 MB / 366.1 MB Notification: Performance of Templates: time 0.05316/0.5586, allocations: 22.82 MB / 447.1 MB, free: 7.16 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1)