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.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.1_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.1_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.01153/0.01153, allocations: 98.34 kB / 15.73 MB, free: 6.055 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.002013/0.002013, allocations: 191.7 kB / 16.67 MB, free: 5.965 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.578/1.578, allocations: 205.1 MB / 222.6 MB, free: 4.531 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.001606/0.001606, allocations: 50.55 kB / 326.6 MB, free: 14.37 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1088, allocations: 46.63 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02889/0.1377, allocations: 27.06 MB / 400.3 MB, free: 6.109 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01945/0.1572, allocations: 8.004 MB / 408.3 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006916/0.1642, allocations: 167.5 kB / 408.4 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02241/0.1867, allocations: 9.362 MB / 417.8 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01374/0.2004, allocations: 3.373 MB / 421.2 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007503/0.208, allocations: 1.84 MB / 423 MB, free: 15.28 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01868/0.2267, allocations: 12.28 MB / 435.3 MB, free: 2.953 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3083/0.535, allocations: 24.41 MB / 459.7 MB, free: 14.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01651/0.5516, allocations: 6.525 MB / 466.2 MB, free: 14.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01651/0.5682, allocations: 7.27 MB / 473.5 MB, free: 13.42 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005789/0.574, allocations: 1.848 MB / 475.4 MB, free: 13.42 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009853/0.5839, allocations: 2.213 MB / 477.6 MB, free: 13.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007556/0.5915, allocations: 3.669 MB / 481.2 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01808/0.6096, allocations: 7.005 MB / 488.2 MB, free: 10.1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03801/0.6476, allocations: 24.82 MB / 0.501 GB, free: 10.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.361e-05/0.6477, allocations: 0 / 0.501 GB, free: 10.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.457e-06/0.6477, allocations: 3.938 kB / 0.501 GB, free: 10.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.001407/0.6492, allocations: 0 / 0.501 GB, free: 10.09 MB / 398.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.05481/0.704, allocations: 14.92 MB / 0.5156 GB, free: 11.17 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.704, allocations: 8.031 kB / 0.5156 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05374/0.7578, allocations: 9.52 MB / 0.5249 GB, free: 1.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01817/0.776, allocations: 6.915 MB / 0.5317 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001021/0.7771, allocations: 0.819 MB / 0.5325 GB, free: 10.29 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005436/0.7825, allocations: 1.083 MB / 0.5335 GB, free: 9.223 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05102/0.8336, allocations: 18.75 MB / 0.5518 GB, free: 6.449 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007585/0.8344, allocations: 19.89 kB / 0.5519 GB, free: 6.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005822/0.8402, allocations: 455.3 kB / 0.5523 GB, free: 6 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009153/0.8411, allocations: 0.7027 MB / 0.553 GB, free: 5.297 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04631/0.8875, allocations: 18.22 MB / 0.5708 GB, free: 3.078 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1168/1.004, allocations: 59.5 MB / 0.6289 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5486/1.553, allocations: 46.71 MB / 0.6745 GB, free: 129 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008425/1.561, allocations: 4.274 MB / 0.6787 GB, free: 129 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02108/1.583, allocations: 12.38 MB / 0.6907 GB, free: 123.6 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.819e-05/1.583, allocations: 74.7 kB / 0.6908 GB, free: 123.6 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=385): time 5.3e-06/1.583, allocations: 0 / 0.6908 GB, free: 123.6 MB / 0.5138 GB Notification: Performance of matching and sorting (n=391): time 0.04399/1.627, allocations: 19.44 MB / 0.7098 GB, free: 116.5 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.097e-05/1.627, allocations: 88.84 kB / 0.7099 GB, free: 116.5 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006843/1.634, allocations: 4.345 MB / 0.7141 GB, free: 114.9 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001021/1.635, allocations: 85.2 kB / 0.7142 GB, free: 114.8 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.003313/1.638, allocations: 5.002 MB / 0.7191 GB, free: 111.5 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002178/1.64, allocations: 1.412 MB / 0.7205 GB, free: 110.4 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002026/1.642, allocations: 1.287 MB / 0.7217 GB, free: 109.8 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 6.385e-05/1.642, allocations: 305.1 kB / 0.722 GB, free: 109.5 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004305/1.647, allocations: 3.119 MB / 0.7251 GB, free: 108.3 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005943/1.653, allocations: 5.738 MB / 0.7307 GB, free: 103.5 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01078/1.663, allocations: 9.452 MB / 0.7399 GB, free: 93.26 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001133/1.664, allocations: 28.5 kB / 0.7399 GB, free: 93.23 MB / 0.5138 GB Notification: Performance of matching and sorting (n=822) (initialization): time 0.01863/1.682, allocations: 10.3 MB / 0.75 GB, free: 82.91 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 8.71e-05/1.682, allocations: 40 kB / 0.75 GB, free: 82.87 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001913/1.683, allocations: 88 kB / 0.7501 GB, free: 82.79 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003847/1.686, allocations: 1.453 MB / 0.7515 GB, free: 81.33 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005744/1.692, allocations: 1.462 MB / 0.753 GB, free: 79.87 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01621/1.708, allocations: 11.46 MB / 0.7641 GB, free: 68.27 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008134/1.717, allocations: 403.5 kB / 0.7645 GB, free: 67.88 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001957/1.719, allocations: 328 kB / 0.7648 GB, free: 67.56 MB / 0.5138 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.01123/1.73, allocations: 4.184 MB / 0.7689 GB, free: 63.36 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002205/1.732, allocations: 465 kB / 0.7694 GB, free: 62.9 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01592/1.748, allocations: 7.355 MB / 0.7766 GB, free: 55.5 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009961/1.758, allocations: 6.023 MB / 0.7824 GB, free: 49.46 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.36e-05/1.758, allocations: 15.94 kB / 0.7825 GB, free: 49.44 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.788e-05/1.758, allocations: 19.92 kB / 0.7825 GB, free: 49.42 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03935/1.797, allocations: 16.35 MB / 0.7984 GB, free: 33.07 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.456e-05/1.797, allocations: 4 kB / 0.7984 GB, free: 33.06 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003296/1.801, allocations: 0.7216 MB / 0.7991 GB, free: 32.34 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003561/1.804, allocations: 1.297 MB / 0.8004 GB, free: 31.04 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007703/1.805, allocations: 94.72 kB / 0.8005 GB, free: 30.95 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01453/1.82, allocations: 10.18 MB / 0.8104 GB, free: 20.64 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/1.82, allocations: 3.938 kB / 0.8104 GB, free: 20.63 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02066/1.84, allocations: 10.56 MB / 0.8208 GB, free: 10.01 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002946/1.843, allocations: 1.064 MB / 0.8218 GB, free: 8.926 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00143/1.845, allocations: 75.98 kB / 0.8219 GB, free: 8.852 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003352/1.848, allocations: 247.7 kB / 0.8221 GB, free: 8.609 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009256/1.849, allocations: 271.5 kB / 0.8224 GB, free: 8.344 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000443/1.85, allocations: 112 kB / 0.8225 GB, free: 8.234 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.006429/1.856, allocations: 2.904 MB / 0.8253 GB, free: 5.32 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.7e-07/1.856, allocations: 0 / 0.8253 GB, free: 5.32 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.008815/1.865, allocations: 1.851 MB / 0.8271 GB, free: 3.469 MB / 0.5138 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.0009689/1.866, allocations: 266.3 kB / 0.8274 GB, free: 3.203 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.2632/2.129, allocations: 7.907 MB / 0.8351 GB, free: 166.5 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/2.129, allocations: 1.281 kB / 0.8351 GB, free: 166.5 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.007503/2.137, allocations: 3.652 MB / 0.8387 GB, free: 166.2 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005788/2.143, allocations: 1.087 MB / 0.8397 GB, free: 166.1 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03444/2.177, allocations: 19.01 MB / 0.8583 GB, free: 157.7 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00901/2.186, allocations: 7.036 MB / 0.8652 GB, free: 155.2 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.006206/2.192, allocations: 2.243 MB / 0.8673 GB, free: 155 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001373/2.194, allocations: 360.6 kB / 0.8677 GB, free: 155 MB / 0.5138 GB Notification: Performance of SimCode: time 1.142e-06/2.194, allocations: 0 / 0.8677 GB, free: 155 MB / 0.5138 GB Notification: Performance of Templates: time 0.1545/2.348, allocations: 71.92 MB / 0.9379 GB, free: 90.84 MB / 0.5138 GB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1)