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.0009005/0.0009006, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.00106/0.00106, allocations: 168.7 kB / 15.95 MB, free: 204 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.623/1.623, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.0004632/0.0004633, allocations: 12 kB / 278.9 MB, free: 12.79 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2639, allocations: 47.59 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.02371/0.2876, allocations: 21.73 MB / 348.2 MB, free: 13.7 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01819/0.3059, allocations: 7.102 MB / 355.3 MB, free: 6.586 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005939/0.3118, allocations: 147.5 kB / 355.5 MB, free: 6.441 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005811/0.3177, allocations: 1.336 MB / 356.8 MB, free: 5.098 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009848/0.3275, allocations: 2.512 MB / 359.3 MB, free: 2.574 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004821/0.3324, allocations: 1.209 MB / 360.5 MB, free: 1.363 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01922/0.3516, allocations: 13.66 MB / 374.2 MB, free: 3.664 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04282/0.3945, allocations: 19.36 MB / 393.6 MB, free: 188 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008735/0.4032, allocations: 4.408 MB / 398 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009115/0.4124, allocations: 4.884 MB / 402.8 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00305/0.4155, allocations: 0.668 MB / 403.5 MB, free: 6.188 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005398/0.4209, allocations: 1.035 MB / 404.6 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004283/0.4252, allocations: 2.114 MB / 406.7 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005398/0.4306, allocations: 2.157 MB / 408.8 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02569/0.4563, allocations: 19.59 MB / 428.4 MB, free: 13.22 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.737e-06/0.4564, allocations: 4 kB / 428.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.4564, allocations: 0 / 428.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0007655/0.4572, allocations: 4 kB / 428.4 MB, free: 13.21 MB / 366.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.0352/0.4924, allocations: 11.46 MB / 439.9 MB, free: 1.652 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.4924, allocations: 8.031 kB / 439.9 MB, free: 1.645 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03959/0.532, allocations: 7.229 MB / 447.1 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01596/0.548, allocations: 6.416 MB / 453.5 MB, free: 3.898 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000801/0.5489, allocations: 0.7306 MB / 454.3 MB, free: 3.164 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004386/0.5533, allocations: 0.9685 MB / 455.2 MB, free: 2.195 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4452/0.9985, allocations: 16.53 MB / 471.8 MB, free: 86.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003961/0.999, allocations: 15.38 kB / 471.8 MB, free: 86.81 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003685/1.003, allocations: 406.7 kB / 472.2 MB, free: 86.51 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006836/1.003, allocations: 0.584 MB / 472.8 MB, free: 86.44 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0359/1.039, allocations: 15.73 MB / 488.5 MB, free: 75.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09711/1.136, allocations: 54.01 MB / 0.5298 GB, free: 21.24 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01948/1.156, allocations: 22.7 MB / 0.552 GB, free: 12.31 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007334/1.163, allocations: 3.834 MB / 0.5557 GB, free: 8.465 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02533/1.189, allocations: 11.79 MB / 0.5672 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.34e-05/1.189, allocations: 73.39 kB / 0.5673 GB, free: 12.51 MB / 414.1 MB Notification: Performance of pre-optimization done (n=363): time 6.643e-06/1.189, allocations: 0 / 0.5673 GB, free: 12.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=368): time 0.05512/1.244, allocations: 19.95 MB / 0.5868 GB, free: 8.426 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.313e-05/1.244, allocations: 90.27 kB / 0.5869 GB, free: 8.324 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009761/1.254, allocations: 4.737 MB / 0.5915 GB, free: 3.559 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008822/1.255, allocations: 85.7 kB / 0.5916 GB, free: 3.469 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003612/1.258, allocations: 4.476 MB / 0.5959 GB, free: 14.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001856/1.26, allocations: 1.27 MB / 0.5972 GB, free: 13.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000947/1.261, allocations: 120 kB / 0.5973 GB, free: 13.58 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000604/1.262, allocations: 0.5423 MB / 0.5978 GB, free: 13.03 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005833/1.268, allocations: 2.916 MB / 0.6007 GB, free: 10.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007902/1.276, allocations: 5.29 MB / 0.6058 GB, free: 3.715 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2637/1.539, allocations: 4.097 MB / 0.6098 GB, free: 138.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001473/1.54, allocations: 21.94 kB / 0.6099 GB, free: 138.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=769) (initialization): time 0.02125/1.561, allocations: 9.637 MB / 0.6193 GB, free: 135.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.651e-05/1.561, allocations: 39.56 kB / 0.6193 GB, free: 135.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001495/1.561, allocations: 75.16 kB / 0.6194 GB, free: 135.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003323/1.564, allocations: 1.413 MB / 0.6208 GB, free: 135.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005055/1.569, allocations: 1.325 MB / 0.622 GB, free: 135.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01478/1.584, allocations: 11.65 MB / 0.6334 GB, free: 128.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005351/1.59, allocations: 369.5 kB / 0.6338 GB, free: 128.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001327/1.591, allocations: 302.2 kB / 0.6341 GB, free: 128.7 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 355 * 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.9%) 54} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007964/1.599, allocations: 3.924 MB / 0.6379 GB, free: 126.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001533/1.601, allocations: 447 kB / 0.6383 GB, free: 126.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01241/1.613, allocations: 6.827 MB / 0.645 GB, free: 124 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009717/1.623, allocations: 5.616 MB / 0.6505 GB, free: 121.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.751e-05/1.623, allocations: 12 kB / 0.6505 GB, free: 121.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-05/1.623, allocations: 18.66 kB / 0.6505 GB, free: 121.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03468/1.658, allocations: 15.5 MB / 0.6656 GB, free: 107 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.552e-05/1.658, allocations: 8 kB / 0.6657 GB, free: 107 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003314/1.661, allocations: 0.6675 MB / 0.6663 GB, free: 106.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003349/1.664, allocations: 1.268 MB / 0.6675 GB, free: 105.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008526/1.665, allocations: 87.97 kB / 0.6676 GB, free: 105 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01378/1.679, allocations: 10.57 MB / 0.6779 GB, free: 94.27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/1.679, allocations: 7.938 kB / 0.678 GB, free: 94.26 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01853/1.698, allocations: 10.08 MB / 0.6878 GB, free: 84.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003028/1.701, allocations: 1.042 MB / 0.6888 GB, free: 82.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001547/1.702, allocations: 68 kB / 0.6889 GB, free: 82.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003023/1.705, allocations: 227.8 kB / 0.6891 GB, free: 82.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008554/1.706, allocations: 279.1 kB / 0.6894 GB, free: 82.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004663/1.707, allocations: 108 kB / 0.6895 GB, free: 82.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005956/1.713, allocations: 3.201 MB / 0.6926 GB, free: 79.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.4e-07/1.713, allocations: 0 / 0.6926 GB, free: 79.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00836/1.721, allocations: 1.693 MB / 0.6942 GB, free: 77.42 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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.9%) 54} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001747/1.723, allocations: 0.5012 MB / 0.6947 GB, free: 76.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01319/1.736, allocations: 7.562 MB / 0.7021 GB, free: 69.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.199e-05/1.736, allocations: 2.734 kB / 0.7021 GB, free: 69.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006877/1.743, allocations: 3.602 MB / 0.7056 GB, free: 65.74 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008143/1.751, allocations: 0.9932 MB / 0.7066 GB, free: 64.74 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03761/1.789, allocations: 21.31 MB / 0.7274 GB, free: 43.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01152/1.8, allocations: 6.559 MB / 0.7338 GB, free: 36.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.008006/1.808, allocations: 2.102 MB / 0.7359 GB, free: 34.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002006/1.811, allocations: 351.4 kB / 0.7362 GB, free: 34.29 MB / 446.1 MB Notification: Performance of SimCode: time 2.365e-06/1.811, allocations: 0 / 0.7362 GB, free: 34.29 MB / 446.1 MB Notification: Performance of Templates: time 0.3619/2.172, allocations: 66.74 MB / 0.8014 GB, free: 134.2 MB / 462.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile (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)