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.00686/0.00686, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001505/0.001505, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.589/1.589, allocations: 205.1 MB / 222.6 MB, free: 4.391 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.0014/0.0014, allocations: 54.7 kB / 326.6 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1099, allocations: 46.62 MB / 373.2 MB, free: 1.293 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02935/0.1393, allocations: 27.08 MB / 400.3 MB, free: 6.086 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01933/0.1587, allocations: 8 MB / 408.3 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007606/0.1664, allocations: 167.5 kB / 408.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02255/0.189, allocations: 9.42 MB / 417.9 MB, free: 4.434 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01477/0.2038, allocations: 3.424 MB / 421.3 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007768/0.2116, allocations: 1.84 MB / 423.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01832/0.2299, allocations: 12.27 MB / 435.4 MB, free: 2.828 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3233/0.5533, allocations: 24.41 MB / 459.8 MB, free: 14.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01341/0.5667, allocations: 6.552 MB / 466.4 MB, free: 13.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01629/0.5831, allocations: 7.266 MB / 473.6 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00747/0.5906, allocations: 1.85 MB / 475.5 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01057/0.6012, allocations: 2.218 MB / 477.7 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008118/0.6093, allocations: 3.67 MB / 481.4 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01617/0.6255, allocations: 7.004 MB / 488.4 MB, free: 9.414 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03201/0.6576, allocations: 24.76 MB / 0.5011 GB, free: 10.12 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.727e-06/0.6576, allocations: 0 / 0.5011 GB, free: 10.12 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.6576, allocations: 0 / 0.5011 GB, free: 10.12 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0008758/0.6585, allocations: 0 / 0.5011 GB, free: 10.12 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.0515/0.71, allocations: 14.67 MB / 0.5154 GB, free: 11.46 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.7101, allocations: 8.031 kB / 0.5154 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05123/0.7613, allocations: 9.475 MB / 0.5247 GB, free: 2.086 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01797/0.7793, allocations: 6.895 MB / 0.5314 GB, free: 11.45 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009756/0.7803, allocations: 0.8205 MB / 0.5322 GB, free: 10.64 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005808/0.7862, allocations: 1.073 MB / 0.5333 GB, free: 9.582 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05587/0.8421, allocations: 18.75 MB / 0.5516 GB, free: 6.809 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003245/0.8424, allocations: 23.89 kB / 0.5516 GB, free: 6.785 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003115/0.8455, allocations: 454.8 kB / 0.552 GB, free: 6.355 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006428/0.8462, allocations: 0.6949 MB / 0.5527 GB, free: 5.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03926/0.8855, allocations: 18.22 MB / 0.5705 GB, free: 3.434 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1135/0.999, allocations: 59.34 MB / 0.6285 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.564/1.563, allocations: 46.72 MB / 0.6741 GB, free: 129.1 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007889/1.571, allocations: 4.272 MB / 0.6783 GB, free: 129 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02205/1.593, allocations: 12.35 MB / 0.6903 GB, free: 123.6 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.434e-05/1.593, allocations: 73.45 kB / 0.6904 GB, free: 123.5 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=385): time 6.272e-06/1.593, allocations: 0 / 0.6904 GB, free: 123.5 MB / 0.5138 GB Notification: Performance of matching and sorting (n=391): time 0.04379/1.637, allocations: 19.31 MB / 0.7093 GB, free: 116.2 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/1.637, allocations: 92.91 kB / 0.7093 GB, free: 116.1 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00633/1.643, allocations: 4.347 MB / 0.7136 GB, free: 114.5 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0008415/1.644, allocations: 85.52 kB / 0.7137 GB, free: 114.4 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002743/1.647, allocations: 4.828 MB / 0.7184 GB, free: 110.8 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001481/1.648, allocations: 1.35 MB / 0.7197 GB, free: 109.8 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001811/1.65, allocations: 1.273 MB / 0.7209 GB, free: 109.2 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 6.397e-05/1.65, allocations: 301.1 kB / 0.7212 GB, free: 108.9 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003911/1.654, allocations: 3.119 MB / 0.7243 GB, free: 107.7 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004972/1.659, allocations: 5.733 MB / 0.7299 GB, free: 103.1 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009754/1.669, allocations: 9.45 MB / 0.7391 GB, free: 93.28 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001072/1.669, allocations: 24 kB / 0.7391 GB, free: 93.25 MB / 0.5138 GB Notification: Performance of matching and sorting (n=822) (initialization): time 0.02003/1.689, allocations: 10.28 MB / 0.7492 GB, free: 82.95 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001342/1.689, allocations: 44 kB / 0.7492 GB, free: 82.91 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000186/1.69, allocations: 91.94 kB / 0.7493 GB, free: 82.82 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003968/1.694, allocations: 1.445 MB / 0.7507 GB, free: 81.37 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006018/1.7, allocations: 1.462 MB / 0.7521 GB, free: 79.9 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01668/1.716, allocations: 11.45 MB / 0.7633 GB, free: 68.32 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006648/1.723, allocations: 407.3 kB / 0.7637 GB, free: 67.92 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00171/1.725, allocations: 328 kB / 0.764 GB, free: 67.6 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.009328/1.734, allocations: 4.18 MB / 0.7681 GB, free: 63.41 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001798/1.736, allocations: 446.5 kB / 0.7685 GB, free: 62.96 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01662/1.753, allocations: 7.342 MB / 0.7757 GB, free: 55.58 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01064/1.763, allocations: 6.031 MB / 0.7816 GB, free: 49.53 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.749e-05/1.763, allocations: 12 kB / 0.7816 GB, free: 49.52 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.587e-05/1.763, allocations: 23.86 kB / 0.7816 GB, free: 49.49 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03866/1.802, allocations: 16.34 MB / 0.7976 GB, free: 33.14 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.865e-05/1.802, allocations: 0 / 0.7976 GB, free: 33.14 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003453/1.806, allocations: 0.7294 MB / 0.7983 GB, free: 32.41 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003623/1.809, allocations: 1.293 MB / 0.7996 GB, free: 31.11 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00086/1.81, allocations: 91.92 kB / 0.7996 GB, free: 31.02 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01295/1.823, allocations: 10.17 MB / 0.8096 GB, free: 20.73 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/1.823, allocations: 4.859 kB / 0.8096 GB, free: 20.72 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01573/1.839, allocations: 10.54 MB / 0.8199 GB, free: 10.12 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002719/1.842, allocations: 1.042 MB / 0.8209 GB, free: 9.055 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009466/1.843, allocations: 72 kB / 0.821 GB, free: 8.984 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002538/1.845, allocations: 247.6 kB / 0.8212 GB, free: 8.742 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000652/1.846, allocations: 275.5 kB / 0.8215 GB, free: 8.473 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002422/1.846, allocations: 116 kB / 0.8216 GB, free: 8.359 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.005698/1.852, allocations: 2.904 MB / 0.8244 GB, free: 5.445 MB / 0.5138 GB Notification: Performance of sort global known variables: time 3.51e-07/1.852, allocations: 2.062 kB / 0.8244 GB, free: 5.445 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01135/1.863, allocations: 1.839 MB / 0.8262 GB, free: 3.609 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.001514/1.865, allocations: 274.4 kB / 0.8265 GB, free: 3.344 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.2418/2.107, allocations: 7.901 MB / 0.8342 GB, free: 166.2 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 7.625e-06/2.107, allocations: 0 / 0.8342 GB, free: 166.2 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.007502/2.114, allocations: 3.643 MB / 0.8377 GB, free: 165.9 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005624/2.12, allocations: 1.084 MB / 0.8388 GB, free: 165.8 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03306/2.153, allocations: 18.71 MB / 0.8571 GB, free: 157.8 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009377/2.162, allocations: 7.031 MB / 0.8639 GB, free: 155.3 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.007606/2.17, allocations: 2.255 MB / 0.8661 GB, free: 155 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002296/2.172, allocations: 368.5 kB / 0.8665 GB, free: 155 MB / 0.5138 GB Notification: Performance of SimCode: time 1.623e-06/2.172, allocations: 0 / 0.8665 GB, free: 155 MB / 0.5138 GB Notification: Performance of Templates: time 0.1141/2.286, allocations: 71.92 MB / 0.9367 GB, free: 91.07 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)