Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_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.1_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.001305/0.001305, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001561/0.001561, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.397/1.397, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.0004619/0.0004621, allocations: 12 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2235, allocations: 47.58 MB / 326.5 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02074/0.2443, allocations: 20.03 MB / 346.5 MB, free: 15.43 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01572/0.2601, allocations: 7.279 MB / 353.8 MB, free: 8.141 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004629/0.2648, allocations: 147.5 kB / 353.9 MB, free: 7.996 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005652/0.2704, allocations: 1.497 MB / 355.4 MB, free: 6.492 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009071/0.2795, allocations: 2.583 MB / 358 MB, free: 3.902 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004585/0.2841, allocations: 1.22 MB / 359.2 MB, free: 2.68 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.02283/0.307, allocations: 10.18 MB / 369.4 MB, free: 8.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04297/0.35, allocations: 19.15 MB / 388.6 MB, free: 5.207 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006985/0.357, allocations: 4.015 MB / 392.6 MB, free: 1.18 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008147/0.3652, allocations: 4.382 MB / 397 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003048/0.3683, allocations: 0.6602 MB / 397.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004917/0.3732, allocations: 0.98 MB / 398.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003733/0.377, allocations: 2.079 MB / 400.7 MB, free: 9.055 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004058/0.3811, allocations: 2.153 MB / 402.8 MB, free: 6.891 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0203/0.4014, allocations: 19.55 MB / 422.4 MB, free: 3.285 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.4014, allocations: 0 / 422.4 MB, free: 3.285 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.4014, allocations: 0 / 422.4 MB, free: 3.285 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000547/0.402, allocations: 0 / 422.4 MB, free: 3.285 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.03177/0.4338, allocations: 11.4 MB / 433.8 MB, free: 7.789 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.4338, allocations: 8.031 kB / 433.8 MB, free: 7.781 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0405/0.4743, allocations: 7.155 MB / 440.9 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01584/0.4902, allocations: 6.412 MB / 447.4 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008869/0.4911, allocations: 0.7305 MB / 448.1 MB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003794/0.4949, allocations: 0.9569 MB / 449 MB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3716/0.8666, allocations: 16.45 MB / 465.5 MB, free: 87.15 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003421/0.867, allocations: 20.84 kB / 465.5 MB, free: 87.15 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002718/0.8697, allocations: 403.6 kB / 465.9 MB, free: 86.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005009/0.8702, allocations: 0.5908 MB / 466.5 MB, free: 86.78 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03023/0.9004, allocations: 15.71 MB / 482.2 MB, free: 79.46 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0789/0.9794, allocations: 53.94 MB / 0.5236 GB, free: 27.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01557/0.995, allocations: 22.67 MB / 0.5457 GB, free: 2.539 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02039/1.015, allocations: 11.81 MB / 0.5573 GB, free: 6.648 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.829e-05/1.016, allocations: 69.41 kB / 0.5573 GB, free: 6.57 MB / 398.1 MB Notification: Performance of pre-optimization done (n=365): time 5.119e-06/1.016, allocations: 0 / 0.5573 GB, free: 6.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=370): time 0.04258/1.058, allocations: 18.56 MB / 0.5754 GB, free: 3.789 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.073e-05/1.058, allocations: 90.28 kB / 0.5755 GB, free: 3.688 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006803/1.065, allocations: 4.694 MB / 0.5801 GB, free: 14.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006501/1.066, allocations: 85.64 kB / 0.5802 GB, free: 14.88 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002831/1.069, allocations: 4.475 MB / 0.5846 GB, free: 10.38 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001488/1.07, allocations: 1.265 MB / 0.5858 GB, free: 9.121 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003612/1.07, allocations: 123.9 kB / 0.5859 GB, free: 9 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003495/1.071, allocations: 0.5501 MB / 0.5865 GB, free: 8.441 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004481/1.075, allocations: 2.908 MB / 0.5893 GB, free: 5.527 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006123/1.081, allocations: 5.249 MB / 0.5944 GB, free: 15.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006289/1.088, allocations: 4.111 MB / 0.5984 GB, free: 11.06 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.752e-05/1.088, allocations: 20 kB / 0.5985 GB, free: 11.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=769) (initialization): time 0.0171/1.105, allocations: 9.62 MB / 0.6079 GB, free: 1.383 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001024/1.105, allocations: 36 kB / 0.6079 GB, free: 1.348 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001386/1.105, allocations: 84.16 kB / 0.608 GB, free: 1.266 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003714/1.109, allocations: 1.387 MB / 0.6093 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00517/1.114, allocations: 1.33 MB / 0.6106 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01752/1.132, allocations: 11.96 MB / 0.6223 GB, free: 2.328 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005413/1.137, allocations: 367.5 kB / 0.6227 GB, free: 1.969 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001618/1.139, allocations: 303.9 kB / 0.6229 GB, free: 1.672 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.1883/1.327, allocations: 3.918 MB / 0.6268 GB, free: 152.5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001198/1.328, allocations: 448.1 kB / 0.6272 GB, free: 152.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01159/1.34, allocations: 6.828 MB / 0.6339 GB, free: 150.7 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00799/1.348, allocations: 5.628 MB / 0.6394 GB, free: 148.4 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-05/1.348, allocations: 11.72 kB / 0.6394 GB, free: 148.4 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.24e-05/1.348, allocations: 18.61 kB / 0.6394 GB, free: 148.4 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02395/1.372, allocations: 15.46 MB / 0.6545 GB, free: 142.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.494e-05/1.372, allocations: 5.219 kB / 0.6545 GB, free: 142.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002729/1.375, allocations: 0.6695 MB / 0.6551 GB, free: 142.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003016/1.378, allocations: 1.261 MB / 0.6564 GB, free: 141.9 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004271/1.378, allocations: 86.94 kB / 0.6565 GB, free: 141.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01261/1.391, allocations: 10.86 MB / 0.6671 GB, free: 135.1 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/1.391, allocations: 11.55 kB / 0.6671 GB, free: 135.1 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01369/1.405, allocations: 10.52 MB / 0.6773 GB, free: 125.4 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002287/1.407, allocations: 1.035 MB / 0.6784 GB, free: 124.5 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006023/1.408, allocations: 71.95 kB / 0.6784 GB, free: 124.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002059/1.41, allocations: 222.1 kB / 0.6786 GB, free: 124.2 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005974/1.41, allocations: 275.9 kB / 0.6789 GB, free: 123.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002232/1.41, allocations: 116 kB / 0.679 GB, free: 123.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003979/1.414, allocations: 3.166 MB / 0.6821 GB, free: 120.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.61e-07/1.414, allocations: 4 kB / 0.6821 GB, free: 120.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004981/1.419, allocations: 1.691 MB / 0.6838 GB, free: 119 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.001114/1.421, allocations: 0.5031 MB / 0.6843 GB, free: 118.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01029/1.431, allocations: 7.574 MB / 0.6916 GB, free: 111 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/1.431, allocations: 6 kB / 0.6917 GB, free: 110.9 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005201/1.436, allocations: 3.617 MB / 0.6952 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.003898/1.44, allocations: 0.9112 MB / 0.6961 GB, free: 106.4 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02632/1.466, allocations: 21.14 MB / 0.7167 GB, free: 85.16 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005373/1.472, allocations: 6.715 MB / 0.7233 GB, free: 78.4 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005367/1.477, allocations: 2.106 MB / 0.7253 GB, free: 76.29 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009312/1.478, allocations: 355.3 kB / 0.7257 GB, free: 75.94 MB / 462.1 MB Notification: Performance of SimCode: time 1.383e-06/1.478, allocations: 8 kB / 0.7257 GB, free: 75.93 MB / 462.1 MB Notification: Performance of Templates: time 0.2643/1.742, allocations: 65.96 MB / 0.7901 GB, free: 145.2 MB / 462.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) Environment - environmentSimulation: