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.001116/0.001116, allocations: 107.6 kB / 17.06 MB, free: 5.824 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.001165/0.001165, allocations: 192 kB / 18 MB, free: 4.977 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.457/1.457, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.001352/0.001352, allocations: 55.92 kB / 327.9 MB, free: 3.27 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.114, allocations: 46.61 MB / 374.5 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.2977/0.4117, allocations: 24.88 MB / 399.4 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02213/0.4339, allocations: 7.35 MB / 406.7 MB, free: 8.281 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009567/0.4435, allocations: 157.8 kB / 406.9 MB, free: 8.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02426/0.468, allocations: 8.857 MB / 415.8 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0146/0.4826, allocations: 3.015 MB / 418.8 MB, free: 28 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007276/0.4899, allocations: 1.741 MB / 420.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.021/0.5109, allocations: 10.86 MB / 431.4 MB, free: 6.762 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03818/0.5491, allocations: 21.87 MB / 453.2 MB, free: 0.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01175/0.5609, allocations: 5.802 MB / 459 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01301/0.574, allocations: 6.35 MB / 465.4 MB, free: 4.562 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006474/0.5805, allocations: 1.68 MB / 467.1 MB, free: 2.883 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009169/0.5897, allocations: 2.039 MB / 469.1 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00773/0.5974, allocations: 3.223 MB / 472.3 MB, free: 13.61 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01796/0.6154, allocations: 6.168 MB / 478.5 MB, free: 7.418 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0338/0.6493, allocations: 22.37 MB / 0.4891 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.6493, allocations: 0 / 0.4891 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.6493, allocations: 4 kB / 0.4891 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0007644/0.6501, allocations: 0 / 0.4891 GB, free: 0.9805 MB / 414.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.04929/0.6994, allocations: 12.9 MB / 0.5017 GB, free: 3.984 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.211e-05/0.6995, allocations: 8.031 kB / 0.5017 GB, free: 3.977 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04135/0.7409, allocations: 7.195 MB / 0.5088 GB, free: 12.76 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01654/0.7574, allocations: 6.164 MB / 0.5148 GB, free: 6.539 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009163/0.7584, allocations: 0.7105 MB / 0.5155 GB, free: 5.828 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005537/0.764, allocations: 0.9373 MB / 0.5164 GB, free: 4.891 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04985/0.8138, allocations: 16.2 MB / 0.5322 GB, free: 4.625 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006484/0.8145, allocations: 11.91 kB / 0.5322 GB, free: 4.613 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00485/0.8194, allocations: 396 kB / 0.5326 GB, free: 4.227 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008221/0.8202, allocations: 0.5902 MB / 0.5332 GB, free: 3.633 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03861/0.8589, allocations: 15.46 MB / 0.5483 GB, free: 4.145 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5805/1.439, allocations: 52.22 MB / 0.5993 GB, free: 105.1 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0252/1.465, allocations: 35.49 MB / 0.6339 GB, free: 70.37 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005094/1.47, allocations: 3.387 MB / 0.6373 GB, free: 68.59 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01841/1.488, allocations: 10.05 MB / 0.6471 GB, free: 60.57 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.653e-05/1.488, allocations: 64.89 kB / 0.6471 GB, free: 60.5 MB / 478.1 MB Notification: Performance of pre-optimization done (n=297): time 5.279e-06/1.488, allocations: 3.938 kB / 0.6471 GB, free: 60.49 MB / 478.1 MB Notification: Performance of matching and sorting (n=303): time 0.03114/1.519, allocations: 15.36 MB / 0.6621 GB, free: 45 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/1.52, allocations: 81.78 kB / 0.6622 GB, free: 44.9 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007195/1.527, allocations: 3.856 MB / 0.666 GB, free: 41.05 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002211/1.527, allocations: 73.7 kB / 0.666 GB, free: 40.98 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00235/1.529, allocations: 4.266 MB / 0.6702 GB, free: 36.68 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007618/1.53, allocations: 1.053 MB / 0.6712 GB, free: 35.64 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001813/1.532, allocations: 1.091 MB / 0.6723 GB, free: 34.54 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.276e-05/1.532, allocations: 301.1 kB / 0.6726 GB, free: 34.24 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003312/1.535, allocations: 2.552 MB / 0.6751 GB, free: 31.68 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003811/1.539, allocations: 4.913 MB / 0.6799 GB, free: 25.65 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007097/1.546, allocations: 7.945 MB / 0.6876 GB, free: 16.56 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-05/1.546, allocations: 20 kB / 0.6877 GB, free: 16.54 MB / 478.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01178/1.558, allocations: 8.645 MB / 0.6961 GB, free: 7.859 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.404e-05/1.558, allocations: 40 kB / 0.6961 GB, free: 7.82 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001298/1.558, allocations: 84.52 kB / 0.6962 GB, free: 7.738 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003122/1.561, allocations: 1.242 MB / 0.6974 GB, free: 6.492 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003586/1.565, allocations: 1.221 MB / 0.6986 GB, free: 5.27 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01404/1.579, allocations: 9.956 MB / 0.7083 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004334/1.583, allocations: 331.4 kB / 0.7087 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009436/1.584, allocations: 284 kB / 0.7089 GB, free: 10.57 MB / 494.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 (638): * Single equations (assignments): 636 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008027/1.592, allocations: 3.74 MB / 0.7126 GB, free: 6.816 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001332/1.594, allocations: 379.3 kB / 0.713 GB, free: 6.441 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01237/1.606, allocations: 5.807 MB / 0.7186 GB, free: 0.582 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008299/1.614, allocations: 4.766 MB / 0.7233 GB, free: 11.77 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.449e-05/1.614, allocations: 8 kB / 0.7233 GB, free: 11.76 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.102e-05/1.615, allocations: 19.94 kB / 0.7233 GB, free: 11.74 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03125/1.646, allocations: 13.7 MB / 0.7367 GB, free: 13.98 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.828e-05/1.646, allocations: 4 kB / 0.7367 GB, free: 13.98 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002545/1.648, allocations: 0.5539 MB / 0.7372 GB, free: 13.42 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00327/1.652, allocations: 1.11 MB / 0.7383 GB, free: 12.3 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004754/1.652, allocations: 79.91 kB / 0.7384 GB, free: 12.23 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01325/1.665, allocations: 8.844 MB / 0.747 GB, free: 3.258 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/1.665, allocations: 4 kB / 0.747 GB, free: 3.254 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2615/1.927, allocations: 8.493 MB / 0.7553 GB, free: 172.6 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002652/1.93, allocations: 0.8678 MB / 0.7562 GB, free: 172.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000731/1.93, allocations: 59.66 kB / 0.7562 GB, free: 172.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001924/1.932, allocations: 190.9 kB / 0.7564 GB, free: 172.5 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006542/1.933, allocations: 221.6 kB / 0.7566 GB, free: 172.5 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002319/1.933, allocations: 91.91 kB / 0.7567 GB, free: 172.5 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.004963/1.938, allocations: 2.591 MB / 0.7592 GB, free: 171.5 MB / 0.5138 GB Notification: Performance of sort global known variables: time 3.2e-07/1.938, allocations: 0 / 0.7592 GB, free: 171.5 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.00753/1.946, allocations: 1.553 MB / 0.7607 GB, free: 171.4 MB / 0.5138 GB 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 (282): * Single equations (assignments): 280 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008312/1.947, allocations: 248.1 kB / 0.761 GB, free: 171.2 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01323/1.96, allocations: 6.522 MB / 0.7674 GB, free: 168.7 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/1.96, allocations: 0 / 0.7674 GB, free: 168.7 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.005903/1.966, allocations: 2.962 MB / 0.7702 GB, free: 167.5 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007109/1.973, allocations: 0.9603 MB / 0.7712 GB, free: 167.1 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03224/2.005, allocations: 16.09 MB / 0.7869 GB, free: 160 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00827/2.014, allocations: 6.227 MB / 0.793 GB, free: 157.1 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.004941/2.019, allocations: 1.888 MB / 0.7948 GB, free: 155.9 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007596/2.019, allocations: 305.5 kB / 0.7951 GB, free: 155.6 MB / 0.5138 GB Notification: Performance of SimCode: time 9.01e-07/2.019, allocations: 0 / 0.7951 GB, free: 155.6 MB / 0.5138 GB Notification: Performance of Templates: time 0.0957/2.115, allocations: 60.75 MB / 0.8544 GB, free: 96.85 MB / 0.5138 GB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile (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)