Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001793/0.001793, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001955/0.001955, allocations: 192.2 kB / 16.14 MB, free: 6.707 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.804/1.804, allocations: 205.1 MB / 222 MB, free: 4.773 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.00207/0.002071, allocations: 59.91 kB / 278.1 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3588, allocations: 46.62 MB / 324.7 MB, free: 2.145 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.01318/0.372, allocations: 9.572 MB / 334.3 MB, free: 10.61 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008693/0.3807, allocations: 3.052 MB / 337.3 MB, free: 7.633 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002888/0.3836, allocations: 39.81 kB / 337.3 MB, free: 7.594 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002156/0.3859, allocations: 0.5516 MB / 337.9 MB, free: 7.039 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003899/0.3898, allocations: 0.6682 MB / 338.6 MB, free: 6.367 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.3909, allocations: 331.6 kB / 338.9 MB, free: 6.043 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003391/0.3943, allocations: 2.756 MB / 341.6 MB, free: 3.27 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001796/0.3961, allocations: 1.41 MB / 343.1 MB, free: 1.82 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001852/0.398, allocations: 0.9494 MB / 344 MB, free: 0.8672 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00167/0.3997, allocations: 1.265 MB / 345.3 MB, free: 15.6 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003009/0.4, allocations: 176 kB / 345.4 MB, free: 15.43 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006863/0.4007, allocations: 283.8 kB / 345.7 MB, free: 15.15 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007436/0.4014, allocations: 0.6659 MB / 346.4 MB, free: 14.48 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001368/0.4028, allocations: 1.162 MB / 347.5 MB, free: 13.31 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00365/0.4065, allocations: 3.516 MB / 351.1 MB, free: 9.785 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.345e-06/0.4065, allocations: 0 / 351.1 MB, free: 9.785 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.539e-06/0.4065, allocations: 0 / 351.1 MB, free: 9.785 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.886e-05/0.4066, allocations: 3.938 kB / 351.1 MB, free: 9.781 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.005782/0.4124, allocations: 2.583 MB / 353.7 MB, free: 7.141 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.4124, allocations: 8.031 kB / 353.7 MB, free: 7.133 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008032/0.4133, allocations: 262.1 kB / 353.9 MB, free: 6.875 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002222/0.4155, allocations: 1.252 MB / 355.2 MB, free: 5.566 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001298/0.4156, allocations: 144.1 kB / 355.3 MB, free: 5.426 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003253/0.416, allocations: 208 kB / 355.5 MB, free: 5.223 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004764/0.4207, allocations: 2.415 MB / 357.9 MB, free: 2.77 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.09e-05/0.4209, allocations: 15.84 kB / 357.9 MB, free: 2.754 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001867/0.4211, allocations: 72 kB / 358 MB, free: 2.684 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001295/0.4212, allocations: 87.69 kB / 358.1 MB, free: 2.598 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003641/0.4248, allocations: 1.966 MB / 360.1 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01711/0.442, allocations: 7.851 MB / 367.9 MB, free: 8.535 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002506/0.4445, allocations: 1.228 MB / 369.1 MB, free: 7.266 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002651/0.4472, allocations: 0.9323 MB / 370.1 MB, free: 6.328 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003854/0.4476, allocations: 126.1 kB / 370.2 MB, free: 6.188 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.925e-05/0.4477, allocations: 43.56 kB / 370.2 MB, free: 6.133 MB / 302.1 MB Notification: Performance of pre-optimization done (n=95): time 5.501e-06/0.4477, allocations: 0 / 370.2 MB, free: 6.133 MB / 302.1 MB Notification: Performance of matching and sorting (n=111): time 0.0207/0.4684, allocations: 5.867 MB / 376.1 MB, free: 132 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.183e-05/0.4686, allocations: 68.34 kB / 376.2 MB, free: 52 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003215/0.4718, allocations: 1.313 MB / 377.5 MB, free: 14.73 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001828/0.472, allocations: 41.7 kB / 377.5 MB, free: 14.68 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001073/0.4731, allocations: 0.9121 MB / 378.4 MB, free: 13.75 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005266/0.4736, allocations: 394.3 kB / 378.8 MB, free: 13.36 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006258/0.4743, allocations: 247.4 kB / 379.1 MB, free: 13.11 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002179/0.4745, allocations: 365.9 kB / 379.4 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001539/0.4761, allocations: 0.6364 MB / 380.1 MB, free: 12.11 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001571/0.4777, allocations: 0.9964 MB / 381.1 MB, free: 10.96 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003749/0.4814, allocations: 1.735 MB / 382.8 MB, free: 9.082 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/0.4815, allocations: 4 kB / 382.8 MB, free: 9.078 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005819/0.4873, allocations: 2.249 MB / 385 MB, free: 6.805 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.382e-05/0.4874, allocations: 12 kB / 385.1 MB, free: 6.793 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.343e-05/0.4874, allocations: 8 kB / 385.1 MB, free: 6.785 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001879/0.4893, allocations: 496 kB / 385.5 MB, free: 6.285 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001622/0.4909, allocations: 307.5 kB / 385.9 MB, free: 5.984 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007836/0.4988, allocations: 6.531 MB / 392.4 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/0.5005, allocations: 79.91 kB / 392.5 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/0.5006, allocations: 59.94 kB / 392.5 MB, free: 14.91 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.001512/0.5021, allocations: 0.5995 MB / 393.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000465/0.5026, allocations: 150.2 kB / 393.3 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003638/0.5062, allocations: 1.964 MB / 395.2 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/0.5063, allocations: 12.19 kB / 395.2 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.5063, allocations: 4.062 kB / 395.2 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.611e-05/0.5063, allocations: 15.91 kB / 395.3 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007703/0.514, allocations: 4.136 MB / 399.4 MB, free: 7.906 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.387e-06/0.5141, allocations: 4 kB / 399.4 MB, free: 7.902 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008201/0.5149, allocations: 183.8 kB / 399.6 MB, free: 7.723 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001541/0.5165, allocations: 0.5389 MB / 400.1 MB, free: 7.168 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.974e-05/0.5166, allocations: 31.98 kB / 400.1 MB, free: 7.137 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00886/0.5254, allocations: 8.038 MB / 408.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/0.5255, allocations: 3.938 kB / 408.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00528/0.5308, allocations: 2.849 MB / 411 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001169/0.532, allocations: 351.2 kB / 411.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002176/0.5322, allocations: 27.98 kB / 411.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008081/0.533, allocations: 71.92 kB / 411.5 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002954/0.5333, allocations: 84.81 kB / 411.6 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.452e-05/0.5334, allocations: 35.98 kB / 411.6 MB, free: 11.06 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001477/0.5349, allocations: 0.8839 MB / 412.5 MB, free: 10.17 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.81e-07/0.5349, allocations: 4 kB / 412.5 MB, free: 10.17 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001968/0.5369, allocations: 440 kB / 412.9 MB, free: 9.738 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.0004709/0.5374, allocations: 187 kB / 413.1 MB, free: 9.547 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004099/0.5415, allocations: 2.225 MB / 415.3 MB, free: 7.242 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.5415, allocations: 8.438 kB / 415.3 MB, free: 7.234 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002353/0.5439, allocations: 1.49 MB / 416.8 MB, free: 5.668 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002184/0.5461, allocations: 404.2 kB / 417.2 MB, free: 5.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009425/0.5555, allocations: 4.965 MB / 422.2 MB, free: 256 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001565/0.5571, allocations: 1.646 MB / 423.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001293/0.5584, allocations: 320.8 kB / 424.1 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000289/0.5587, allocations: 99.42 kB / 424.2 MB, free: 14.16 MB / 366.1 MB Notification: Performance of SimCode: time 3.216e-06/0.5588, allocations: 0 / 424.2 MB, free: 14.16 MB / 366.1 MB Notification: Performance of Templates: time 0.04585/0.6046, allocations: 22.82 MB / 447.1 MB, free: 7.309 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1)