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_Characteristics.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_Characteristics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008977/0.0008978, allocations: 95.56 kB / 16.3 MB, free: 5.531 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.0009469/0.000947, allocations: 184.9 kB / 17.2 MB, free: 5.465 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.404/1.404, allocations: 205.4 MB / 223.3 MB, free: 13.17 MB / 190.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.0004509/0.000451, allocations: 11.94 kB / 280.1 MB, free: 3.715 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1185, allocations: 47.57 MB / 327.7 MB, free: 4.074 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02156/0.1401, allocations: 19.92 MB / 347.6 MB, free: 76 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01755/0.1577, allocations: 6.945 MB / 354.6 MB, free: 9.113 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006374/0.1641, allocations: 155.5 kB / 354.7 MB, free: 8.961 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006715/0.1709, allocations: 1.493 MB / 356.2 MB, free: 7.461 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01099/0.1819, allocations: 2.516 MB / 358.8 MB, free: 4.938 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005588/0.1875, allocations: 1.185 MB / 359.9 MB, free: 3.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01994/0.2075, allocations: 9.967 MB / 369.9 MB, free: 9.766 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3404/0.548, allocations: 17.8 MB / 387.7 MB, free: 12.84 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009965/0.558, allocations: 3.904 MB / 391.6 MB, free: 12.84 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009919/0.5679, allocations: 4.236 MB / 395.8 MB, free: 12.84 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003623/0.5716, allocations: 0.6411 MB / 396.5 MB, free: 12.84 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006055/0.5777, allocations: 0.9387 MB / 397.4 MB, free: 12.84 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005087/0.5828, allocations: 1.891 MB / 399.3 MB, free: 12.84 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005818/0.5887, allocations: 2.073 MB / 401.4 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02216/0.6108, allocations: 18.94 MB / 420.3 MB, free: 2.453 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.6109, allocations: 0 / 420.3 MB, free: 2.453 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.537e-06/0.6109, allocations: 1.344 kB / 420.3 MB, free: 2.453 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0008521/0.6118, allocations: 0 / 420.3 MB, free: 2.453 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2677 * Number of variables: 2677 Notification: Performance of Generate backend data structure: time 0.03817/0.65, allocations: 10.85 MB / 431.2 MB, free: 9.504 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.65, allocations: 12.03 kB / 431.2 MB, free: 9.492 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04177/0.6918, allocations: 7.093 MB / 438.3 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01783/0.7097, allocations: 6.09 MB / 444.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001092/0.7108, allocations: 0.716 MB / 445.1 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005397/0.7163, allocations: 0.9376 MB / 446 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05246/0.7687, allocations: 16.07 MB / 462.1 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005457/0.7693, allocations: 11.91 kB / 462.1 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004138/0.7735, allocations: 402.6 kB / 462.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007481/0.7742, allocations: 0.5863 MB / 463.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03859/0.8129, allocations: 15.4 MB / 478.5 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1065/0.9194, allocations: 52.94 MB / 0.519 GB, free: 10.3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2646/1.184, allocations: 35.47 MB / 0.5536 GB, free: 92.14 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02697/1.211, allocations: 10.25 MB / 0.5636 GB, free: 90.58 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.673e-05/1.211, allocations: 63.98 kB / 0.5637 GB, free: 90.52 MB / 430.1 MB Notification: Performance of pre-optimization done (n=307): time 4.979e-06/1.211, allocations: 0 / 0.5637 GB, free: 90.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=313): time 0.03374/1.245, allocations: 15.59 MB / 0.5789 GB, free: 83.97 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/1.245, allocations: 86.72 kB / 0.579 GB, free: 83.91 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006812/1.252, allocations: 3.816 MB / 0.5827 GB, free: 82.47 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003435/1.252, allocations: 76.17 kB / 0.5828 GB, free: 82.4 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002256/1.255, allocations: 4.244 MB / 0.5869 GB, free: 79.21 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008304/1.255, allocations: 1.088 MB / 0.588 GB, free: 78.38 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002444/1.256, allocations: 111.4 kB / 0.5881 GB, free: 78.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002697/1.256, allocations: 0.525 MB / 0.5886 GB, free: 77.89 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00359/1.259, allocations: 2.602 MB / 0.5911 GB, free: 76.9 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004357/1.264, allocations: 4.945 MB / 0.596 GB, free: 72.78 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00437/1.268, allocations: 3.729 MB / 0.5996 GB, free: 71.1 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.979e-05/1.268, allocations: 23.38 kB / 0.5996 GB, free: 71.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=706) (initialization): time 0.01353/1.282, allocations: 8.722 MB / 0.6082 GB, free: 67.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.267e-05/1.282, allocations: 38.97 kB / 0.6082 GB, free: 67.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001543/1.282, allocations: 78 kB / 0.6083 GB, free: 67.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003184/1.285, allocations: 1.221 MB / 0.6095 GB, free: 67.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00406/1.289, allocations: 1.241 MB / 0.6107 GB, free: 66.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01267/1.302, allocations: 9.384 MB / 0.6198 GB, free: 57.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004496/1.307, allocations: 335.4 kB / 0.6202 GB, free: 57.28 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007161/1.307, allocations: 284 kB / 0.6204 GB, free: 57 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 361 * 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 (645): * Single equations (assignments): 640 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.8%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007138/1.314, allocations: 3.741 MB / 0.6241 GB, free: 53.25 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001085/1.316, allocations: 383.3 kB / 0.6244 GB, free: 52.87 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01009/1.326, allocations: 5.928 MB / 0.6302 GB, free: 46.9 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007029/1.333, allocations: 4.874 MB / 0.635 GB, free: 41.98 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.81e-05/1.333, allocations: 8 kB / 0.635 GB, free: 41.98 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.592e-05/1.333, allocations: 15.94 kB / 0.635 GB, free: 41.96 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02814/1.361, allocations: 13.9 MB / 0.6486 GB, free: 28 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-05/1.361, allocations: 0.5 kB / 0.6486 GB, free: 28 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002416/1.363, allocations: 0.5776 MB / 0.6492 GB, free: 27.42 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002804/1.366, allocations: 1.078 MB / 0.6502 GB, free: 26.34 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004409/1.367, allocations: 75.92 kB / 0.6503 GB, free: 26.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01124/1.378, allocations: 8.308 MB / 0.6584 GB, free: 17.83 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/1.378, allocations: 4 kB / 0.6584 GB, free: 17.83 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01452/1.392, allocations: 9.012 MB / 0.6672 GB, free: 8.629 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002851/1.395, allocations: 0.8944 MB / 0.6681 GB, free: 7.711 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001334/1.397, allocations: 63.94 kB / 0.6681 GB, free: 7.648 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002804/1.4, allocations: 191.8 kB / 0.6683 GB, free: 7.461 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006881/1.4, allocations: 230.6 kB / 0.6685 GB, free: 7.234 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003249/1.401, allocations: 99.97 kB / 0.6686 GB, free: 7.137 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.005196/1.406, allocations: 2.542 MB / 0.6711 GB, free: 4.609 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.2e-07/1.406, allocations: 0 / 0.6711 GB, free: 4.609 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.007678/1.414, allocations: 1.557 MB / 0.6726 GB, free: 3.055 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.phi) * 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 (289): * Single equations (assignments): 284 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,40.8%) 44} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008072/1.414, allocations: 249.1 kB / 0.6729 GB, free: 2.812 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01258/1.427, allocations: 6.625 MB / 0.6793 GB, free: 12.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/1.427, allocations: 0 / 0.6793 GB, free: 12.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006801/1.434, allocations: 3.054 MB / 0.6823 GB, free: 9.113 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005506/1.439, allocations: 0.8591 MB / 0.6832 GB, free: 8.262 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0407/1.48, allocations: 19.35 MB / 0.7021 GB, free: 4.816 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2079/1.688, allocations: 6.375 MB / 0.7083 GB, free: 161 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.006519/1.695, allocations: 1.885 MB / 0.7101 GB, free: 161 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009482/1.696, allocations: 305.8 kB / 0.7104 GB, free: 160.9 MB / 462.1 MB Notification: Performance of SimCode: time 9.42e-07/1.696, allocations: 0 / 0.7104 GB, free: 160.9 MB / 462.1 MB Notification: Performance of Templates: time 0.09717/1.793, allocations: 59.4 MB / 0.7684 GB, free: 125.3 MB / 462.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) Environment - environmentSimulation: