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.IMS_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.IMS_Characteristics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 103.5 kB / 16.62 MB, free: 6.805 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.001244/0.001245, allocations: 189.8 kB / 17.55 MB, free: 5.953 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.586/1.586, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.001338/0.001338, allocations: 55.92 kB / 279.5 MB, free: 3.457 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1118, allocations: 46.62 MB / 326.2 MB, free: 4.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02845/0.1402, allocations: 26.6 MB / 352.8 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01811/0.1584, allocations: 7.896 MB / 360.7 MB, free: 2.117 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006906/0.1654, allocations: 163.4 kB / 360.8 MB, free: 1.957 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02113/0.1866, allocations: 8.877 MB / 369.7 MB, free: 9.047 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01462/0.2012, allocations: 3.065 MB / 372.8 MB, free: 5.969 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006936/0.2082, allocations: 1.712 MB / 374.5 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2272/0.4353, allocations: 12.23 MB / 386.7 MB, free: 11.66 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03758/0.473, allocations: 28.13 MB / 414.8 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01476/0.4878, allocations: 6.682 MB / 421.5 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01297/0.5008, allocations: 7.382 MB / 428.9 MB, free: 5.457 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005465/0.5063, allocations: 1.852 MB / 430.7 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009905/0.5162, allocations: 2.219 MB / 433 MB, free: 1.465 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009812/0.5261, allocations: 4.009 MB / 437 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01525/0.5413, allocations: 7 MB / 444 MB, free: 8.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03236/0.5737, allocations: 24.65 MB / 468.6 MB, free: 272 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.5738, allocations: 0 / 468.6 MB, free: 272 kB / 366.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5738, allocations: 0 / 468.6 MB, free: 272 kB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0007451/0.5745, allocations: 4 kB / 468.6 MB, free: 268 kB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.05047/0.625, allocations: 14.76 MB / 483.4 MB, free: 1.527 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/0.6251, allocations: 12.03 kB / 483.4 MB, free: 1.516 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05094/0.676, allocations: 9.417 MB / 492.8 MB, free: 8.199 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0171/0.6932, allocations: 6.878 MB / 499.7 MB, free: 1.574 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00086/0.6941, allocations: 0.8265 MB / 0.4888 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005739/0.6998, allocations: 1.076 MB / 0.4898 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05685/0.7567, allocations: 18.76 MB / 0.5082 GB, free: 12.91 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004876/0.7573, allocations: 11.89 kB / 0.5082 GB, free: 12.9 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005014/0.7623, allocations: 462.8 kB / 0.5086 GB, free: 12.46 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008612/0.7632, allocations: 0.6911 MB / 0.5093 GB, free: 11.77 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04543/0.8086, allocations: 18.23 MB / 0.5271 GB, free: 9.539 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4758/1.284, allocations: 59.98 MB / 0.5857 GB, free: 109.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03186/1.316, allocations: 46.74 MB / 0.6313 GB, free: 64.08 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008173/1.325, allocations: 4.315 MB / 0.6355 GB, free: 61.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02249/1.347, allocations: 12.48 MB / 0.6477 GB, free: 48.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.517e-05/1.347, allocations: 77.55 kB / 0.6478 GB, free: 48.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=391): time 5.591e-06/1.347, allocations: 0 / 0.6478 GB, free: 48.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=397): time 0.04531/1.393, allocations: 19.42 MB / 0.6667 GB, free: 29.31 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.911e-05/1.393, allocations: 102.4 kB / 0.6668 GB, free: 29.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008436/1.401, allocations: 4.335 MB / 0.6711 GB, free: 24.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009471/1.402, allocations: 85.7 kB / 0.6712 GB, free: 24.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002712/1.405, allocations: 4.815 MB / 0.6759 GB, free: 19.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001839/1.407, allocations: 1.369 MB / 0.6772 GB, free: 18.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004059/1.411, allocations: 1.278 MB / 0.6784 GB, free: 17.26 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.565e-05/1.411, allocations: 305.1 kB / 0.6787 GB, free: 16.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004545/1.415, allocations: 3.151 MB / 0.6818 GB, free: 13.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006276/1.422, allocations: 5.773 MB / 0.6875 GB, free: 6.805 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01345/1.435, allocations: 9.51 MB / 0.6967 GB, free: 12.06 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002206/1.436, allocations: 24 kB / 0.6968 GB, free: 12.04 MB / 462.1 MB Notification: Performance of matching and sorting (n=828) (initialization): time 0.02569/1.461, allocations: 10.33 MB / 0.7068 GB, free: 1.688 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001543/1.461, allocations: 44 kB / 0.7069 GB, free: 1.645 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001918/1.462, allocations: 88.38 kB / 0.707 GB, free: 1.559 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004255/1.466, allocations: 1.425 MB / 0.7084 GB, free: 132 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2215/1.687, allocations: 1.453 MB / 0.7098 GB, free: 149.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01839/1.706, allocations: 11.34 MB / 0.7209 GB, free: 145.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006312/1.712, allocations: 403.3 kB / 0.7212 GB, free: 145.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001102/1.713, allocations: 327.9 kB / 0.7215 GB, free: 145.6 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 396 * 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 (755): * Single equations (assignments): 750 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009388/1.723, allocations: 4.174 MB / 0.7256 GB, free: 143.6 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001302/1.724, allocations: 453.7 kB / 0.7261 GB, free: 143.6 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01169/1.736, allocations: 7.405 MB / 0.7333 GB, free: 140.7 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008661/1.744, allocations: 6.081 MB / 0.7392 GB, free: 138.3 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-05/1.745, allocations: 11.62 kB / 0.7392 GB, free: 138.3 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.535e-05/1.745, allocations: 28.39 kB / 0.7393 GB, free: 138.3 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02609/1.771, allocations: 16.45 MB / 0.7553 GB, free: 130.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.54e-05/1.771, allocations: 4 kB / 0.7553 GB, free: 130.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003026/1.774, allocations: 0.7177 MB / 0.756 GB, free: 129.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003114/1.777, allocations: 1.257 MB / 0.7573 GB, free: 128.5 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004307/1.777, allocations: 87.97 kB / 0.7573 GB, free: 128.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01159/1.789, allocations: 10.06 MB / 0.7672 GB, free: 118.4 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.789, allocations: 0 / 0.7672 GB, free: 118.4 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01382/1.803, allocations: 10.63 MB / 0.7776 GB, free: 107.9 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002369/1.805, allocations: 1.038 MB / 0.7786 GB, free: 106.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008596/1.806, allocations: 76.06 kB / 0.7786 GB, free: 106.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002391/1.809, allocations: 255.5 kB / 0.7789 GB, free: 106.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008261/1.809, allocations: 271.5 kB / 0.7791 GB, free: 106.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002629/1.81, allocations: 120 kB / 0.7793 GB, free: 106.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005262/1.815, allocations: 2.908 MB / 0.7821 GB, free: 103.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.72e-07/1.815, allocations: 0 / 0.7821 GB, free: 103.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01094/1.826, allocations: 1.842 MB / 0.7839 GB, free: 101.4 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (imsQS.rotor.strayReluctance.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 (363): * Single equations (assignments): 358 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001863/1.828, allocations: 251.5 kB / 0.7841 GB, free: 101.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.02991/1.858, allocations: 14.5 MB / 0.7983 GB, free: 86.65 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/1.858, allocations: 3.609 kB / 0.7983 GB, free: 86.65 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006873/1.865, allocations: 3.685 MB / 0.8019 GB, free: 82.96 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007209/1.872, allocations: 1.098 MB / 0.803 GB, free: 81.87 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03845/1.91, allocations: 23.57 MB / 0.826 GB, free: 58.27 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01226/1.923, allocations: 7.036 MB / 0.8329 GB, free: 51.19 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.007249/1.93, allocations: 2.248 MB / 0.8351 GB, free: 48.93 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00144/1.931, allocations: 367.4 kB / 0.8354 GB, free: 48.57 MB / 462.1 MB Notification: Performance of SimCode: time 1.272e-06/1.931, allocations: 0 / 0.8354 GB, free: 48.57 MB / 462.1 MB Notification: Performance of Templates: time 0.3767/2.308, allocations: 75.46 MB / 0.9091 GB, free: 125.5 MB / 462.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1)