Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001374/0.001374, allocations: 99.62 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.001579/0.001579, 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.54/1.54, 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.0004339/0.0004339, allocations: 16 kB / 278.9 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2532, allocations: 47.58 MB / 326.5 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02293/0.2762, allocations: 20.03 MB / 346.5 MB, free: 15.42 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01693/0.2932, allocations: 7.283 MB / 353.8 MB, free: 8.125 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004716/0.2979, allocations: 147.5 kB / 353.9 MB, free: 7.98 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005452/0.3034, allocations: 1.493 MB / 355.4 MB, free: 6.48 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009927/0.3134, allocations: 2.582 MB / 358 MB, free: 3.891 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004648/0.318, allocations: 1.224 MB / 359.2 MB, free: 2.664 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01719/0.3352, allocations: 10.18 MB / 369.4 MB, free: 8.465 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04154/0.3768, allocations: 19.15 MB / 388.6 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007963/0.3848, allocations: 4.019 MB / 392.6 MB, free: 1.164 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008131/0.393, allocations: 4.385 MB / 397 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003254/0.3963, allocations: 0.6602 MB / 397.6 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005614/0.402, allocations: 0.9838 MB / 398.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00454/0.4065, allocations: 2.079 MB / 400.7 MB, free: 9.031 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005026/0.4116, allocations: 2.149 MB / 402.8 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02343/0.4351, allocations: 19.55 MB / 422.4 MB, free: 3.266 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.4351, allocations: 0 / 422.4 MB, free: 3.266 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4351, allocations: 0 / 422.4 MB, free: 3.266 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0006974/0.4358, allocations: 0 / 422.4 MB, free: 3.266 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.03385/0.4697, allocations: 11.4 MB / 433.8 MB, free: 7.766 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.4698, allocations: 8.031 kB / 433.8 MB, free: 7.758 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03987/0.5096, allocations: 7.155 MB / 441 MB, free: 0.582 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01609/0.5258, allocations: 6.412 MB / 447.4 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008776/0.5267, allocations: 0.7305 MB / 448.1 MB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004397/0.5311, allocations: 0.953 MB / 449.1 MB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3701/0.9012, allocations: 16.45 MB / 465.5 MB, free: 87.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002028/0.9015, allocations: 11.66 kB / 465.5 MB, free: 87.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001204/0.9027, allocations: 409.6 kB / 465.9 MB, free: 86.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004547/0.9032, allocations: 0.5932 MB / 466.5 MB, free: 86.78 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02712/0.9303, allocations: 15.72 MB / 482.2 MB, free: 79.42 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08327/1.014, allocations: 53.94 MB / 0.5236 GB, free: 27.4 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01899/1.033, allocations: 22.66 MB / 0.5457 GB, free: 2.512 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02435/1.057, allocations: 11.81 MB / 0.5573 GB, free: 6.629 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.536e-05/1.057, allocations: 77.41 kB / 0.5573 GB, free: 6.543 MB / 398.1 MB Notification: Performance of pre-optimization done (n=365): time 6.562e-06/1.057, allocations: 0 / 0.5573 GB, free: 6.543 MB / 398.1 MB Notification: Performance of matching and sorting (n=370): time 0.04634/1.104, allocations: 18.57 MB / 0.5755 GB, free: 3.754 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.958e-05/1.104, allocations: 86.28 kB / 0.5755 GB, free: 3.656 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009189/1.113, allocations: 4.698 MB / 0.5801 GB, free: 14.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008507/1.114, allocations: 85.7 kB / 0.5802 GB, free: 14.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003721/1.117, allocations: 4.457 MB / 0.5846 GB, free: 10.36 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002155/1.12, allocations: 1.284 MB / 0.5858 GB, free: 9.086 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009596/1.121, allocations: 127.9 kB / 0.5859 GB, free: 8.961 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0006094/1.121, allocations: 0.5423 MB / 0.5865 GB, free: 8.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005701/1.127, allocations: 2.916 MB / 0.5893 GB, free: 5.488 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007722/1.135, allocations: 5.246 MB / 0.5944 GB, free: 15.14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007495/1.142, allocations: 4.111 MB / 0.5985 GB, free: 11.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.899e-05/1.142, allocations: 24 kB / 0.5985 GB, free: 11 MB / 446.1 MB Notification: Performance of matching and sorting (n=769) (initialization): time 0.02042/1.163, allocations: 9.624 MB / 0.6079 GB, free: 1.344 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000117/1.163, allocations: 36 kB / 0.6079 GB, free: 1.309 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001525/1.163, allocations: 84.12 kB / 0.608 GB, free: 1.227 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003908/1.167, allocations: 1.383 MB / 0.6093 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005537/1.173, allocations: 1.334 MB / 0.6106 GB, free: 14.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01848/1.191, allocations: 11.94 MB / 0.6223 GB, free: 2.297 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005475/1.197, allocations: 363.4 kB / 0.6227 GB, free: 1.941 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001487/1.198, allocations: 308 kB / 0.6229 GB, free: 1.641 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.2416/1.44, allocations: 3.92 MB / 0.6268 GB, free: 152.4 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001382/1.441, allocations: 442.3 kB / 0.6272 GB, free: 152.4 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01147/1.453, allocations: 6.833 MB / 0.6339 GB, free: 150.6 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008016/1.461, allocations: 5.625 MB / 0.6394 GB, free: 148.4 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.867e-05/1.461, allocations: 14.75 kB / 0.6394 GB, free: 148.4 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.55e-05/1.461, allocations: 19.12 kB / 0.6394 GB, free: 148.4 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02424/1.485, allocations: 15.47 MB / 0.6545 GB, free: 142.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.996e-05/1.485, allocations: 3.969 kB / 0.6545 GB, free: 142.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003252/1.488, allocations: 0.6656 MB / 0.6552 GB, free: 142.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003478/1.492, allocations: 1.258 MB / 0.6564 GB, free: 141.9 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007471/1.493, allocations: 86.61 kB / 0.6565 GB, free: 141.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01345/1.506, allocations: 10.86 MB / 0.6671 GB, free: 135.2 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/1.506, allocations: 7.938 kB / 0.6671 GB, free: 135.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01373/1.52, allocations: 10.51 MB / 0.6774 GB, free: 125.4 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002638/1.523, allocations: 1.035 MB / 0.6784 GB, free: 124.5 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000814/1.523, allocations: 79.94 kB / 0.6784 GB, free: 124.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002149/1.526, allocations: 222.1 kB / 0.6786 GB, free: 124.2 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005726/1.526, allocations: 271.9 kB / 0.6789 GB, free: 123.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002188/1.526, allocations: 116 kB / 0.679 GB, free: 123.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004179/1.531, allocations: 3.166 MB / 0.6821 GB, free: 120.6 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.01e-07/1.531, allocations: 0 / 0.6821 GB, free: 120.6 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006478/1.537, allocations: 1.691 MB / 0.6838 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.001379/1.538, allocations: 0.5066 MB / 0.6843 GB, free: 118.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01238/1.551, allocations: 7.57 MB / 0.6917 GB, free: 110.9 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.856e-06/1.551, allocations: 1.938 kB / 0.6917 GB, free: 110.9 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005773/1.557, allocations: 3.62 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.004891/1.562, allocations: 0.9228 MB / 0.6961 GB, free: 106.3 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03637/1.598, allocations: 21.12 MB / 0.7167 GB, free: 85.12 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008671/1.607, allocations: 6.722 MB / 0.7233 GB, free: 78.36 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.006835/1.614, allocations: 2.11 MB / 0.7253 GB, free: 76.24 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001551/1.615, allocations: 351.4 kB / 0.7257 GB, free: 75.9 MB / 462.1 MB Notification: Performance of SimCode: time 1.332e-06/1.615, allocations: 4 kB / 0.7257 GB, free: 75.89 MB / 462.1 MB Notification: Performance of Templates: time 0.3111/1.926, allocations: 65.97 MB / 0.7901 GB, free: 145.3 MB / 462.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) Environment - environmentSimulation: