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.001142/0.001142, allocations: 88.53 kB / 16.31 MB, free: 6.449 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.0008827/0.0008827, allocations: 183.1 kB / 17.21 MB, free: 6.316 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.924/1.924, allocations: 205.4 MB / 223.4 MB, free: 5.277 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.0006257/0.0006258, allocations: 12 kB / 280.1 MB, free: 12.69 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.318, allocations: 47.6 MB / 327.7 MB, free: 1.434 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.0145/0.3326, allocations: 8.527 MB / 336.3 MB, free: 10.77 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009429/0.3421, allocations: 2.891 MB / 339.2 MB, free: 8.035 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002651/0.3448, allocations: 39.81 kB / 339.2 MB, free: 7.996 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002555/0.3474, allocations: 0.5009 MB / 339.7 MB, free: 7.492 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003834/0.3512, allocations: 0.633 MB / 340.3 MB, free: 6.855 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001528/0.3528, allocations: 247.7 kB / 340.6 MB, free: 6.613 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004467/0.3573, allocations: 2.487 MB / 343.1 MB, free: 4.109 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002547/0.3599, allocations: 1.197 MB / 344.3 MB, free: 2.883 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002393/0.3623, allocations: 0.8288 MB / 345.1 MB, free: 2.051 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002865/0.3652, allocations: 1.093 MB / 346.2 MB, free: 0.9531 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003169/0.3655, allocations: 128 kB / 346.3 MB, free: 0.8281 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006256/0.3661, allocations: 187.9 kB / 346.5 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006768/0.3668, allocations: 0.5919 MB / 347.1 MB, free: 52 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006471/0.3675, allocations: 460.5 kB / 347.5 MB, free: 15.59 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002967/0.3704, allocations: 2.914 MB / 350.4 MB, free: 12.67 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.3705, allocations: 0 / 350.4 MB, free: 12.67 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3705, allocations: 0 / 350.4 MB, free: 12.67 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.485e-05/0.3705, allocations: 0 / 350.4 MB, free: 12.67 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.004428/0.375, allocations: 2.201 MB / 352.6 MB, free: 10.41 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.375, allocations: 12.03 kB / 352.7 MB, free: 10.4 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007195/0.3758, allocations: 261.1 kB / 352.9 MB, free: 10.14 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002055/0.3778, allocations: 1.216 MB / 354.1 MB, free: 8.871 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001389/0.378, allocations: 147.8 kB / 354.3 MB, free: 8.727 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002878/0.3783, allocations: 199.9 kB / 354.5 MB, free: 8.531 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004616/0.3829, allocations: 2.399 MB / 356.9 MB, free: 6.094 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.574e-05/0.383, allocations: 11.91 kB / 356.9 MB, free: 6.082 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001937/0.3832, allocations: 76 kB / 357 MB, free: 6.008 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001218/0.3833, allocations: 95.61 kB / 357 MB, free: 5.914 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003433/0.3867, allocations: 1.955 MB / 359 MB, free: 3.957 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01289/0.3996, allocations: 7.887 MB / 366.9 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001738/0.4014, allocations: 1.219 MB / 368.1 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001673/0.4031, allocations: 0.9489 MB / 369.1 MB, free: 9.613 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002553/0.4034, allocations: 130 kB / 369.2 MB, free: 9.469 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.947e-05/0.4035, allocations: 51.5 kB / 369.2 MB, free: 9.406 MB / 302.1 MB Notification: Performance of pre-optimization done (n=95): time 2.815e-06/0.4035, allocations: 0 / 369.2 MB, free: 9.406 MB / 302.1 MB Notification: Performance of matching and sorting (n=111): time 0.01293/0.4164, allocations: 5.918 MB / 375.2 MB, free: 3.352 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.58e-05/0.4165, allocations: 68.41 kB / 375.2 MB, free: 3.273 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002531/0.4191, allocations: 1.282 MB / 376.5 MB, free: 1.984 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001009/0.4192, allocations: 53.64 kB / 376.6 MB, free: 1.926 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008011/0.42, allocations: 0.9238 MB / 377.5 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003717/0.4204, allocations: 390.4 kB / 377.9 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.783e-05/0.4205, allocations: 24 kB / 377.9 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.4207, allocations: 357.9 kB / 378.2 MB, free: 228 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001097/0.4218, allocations: 0.6364 MB / 378.9 MB, free: 15.58 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001415/0.4232, allocations: 1 MB / 379.9 MB, free: 14.43 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001331/0.4246, allocations: 0.7838 MB / 380.7 MB, free: 13.65 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.641e-05/0.4246, allocations: 7.953 kB / 380.7 MB, free: 13.64 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004255/0.4289, allocations: 2.241 MB / 382.9 MB, free: 11.38 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.819e-05/0.4289, allocations: 8 kB / 382.9 MB, free: 11.37 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.784e-05/0.4289, allocations: 12 kB / 382.9 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001317/0.4303, allocations: 496.1 kB / 383.4 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/0.4314, allocations: 307.5 kB / 383.7 MB, free: 10.56 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007351/0.4387, allocations: 6.534 MB / 390.2 MB, free: 3.625 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/0.4403, allocations: 87.81 kB / 390.3 MB, free: 3.539 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002116/0.4405, allocations: 56 kB / 390.4 MB, free: 3.484 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 (idealCloser.control,idealOpener.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 (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(2,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001753/0.4423, allocations: 0.6106 MB / 391 MB, free: 2.863 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005515/0.4429, allocations: 146.2 kB / 391.1 MB, free: 2.719 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004176/0.447, allocations: 1.965 MB / 393.1 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/0.4471, allocations: 8 kB / 393.1 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.737e-05/0.4471, allocations: 8 kB / 393.1 MB, free: 0.707 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.539e-05/0.4471, allocations: 3.984 kB / 393.1 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008991/0.4561, allocations: 4.14 MB / 397.3 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.237e-05/0.4562, allocations: 7.953 kB / 397.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008287/0.457, allocations: 179.8 kB / 397.4 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001598/0.4586, allocations: 0.5387 MB / 398 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001189/0.4588, allocations: 31.98 kB / 398 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009425/0.4682, allocations: 8.031 MB / 406 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.4682, allocations: 0 / 406 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005486/0.4737, allocations: 2.849 MB / 408.9 MB, free: 220 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001161/0.4749, allocations: 355.2 kB / 409.2 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000415/0.4754, allocations: 31.98 kB / 409.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009742/0.4764, allocations: 71.92 kB / 409.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002589/0.4766, allocations: 88.86 kB / 409.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.567e-05/0.4767, allocations: 32 kB / 409.5 MB, free: 15.63 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00189/0.4786, allocations: 0.8838 MB / 410.3 MB, free: 14.74 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4786, allocations: 0 / 410.3 MB, free: 14.74 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002051/0.4807, allocations: 436 kB / 410.8 MB, free: 14.32 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 (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 8,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003925/0.4811, allocations: 139.2 kB / 410.9 MB, free: 14.17 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003875/0.485, allocations: 2.235 MB / 413.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.014e-06/0.485, allocations: 0 / 413.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002493/0.4875, allocations: 1.508 MB / 414.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002669/0.4902, allocations: 396.9 kB / 415 MB, free: 9.891 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009006/0.4992, allocations: 4.929 MB / 420 MB, free: 4.902 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001894/0.5012, allocations: 1.646 MB / 421.6 MB, free: 3.223 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001307/0.5025, allocations: 320.8 kB / 421.9 MB, free: 2.902 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003738/0.5029, allocations: 99.42 kB / 422 MB, free: 2.809 MB / 350.1 MB Notification: Performance of SimCode: time 1.232e-06/0.5029, allocations: 0 / 422 MB, free: 2.809 MB / 350.1 MB Notification: Performance of Templates: time 0.04473/0.5476, allocations: 21.85 MB / 443.9 MB, free: 12.92 MB / 382.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)