Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 96.05 kB / 16.3 MB, free: 5.996 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.000932/0.000932, allocations: 184 kB / 17.2 MB, free: 5.914 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.565/1.565, allocations: 205.4 MB / 223.4 MB, free: 5.535 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.0004398/0.0004402, allocations: 8 kB / 280.2 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2578, allocations: 47.58 MB / 327.7 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02262/0.2805, allocations: 20.03 MB / 347.8 MB, free: 15.43 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01779/0.2983, allocations: 7.283 MB / 355 MB, free: 8.121 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005285/0.3036, allocations: 147.5 kB / 355.2 MB, free: 7.977 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005949/0.3096, allocations: 1.497 MB / 356.7 MB, free: 6.473 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009305/0.3189, allocations: 2.571 MB / 359.3 MB, free: 3.895 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004496/0.3234, allocations: 1.232 MB / 360.5 MB, free: 2.66 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01707/0.3405, allocations: 10.17 MB / 370.7 MB, free: 8.469 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03272/0.3733, allocations: 19.15 MB / 389.8 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006921/0.3802, allocations: 4.027 MB / 393.8 MB, free: 1.156 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007953/0.3882, allocations: 4.382 MB / 398.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002222/0.3905, allocations: 0.6602 MB / 398.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004051/0.3945, allocations: 0.9799 MB / 399.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002554/0.3971, allocations: 2.083 MB / 401.9 MB, free: 9.027 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003345/0.4005, allocations: 2.153 MB / 404.1 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02305/0.4235, allocations: 19.55 MB / 423.6 MB, free: 3.262 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/0.4236, allocations: 4 kB / 423.6 MB, free: 3.258 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.629e-06/0.4236, allocations: 0 / 423.6 MB, free: 3.258 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0008301/0.4245, allocations: 0 / 423.6 MB, free: 3.258 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2742 * Number of variables: 2742 Notification: Performance of Generate backend data structure: time 0.03353/0.458, allocations: 11.39 MB / 435 MB, free: 7.766 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.4581, allocations: 12.03 kB / 435.1 MB, free: 7.754 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04877/0.5069, allocations: 7.155 MB / 442.2 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02195/0.5289, allocations: 6.412 MB / 448.6 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00133/0.5302, allocations: 0.7305 MB / 449.4 MB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00538/0.5356, allocations: 0.9608 MB / 450.3 MB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3858/0.9215, allocations: 16.44 MB / 466.7 MB, free: 87.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00031/0.9219, allocations: 14.39 kB / 466.8 MB, free: 87.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003403/0.9253, allocations: 408.7 kB / 467.2 MB, free: 86.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006819/0.926, allocations: 0.594 MB / 467.8 MB, free: 86.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03536/0.9613, allocations: 15.72 MB / 483.5 MB, free: 79.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09299/1.054, allocations: 53.94 MB / 0.5248 GB, free: 27.39 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0198/1.074, allocations: 22.68 MB / 0.547 GB, free: 2.484 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02698/1.101, allocations: 11.8 MB / 0.5585 GB, free: 6.602 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.42e-05/1.101, allocations: 69.41 kB / 0.5586 GB, free: 6.523 MB / 398.1 MB Notification: Performance of pre-optimization done (n=365): time 6.001e-06/1.101, allocations: 4 kB / 0.5586 GB, free: 6.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=370): time 0.04995/1.151, allocations: 18.56 MB / 0.5767 GB, free: 3.738 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.083e-05/1.151, allocations: 90.28 kB / 0.5768 GB, free: 3.637 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009382/1.161, allocations: 4.694 MB / 0.5814 GB, free: 14.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008295/1.162, allocations: 81.7 kB / 0.5814 GB, free: 14.83 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003479/1.165, allocations: 4.468 MB / 0.5858 GB, free: 10.33 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001814/1.167, allocations: 1.281 MB / 0.587 GB, free: 9.062 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009148/1.168, allocations: 120 kB / 0.5872 GB, free: 8.945 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0005696/1.169, allocations: 0.5462 MB / 0.5877 GB, free: 8.391 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00554/1.174, allocations: 2.916 MB / 0.5905 GB, free: 5.469 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007738/1.182, allocations: 5.243 MB / 0.5957 GB, free: 15.13 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007468/1.189, allocations: 4.107 MB / 0.5997 GB, free: 11.01 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.057e-05/1.19, allocations: 20 kB / 0.5997 GB, free: 10.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=769) (initialization): time 0.02214/1.212, allocations: 9.62 MB / 0.6091 GB, free: 1.336 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001225/1.212, allocations: 40 kB / 0.6091 GB, free: 1.297 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001862/1.212, allocations: 76.84 kB / 0.6092 GB, free: 1.223 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003952/1.216, allocations: 1.391 MB / 0.6106 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005571/1.222, allocations: 1.326 MB / 0.6119 GB, free: 14.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01877/1.24, allocations: 11.96 MB / 0.6235 GB, free: 2.281 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005203/1.246, allocations: 371.5 kB / 0.6239 GB, free: 1.918 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001285/1.247, allocations: 296 kB / 0.6242 GB, free: 1.629 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 353 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (692): * Single equations (assignments): 686 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(14,45.4%) 54} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.2331/1.48, allocations: 3.927 MB / 0.628 GB, free: 152.4 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001229/1.481, allocations: 447.9 kB / 0.6284 GB, free: 152.4 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01127/1.493, allocations: 6.827 MB / 0.6351 GB, free: 150.6 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007662/1.5, allocations: 5.629 MB / 0.6406 GB, free: 148.4 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.747e-05/1.5, allocations: 15.5 kB / 0.6406 GB, free: 148.4 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.358e-05/1.5, allocations: 18.66 kB / 0.6406 GB, free: 148.4 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02552/1.526, allocations: 15.46 MB / 0.6557 GB, free: 142.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.398e-05/1.526, allocations: 3.906 kB / 0.6557 GB, free: 142.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002734/1.529, allocations: 0.6705 MB / 0.6564 GB, free: 142 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003/1.532, allocations: 1.263 MB / 0.6576 GB, free: 141.8 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004327/1.532, allocations: 86.52 kB / 0.6577 GB, free: 141.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01233/1.545, allocations: 10.86 MB / 0.6683 GB, free: 135.1 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/1.545, allocations: 7.938 kB / 0.6683 GB, free: 135.1 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0139/1.559, allocations: 10.52 MB / 0.6786 GB, free: 125.4 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002663/1.561, allocations: 1.037 MB / 0.6796 GB, free: 124.4 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007641/1.562, allocations: 75.94 kB / 0.6797 GB, free: 124.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002109/1.564, allocations: 221.8 kB / 0.6799 GB, free: 124.2 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005706/1.565, allocations: 273.2 kB / 0.6801 GB, free: 123.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002246/1.565, allocations: 114 kB / 0.6803 GB, free: 123.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004154/1.569, allocations: 3.17 MB / 0.6833 GB, free: 120.6 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.569, allocations: 0 / 0.6833 GB, free: 120.6 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006837/1.576, allocations: 1.687 MB / 0.685 GB, free: 118.9 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (336): * Single equations (assignments): 330 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(14,45.4%) 54} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001487/1.577, allocations: 0.5001 MB / 0.6855 GB, free: 118.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0136/1.591, allocations: 7.565 MB / 0.6929 GB, free: 110.9 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-05/1.591, allocations: 0 / 0.6929 GB, free: 110.9 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006435/1.598, allocations: 3.614 MB / 0.6964 GB, free: 107.3 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004322/1.602, allocations: 0.9229 MB / 0.6973 GB, free: 106.3 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03109/1.633, allocations: 21.14 MB / 0.7179 GB, free: 85.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007554/1.641, allocations: 6.722 MB / 0.7245 GB, free: 78.33 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.006439/1.647, allocations: 2.106 MB / 0.7266 GB, free: 76.22 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001281/1.648, allocations: 355.4 kB / 0.7269 GB, free: 75.87 MB / 462.1 MB Notification: Performance of SimCode: time 1.262e-06/1.649, allocations: 3.938 kB / 0.7269 GB, free: 75.87 MB / 462.1 MB Notification: Performance of Templates: time 0.321/1.97, allocations: 65.96 MB / 0.7913 GB, free: 145.3 MB / 462.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) Environment - environmentSimulation: