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.001155/0.001155, allocations: 111.5 kB / 17.06 MB, free: 6.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.00108/0.00108, allocations: 200 kB / 18 MB, free: 5.168 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.543/1.543, 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.001155/0.001155, allocations: 51.92 kB / 327.9 MB, free: 3.258 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1035, allocations: 46.62 MB / 374.5 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.2528/0.3563, allocations: 27.07 MB / 401.6 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02258/0.379, allocations: 8.003 MB / 409.6 MB, free: 6.414 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008494/0.3875, allocations: 167.4 kB / 409.8 MB, free: 6.383 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02343/0.411, allocations: 9.364 MB / 419.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01523/0.4263, allocations: 3.366 MB / 422.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00761/0.4339, allocations: 1.84 MB / 424.3 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02079/0.4547, allocations: 12.28 MB / 436.6 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04603/0.5008, allocations: 24.42 MB / 461 MB, free: 9.016 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01272/0.5136, allocations: 6.546 MB / 467.6 MB, free: 2.453 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01389/0.5275, allocations: 7.261 MB / 474.8 MB, free: 11.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00619/0.5337, allocations: 1.852 MB / 476.7 MB, free: 9.312 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009163/0.5429, allocations: 2.214 MB / 478.9 MB, free: 7.102 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007268/0.5502, allocations: 3.667 MB / 482.6 MB, free: 3.426 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01529/0.5655, allocations: 7.008 MB / 489.6 MB, free: 12.39 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03135/0.5969, allocations: 24.76 MB / 0.5023 GB, free: 3.562 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.5969, allocations: 0 / 0.5023 GB, free: 3.562 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5969, allocations: 0 / 0.5023 GB, free: 3.562 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007921/0.5977, allocations: 0 / 0.5023 GB, free: 3.562 MB / 430.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.04561/0.6434, allocations: 14.68 MB / 0.5166 GB, free: 4.777 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/0.6434, allocations: 12.03 kB / 0.5166 GB, free: 4.766 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0515/0.695, allocations: 9.467 MB / 0.5259 GB, free: 11.27 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01817/0.7132, allocations: 6.895 MB / 0.5326 GB, free: 4.293 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008348/0.714, allocations: 0.8149 MB / 0.5334 GB, free: 3.477 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007555/0.7216, allocations: 1.078 MB / 0.5345 GB, free: 2.398 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3047/1.026, allocations: 18.74 MB / 0.5528 GB, free: 137.3 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005739/1.027, allocations: 14.06 kB / 0.5528 GB, free: 137.3 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005556/1.032, allocations: 454.2 kB / 0.5532 GB, free: 137.3 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001195/1.034, allocations: 0.6956 MB / 0.5539 GB, free: 137.3 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0531/1.087, allocations: 18.22 MB / 0.5717 GB, free: 131.7 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1061/1.193, allocations: 59.35 MB / 0.6296 GB, free: 82.85 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03284/1.226, allocations: 46.73 MB / 0.6753 GB, free: 31.2 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006461/1.232, allocations: 4.28 MB / 0.6794 GB, free: 26.9 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02117/1.254, allocations: 12.34 MB / 0.6915 GB, free: 14.59 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.574e-05/1.254, allocations: 77.58 kB / 0.6916 GB, free: 14.51 MB / 478.1 MB Notification: Performance of pre-optimization done (n=385): time 5.35e-06/1.254, allocations: 0 / 0.6916 GB, free: 14.51 MB / 478.1 MB Notification: Performance of matching and sorting (n=391): time 0.04594/1.3, allocations: 19.3 MB / 0.7104 GB, free: 11.12 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.88e-05/1.3, allocations: 94.47 kB / 0.7105 GB, free: 11.02 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009321/1.309, allocations: 4.339 MB / 0.7148 GB, free: 6.66 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001604/1.311, allocations: 89.7 kB / 0.7148 GB, free: 6.566 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004652/1.315, allocations: 4.821 MB / 0.7195 GB, free: 1.715 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00244/1.318, allocations: 1.35 MB / 0.7209 GB, free: 384 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002325/1.32, allocations: 1.272 MB / 0.7221 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001138/1.32, allocations: 304.1 kB / 0.7224 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004867/1.325, allocations: 3.124 MB / 0.7254 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007161/1.332, allocations: 5.74 MB / 0.7311 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01433/1.347, allocations: 9.446 MB / 0.7403 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.985e-05/1.347, allocations: 27.94 kB / 0.7403 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of matching and sorting (n=822) (initialization): time 0.3091/1.656, allocations: 10.27 MB / 0.7503 GB, free: 165.3 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.545e-05/1.656, allocations: 43.12 kB / 0.7504 GB, free: 165.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001768/1.656, allocations: 86.62 kB / 0.7505 GB, free: 165.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005295/1.662, allocations: 1.447 MB / 0.7519 GB, free: 165.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006266/1.668, allocations: 1.457 MB / 0.7533 GB, free: 165.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01893/1.687, allocations: 11.46 MB / 0.7645 GB, free: 161.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005988/1.693, allocations: 398.5 kB / 0.7649 GB, free: 161.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001576/1.695, allocations: 328.1 kB / 0.7652 GB, free: 161.3 MB / 0.5137 GB 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 (752): * Single equations (assignments): 750 * 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,56,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00937/1.704, allocations: 4.182 MB / 0.7693 GB, free: 159.4 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001455/1.705, allocations: 445 kB / 0.7697 GB, free: 159.4 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0137/1.719, allocations: 7.348 MB / 0.7769 GB, free: 156.5 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01051/1.73, allocations: 6.042 MB / 0.7828 GB, free: 154.2 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.368e-05/1.73, allocations: 11.5 kB / 0.7828 GB, free: 154.2 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.997e-05/1.73, allocations: 22.97 kB / 0.7828 GB, free: 154.2 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03056/1.76, allocations: 16.34 MB / 0.7987 GB, free: 147.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.592e-05/1.76, allocations: 3.703 kB / 0.7988 GB, free: 147.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003063/1.763, allocations: 0.7271 MB / 0.7995 GB, free: 147.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003438/1.767, allocations: 1.293 MB / 0.8007 GB, free: 147.6 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004532/1.767, allocations: 90.03 kB / 0.8008 GB, free: 147.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01272/1.78, allocations: 10.18 MB / 0.8107 GB, free: 140.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/1.78, allocations: 0 / 0.8107 GB, free: 140.4 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0162/1.796, allocations: 10.54 MB / 0.821 GB, free: 131 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003228/1.8, allocations: 1.036 MB / 0.8221 GB, free: 130.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00102/1.801, allocations: 75.98 kB / 0.8221 GB, free: 130 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002848/1.804, allocations: 243.8 kB / 0.8224 GB, free: 129.8 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006714/1.804, allocations: 279.4 kB / 0.8226 GB, free: 129.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002458/1.804, allocations: 112 kB / 0.8227 GB, free: 129.4 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003977/1.808, allocations: 2.908 MB / 0.8256 GB, free: 126.5 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.7e-07/1.808, allocations: 0 / 0.8256 GB, free: 126.5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.008001/1.816, allocations: 1.843 MB / 0.8274 GB, free: 124.6 MB / 0.5137 GB 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 (360): * Single equations (assignments): 358 * 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,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.0008806/1.817, allocations: 272.7 kB / 0.8276 GB, free: 124.4 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01242/1.83, allocations: 7.915 MB / 0.8354 GB, free: 116.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/1.83, allocations: 1.938 kB / 0.8354 GB, free: 116.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005872/1.836, allocations: 3.639 MB / 0.8389 GB, free: 112.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005739/1.841, allocations: 1.098 MB / 0.84 GB, free: 111.7 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03311/1.875, allocations: 18.72 MB / 0.8583 GB, free: 93 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009435/1.884, allocations: 7.032 MB / 0.8651 GB, free: 85.92 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005746/1.89, allocations: 2.248 MB / 0.8673 GB, free: 83.66 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001191/1.891, allocations: 363.4 kB / 0.8677 GB, free: 83.31 MB / 0.5137 GB Notification: Performance of SimCode: time 1.733e-06/1.891, allocations: 4 kB / 0.8677 GB, free: 83.3 MB / 0.5137 GB Notification: Performance of Templates: time 0.111/2.002, allocations: 72.12 MB / 0.9381 GB, free: 11.23 MB / 0.5137 GB 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)