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_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.1_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.1_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.006496/0.006496, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001625/0.001625, allocations: 189.4 kB / 16.67 MB, free: 5.934 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.596/1.596, allocations: 205.1 MB / 222.6 MB, free: 4.469 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.001191/0.001191, allocations: 45.78 kB / 326.6 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1196, allocations: 46.62 MB / 373.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.0277/0.1473, allocations: 24.89 MB / 398.1 MB, free: 8.297 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02019/0.1676, allocations: 7.357 MB / 405.4 MB, free: 0.918 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007621/0.1753, allocations: 151.6 kB / 405.6 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02251/0.1979, allocations: 8.845 MB / 414.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01387/0.2118, allocations: 3.019 MB / 417.5 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006685/0.2185, allocations: 1.746 MB / 419.2 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01896/0.2375, allocations: 10.87 MB / 430.1 MB, free: 8.195 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04793/0.2855, allocations: 21.86 MB / 451.9 MB, free: 2.195 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.326/0.6115, allocations: 5.8 MB / 457.7 MB, free: 22.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01538/0.627, allocations: 6.351 MB / 464.1 MB, free: 22.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009596/0.6366, allocations: 1.679 MB / 465.8 MB, free: 22.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01368/0.6503, allocations: 2.042 MB / 467.8 MB, free: 22.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009048/0.6594, allocations: 3.215 MB / 471 MB, free: 22.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01637/0.6759, allocations: 6.177 MB / 477.2 MB, free: 19.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02962/0.7055, allocations: 22.41 MB / 499.6 MB, free: 6.562 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.774e-06/0.7056, allocations: 0 / 499.6 MB, free: 6.562 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.7056, allocations: 0.8125 kB / 499.6 MB, free: 6.562 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0007753/0.7064, allocations: 3.906 kB / 499.6 MB, free: 6.562 MB / 382.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.04846/0.7548, allocations: 13.13 MB / 0.5007 GB, free: 13.99 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.824e-05/0.7549, allocations: 12.03 kB / 0.5007 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04258/0.7975, allocations: 7.241 MB / 0.5078 GB, free: 6.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02284/0.8204, allocations: 6.17 MB / 0.5138 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009601/0.8214, allocations: 0.7113 MB / 0.5145 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006022/0.8274, allocations: 0.9333 MB / 0.5154 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05552/0.883, allocations: 16.21 MB / 0.5313 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006213/0.8837, allocations: 15.89 kB / 0.5313 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005046/0.8887, allocations: 398.8 kB / 0.5317 GB, free: 14.64 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008176/0.8896, allocations: 0.5835 MB / 0.5322 GB, free: 14.05 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04154/0.9311, allocations: 15.46 MB / 0.5473 GB, free: 14.58 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1196/1.051, allocations: 52.35 MB / 0.5985 GB, free: 9.812 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03635/1.087, allocations: 35.5 MB / 0.6331 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.304/1.391, allocations: 3.373 MB / 0.6364 GB, free: 178.4 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02007/1.411, allocations: 10.08 MB / 0.6463 GB, free: 175.5 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.562e-05/1.411, allocations: 70.67 kB / 0.6463 GB, free: 175.5 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=297): time 4.368e-06/1.411, allocations: 0 / 0.6463 GB, free: 175.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=303): time 0.03459/1.446, allocations: 15.47 MB / 0.6614 GB, free: 169.4 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.961e-05/1.446, allocations: 81.44 kB / 0.6615 GB, free: 169.3 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005977/1.452, allocations: 3.863 MB / 0.6653 GB, free: 167.9 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004829/1.453, allocations: 79.2 kB / 0.6654 GB, free: 167.8 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002976/1.456, allocations: 4.414 MB / 0.6697 GB, free: 164.5 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001234/1.457, allocations: 1.103 MB / 0.6707 GB, free: 163.6 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001564/1.458, allocations: 1.104 MB / 0.6718 GB, free: 163.1 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 5.858e-05/1.459, allocations: 309.1 kB / 0.6721 GB, free: 162.8 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003363/1.462, allocations: 2.545 MB / 0.6746 GB, free: 161.8 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003966/1.466, allocations: 4.911 MB / 0.6794 GB, free: 157.7 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007324/1.473, allocations: 7.951 MB / 0.6872 GB, free: 151.9 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.173e-05/1.473, allocations: 27.38 kB / 0.6872 GB, free: 151.9 MB / 0.5137 GB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01292/1.486, allocations: 8.66 MB / 0.6957 GB, free: 147.2 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.324e-05/1.486, allocations: 43.94 kB / 0.6957 GB, free: 147.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001035/1.486, allocations: 79 kB / 0.6958 GB, free: 147.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003122/1.489, allocations: 1.252 MB / 0.697 GB, free: 146.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003689/1.493, allocations: 1.222 MB / 0.6982 GB, free: 145 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01246/1.506, allocations: 9.95 MB / 0.7079 GB, free: 134.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004746/1.51, allocations: 336.1 kB / 0.7082 GB, free: 134.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005479/1.511, allocations: 284 kB / 0.7085 GB, free: 134.3 MB / 0.5137 GB 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.006467/1.517, allocations: 3.732 MB / 0.7121 GB, free: 130.5 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001036/1.519, allocations: 401.4 kB / 0.7125 GB, free: 130.1 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009406/1.528, allocations: 5.807 MB / 0.7182 GB, free: 124.3 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006457/1.534, allocations: 4.774 MB / 0.7229 GB, free: 119.5 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.344e-05/1.534, allocations: 8 kB / 0.7229 GB, free: 119.5 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.383e-05/1.534, allocations: 11.95 kB / 0.7229 GB, free: 119.5 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02172/1.556, allocations: 13.7 MB / 0.7362 GB, free: 105.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/1.556, allocations: 4 kB / 0.7363 GB, free: 105.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002162/1.558, allocations: 0.5615 MB / 0.7368 GB, free: 105.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002891/1.561, allocations: 1.117 MB / 0.7379 GB, free: 104 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002691/1.562, allocations: 75.92 kB / 0.738 GB, free: 103.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01079/1.572, allocations: 8.85 MB / 0.7466 GB, free: 94.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/1.572, allocations: 7.938 kB / 0.7466 GB, free: 94.96 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0117/1.584, allocations: 8.517 MB / 0.7549 GB, free: 86.31 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00261/1.587, allocations: 0.8887 MB / 0.7558 GB, free: 85.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005177/1.587, allocations: 67.92 kB / 0.7559 GB, free: 85.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001797/1.589, allocations: 182.7 kB / 0.756 GB, free: 85.16 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005337/1.59, allocations: 222.8 kB / 0.7563 GB, free: 84.94 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001946/1.59, allocations: 87.98 kB / 0.7563 GB, free: 84.86 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003393/1.593, allocations: 2.588 MB / 0.7589 GB, free: 82.28 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/1.593, allocations: 3.938 kB / 0.7589 GB, free: 82.28 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005701/1.599, allocations: 1.551 MB / 0.7604 GB, free: 80.73 MB / 0.5137 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.0005764/1.6, allocations: 246 kB / 0.7606 GB, free: 80.48 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01078/1.61, allocations: 6.523 MB / 0.767 GB, free: 73.93 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.789e-06/1.61, allocations: 0 / 0.767 GB, free: 73.93 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004919/1.615, allocations: 2.968 MB / 0.7699 GB, free: 70.96 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004407/1.62, allocations: 0.9512 MB / 0.7708 GB, free: 70.03 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02574/1.646, allocations: 16.34 MB / 0.7868 GB, free: 53.61 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005617/1.651, allocations: 6.235 MB / 0.7929 GB, free: 47.33 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00454/1.656, allocations: 1.882 MB / 0.7947 GB, free: 45.45 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008065/1.657, allocations: 303.4 kB / 0.795 GB, free: 45.15 MB / 0.5137 GB Notification: Performance of SimCode: time 1.814e-06/1.657, allocations: 0 / 0.795 GB, free: 45.15 MB / 0.5137 GB Notification: Performance of Templates: time 0.3652/2.022, allocations: 60.77 MB / 0.8543 GB, free: 155 MB / 0.5137 GB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1)