Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.00581/0.005809, allocations: 106.2 kB / 15.74 MB, free: 6 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.001087/0.001088, allocations: 199 kB / 16.68 MB, free: 5.918 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.515/1.515, allocations: 205.1 MB / 222.5 MB, free: 4.324 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.001362/0.001362, allocations: 50.42 kB / 326.6 MB, free: 14.44 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1141, allocations: 46.63 MB / 373.2 MB, free: 1.281 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.03016/0.1443, allocations: 27.07 MB / 400.3 MB, free: 6.082 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01948/0.1638, allocations: 8 MB / 408.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007026/0.1708, allocations: 171.4 kB / 408.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02241/0.1933, allocations: 9.424 MB / 417.9 MB, free: 4.422 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01598/0.2093, allocations: 3.42 MB / 421.3 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007176/0.2165, allocations: 1.836 MB / 423.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01887/0.2354, allocations: 12.28 MB / 435.4 MB, free: 2.812 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3141/0.5496, allocations: 24.41 MB / 459.8 MB, free: 14.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01218/0.5618, allocations: 6.545 MB / 466.4 MB, free: 13.83 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01397/0.5758, allocations: 7.265 MB / 473.6 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007054/0.5829, allocations: 1.849 MB / 475.5 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01064/0.5936, allocations: 2.216 MB / 477.7 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008162/0.6018, allocations: 3.675 MB / 481.4 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01807/0.6199, allocations: 7.003 MB / 488.4 MB, free: 9.445 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02973/0.6496, allocations: 24.76 MB / 0.5011 GB, free: 10.15 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.6497, allocations: 0 / 0.5011 GB, free: 10.15 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.6497, allocations: 0 / 0.5011 GB, free: 10.15 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0008614/0.6506, allocations: 3.938 kB / 0.5011 GB, free: 10.15 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.04835/0.6989, allocations: 14.67 MB / 0.5154 GB, free: 11.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.699, allocations: 12.03 kB / 0.5155 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0528/0.7518, allocations: 9.467 MB / 0.5247 GB, free: 2.125 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01608/0.7679, allocations: 6.905 MB / 0.5314 GB, free: 11.48 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009151/0.7689, allocations: 0.8131 MB / 0.5322 GB, free: 10.68 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005303/0.7742, allocations: 1.071 MB / 0.5333 GB, free: 9.621 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05508/0.8293, allocations: 18.75 MB / 0.5516 GB, free: 6.844 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004698/0.8298, allocations: 15.89 kB / 0.5516 GB, free: 6.828 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004883/0.8347, allocations: 461.6 kB / 0.552 GB, free: 6.395 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007852/0.8355, allocations: 0.6989 MB / 0.5527 GB, free: 5.695 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04392/0.8794, allocations: 18.23 MB / 0.5705 GB, free: 3.465 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1167/0.9962, allocations: 59.34 MB / 0.6285 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3729/1.369, allocations: 46.71 MB / 0.6741 GB, free: 131 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008624/1.378, allocations: 4.279 MB / 0.6783 GB, free: 131 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02152/1.399, allocations: 12.36 MB / 0.6903 GB, free: 125.8 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.17e-05/1.4, allocations: 77.17 kB / 0.6904 GB, free: 125.8 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=385): time 6.292e-06/1.4, allocations: 0 / 0.6904 GB, free: 125.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=391): time 0.04411/1.444, allocations: 19.31 MB / 0.7093 GB, free: 118.4 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/1.444, allocations: 89.19 kB / 0.7094 GB, free: 118.3 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006738/1.45, allocations: 4.344 MB / 0.7136 GB, free: 116.7 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000817/1.451, allocations: 89.23 kB / 0.7137 GB, free: 116.6 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002481/1.454, allocations: 4.822 MB / 0.7184 GB, free: 113 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001739/1.456, allocations: 1.35 MB / 0.7197 GB, free: 112 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002029/1.458, allocations: 1.269 MB / 0.7209 GB, free: 111.4 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 4.954e-05/1.458, allocations: 305.1 kB / 0.7212 GB, free: 111.1 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0043/1.462, allocations: 3.119 MB / 0.7243 GB, free: 109.9 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005198/1.467, allocations: 5.74 MB / 0.7299 GB, free: 105.3 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01023/1.477, allocations: 9.448 MB / 0.7391 GB, free: 95.93 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.432e-05/1.478, allocations: 24 kB / 0.7391 GB, free: 95.91 MB / 0.5137 GB Notification: Performance of matching and sorting (n=822) (initialization): time 0.01772/1.495, allocations: 10.28 MB / 0.7492 GB, free: 85.6 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001599/1.496, allocations: 44 kB / 0.7492 GB, free: 85.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001841/1.496, allocations: 88.38 kB / 0.7493 GB, free: 85.47 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003886/1.5, allocations: 1.445 MB / 0.7507 GB, free: 84.02 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005655/1.505, allocations: 1.458 MB / 0.7521 GB, free: 82.56 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01584/1.521, allocations: 11.45 MB / 0.7633 GB, free: 70.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006654/1.528, allocations: 403.3 kB / 0.7637 GB, free: 70.58 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001543/1.529, allocations: 328 kB / 0.764 GB, free: 70.26 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.009468/1.539, allocations: 4.18 MB / 0.7681 GB, free: 66.06 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001732/1.541, allocations: 446.5 kB / 0.7685 GB, free: 65.62 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01489/1.556, allocations: 7.342 MB / 0.7757 GB, free: 58.24 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009925/1.566, allocations: 6.042 MB / 0.7816 GB, free: 52.18 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.161e-05/1.566, allocations: 8 kB / 0.7816 GB, free: 52.17 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.224e-05/1.566, allocations: 27.86 kB / 0.7816 GB, free: 52.14 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03037/1.596, allocations: 16.33 MB / 0.7976 GB, free: 35.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.331e-05/1.596, allocations: 0 / 0.7976 GB, free: 35.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002946/1.599, allocations: 0.7217 MB / 0.7983 GB, free: 35.08 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0033/1.602, allocations: 1.305 MB / 0.7996 GB, free: 33.77 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005281/1.603, allocations: 83.92 kB / 0.7996 GB, free: 33.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01239/1.615, allocations: 10.18 MB / 0.8096 GB, free: 23.38 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/1.615, allocations: 7.922 kB / 0.8096 GB, free: 23.37 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01474/1.63, allocations: 10.53 MB / 0.8199 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002585/1.633, allocations: 1.039 MB / 0.8209 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001048/1.634, allocations: 72 kB / 0.821 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002666/1.637, allocations: 247.8 kB / 0.8212 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006578/1.637, allocations: 271.5 kB / 0.8215 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002401/1.637, allocations: 116 kB / 0.8216 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003959/1.641, allocations: 2.908 MB / 0.8244 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.41e-07/1.641, allocations: 0 / 0.8244 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.007472/1.649, allocations: 1.839 MB / 0.8262 GB, free: 6.266 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.001111/1.65, allocations: 271.6 kB / 0.8265 GB, free: 6 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.2369/1.887, allocations: 7.904 MB / 0.8342 GB, free: 166.9 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.525e-06/1.887, allocations: 0 / 0.8342 GB, free: 166.9 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.007539/1.895, allocations: 3.642 MB / 0.8377 GB, free: 166.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006717/1.901, allocations: 1.093 MB / 0.8388 GB, free: 166.6 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03555/1.937, allocations: 18.72 MB / 0.8571 GB, free: 159.9 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01317/1.95, allocations: 7.034 MB / 0.8639 GB, free: 157.4 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.006017/1.956, allocations: 2.244 MB / 0.8661 GB, free: 157.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001289/1.957, allocations: 360.8 kB / 0.8665 GB, free: 157.1 MB / 0.5137 GB Notification: Performance of SimCode: time 1.212e-06/1.958, allocations: 0 / 0.8665 GB, free: 157.1 MB / 0.5137 GB Notification: Performance of Templates: time 0.1137/2.071, allocations: 71.92 MB / 0.9367 GB, free: 95.99 MB / 0.5137 GB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1)