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.0107/0.0107, allocations: 95.61 kB / 15.73 MB, free: 6.043 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.001804/0.001804, allocations: 196.7 kB / 16.67 MB, free: 5.973 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.684/1.684, allocations: 205.1 MB / 222.6 MB, free: 4.52 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.001142/0.001142, allocations: 41.84 kB / 326.6 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1062, allocations: 46.62 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02939/0.1357, allocations: 27.08 MB / 400.3 MB, free: 6.109 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01982/0.1556, allocations: 8.004 MB / 408.3 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006999/0.1626, allocations: 167.5 kB / 408.5 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02226/0.1849, allocations: 9.358 MB / 417.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01403/0.199, allocations: 3.361 MB / 421.2 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007042/0.2061, allocations: 1.844 MB / 423 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01883/0.2249, allocations: 12.28 MB / 435.3 MB, free: 2.961 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3118/0.5368, allocations: 24.42 MB / 459.7 MB, free: 14.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01043/0.5473, allocations: 6.523 MB / 466.2 MB, free: 14.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0141/0.5614, allocations: 7.269 MB / 473.5 MB, free: 13.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006393/0.5679, allocations: 1.85 MB / 475.4 MB, free: 13.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008704/0.5766, allocations: 2.212 MB / 477.6 MB, free: 13.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00632/0.5829, allocations: 3.668 MB / 481.2 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01383/0.5968, allocations: 7.005 MB / 488.2 MB, free: 10 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03172/0.6285, allocations: 24.82 MB / 0.501 GB, free: 10.08 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.6286, allocations: 0 / 0.501 GB, free: 10.08 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.6286, allocations: 0 / 0.501 GB, free: 10.08 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000894/0.6295, allocations: 0 / 0.501 GB, free: 10.08 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.05779/0.6873, allocations: 14.92 MB / 0.5156 GB, free: 11.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.985e-05/0.6874, allocations: 8.031 kB / 0.5156 GB, free: 11.15 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05416/0.7416, allocations: 9.523 MB / 0.5249 GB, free: 1.738 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01798/0.7596, allocations: 6.926 MB / 0.5317 GB, free: 11.07 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001025/0.7606, allocations: 0.8179 MB / 0.5325 GB, free: 10.27 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005561/0.7662, allocations: 1.068 MB / 0.5335 GB, free: 9.215 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05372/0.82, allocations: 18.75 MB / 0.5518 GB, free: 6.441 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008639/0.8209, allocations: 27.89 kB / 0.5519 GB, free: 6.414 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005852/0.8268, allocations: 456.8 kB / 0.5523 GB, free: 5.984 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008732/0.8277, allocations: 0.6985 MB / 0.553 GB, free: 5.289 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04564/0.8734, allocations: 18.22 MB / 0.5708 GB, free: 3.066 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1184/0.9918, allocations: 59.49 MB / 0.6289 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5299/1.522, allocations: 46.72 MB / 0.6745 GB, free: 129.2 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008081/1.53, allocations: 4.272 MB / 0.6787 GB, free: 129.1 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01929/1.549, allocations: 12.37 MB / 0.6907 GB, free: 123.8 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.045e-05/1.549, allocations: 71.42 kB / 0.6908 GB, free: 123.7 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=385): time 5.1e-06/1.549, allocations: 0 / 0.6908 GB, free: 123.7 MB / 0.5138 GB Notification: Performance of matching and sorting (n=391): time 0.04012/1.589, allocations: 19.46 MB / 0.7098 GB, free: 116.7 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/1.59, allocations: 89.91 kB / 0.7099 GB, free: 116.6 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006132/1.596, allocations: 4.347 MB / 0.7141 GB, free: 115.1 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0004848/1.596, allocations: 85.58 kB / 0.7142 GB, free: 115 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002773/1.599, allocations: 4.996 MB / 0.7191 GB, free: 111.7 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001205/1.6, allocations: 1.414 MB / 0.7205 GB, free: 110.6 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001712/1.602, allocations: 1.281 MB / 0.7217 GB, free: 110 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.884e-05/1.602, allocations: 305 kB / 0.722 GB, free: 109.7 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003934/1.606, allocations: 3.124 MB / 0.7251 GB, free: 108.5 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005533/1.611, allocations: 5.734 MB / 0.7307 GB, free: 103.7 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00977/1.621, allocations: 9.45 MB / 0.7399 GB, free: 93.28 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.268e-05/1.621, allocations: 24 kB / 0.7399 GB, free: 93.25 MB / 0.5138 GB Notification: Performance of matching and sorting (n=822) (initialization): time 0.0179/1.639, allocations: 10.3 MB / 0.75 GB, free: 82.93 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 9.146e-05/1.639, allocations: 48.03 kB / 0.75 GB, free: 82.88 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001775/1.64, allocations: 88 kB / 0.7501 GB, free: 82.8 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003656/1.643, allocations: 1.441 MB / 0.7515 GB, free: 81.35 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006003/1.649, allocations: 1.466 MB / 0.753 GB, free: 79.88 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01483/1.664, allocations: 11.47 MB / 0.7642 GB, free: 68.28 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006733/1.671, allocations: 403.5 kB / 0.7645 GB, free: 67.89 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001909/1.673, allocations: 328 kB / 0.7649 GB, free: 67.57 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.01136/1.684, allocations: 4.177 MB / 0.7689 GB, free: 63.38 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002162/1.686, allocations: 473 kB / 0.7694 GB, free: 62.91 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01552/1.702, allocations: 7.344 MB / 0.7766 GB, free: 55.52 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00917/1.711, allocations: 6.031 MB / 0.7824 GB, free: 49.47 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-05/1.711, allocations: 8 kB / 0.7824 GB, free: 49.46 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.366e-05/1.711, allocations: 27.86 kB / 0.7825 GB, free: 49.43 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02831/1.74, allocations: 16.34 MB / 0.7984 GB, free: 33.08 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-05/1.74, allocations: 0 / 0.7984 GB, free: 33.08 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002899/1.743, allocations: 0.7295 MB / 0.7991 GB, free: 32.35 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003311/1.746, allocations: 1.295 MB / 0.8004 GB, free: 31.05 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003804/1.746, allocations: 91.91 kB / 0.8005 GB, free: 30.96 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01208/1.758, allocations: 10.19 MB / 0.8104 GB, free: 20.65 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/1.758, allocations: 0 / 0.8104 GB, free: 20.65 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01446/1.773, allocations: 10.56 MB / 0.8208 GB, free: 10.03 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002533/1.775, allocations: 1.064 MB / 0.8218 GB, free: 8.941 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008264/1.776, allocations: 72 kB / 0.8219 GB, free: 8.871 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002432/1.779, allocations: 251.8 kB / 0.8221 GB, free: 8.625 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006547/1.779, allocations: 271.5 kB / 0.8224 GB, free: 8.359 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002535/1.78, allocations: 115.9 kB / 0.8225 GB, free: 8.246 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.004464/1.784, allocations: 2.904 MB / 0.8253 GB, free: 5.332 MB / 0.5138 GB Notification: Performance of sort global known variables: time 2.3e-07/1.784, allocations: 4 kB / 0.8253 GB, free: 5.328 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.007779/1.792, allocations: 1.848 MB / 0.8271 GB, free: 3.48 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.0007719/1.793, allocations: 270.4 kB / 0.8274 GB, free: 3.215 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.2473/2.04, allocations: 7.902 MB / 0.8351 GB, free: 166.7 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/2.04, allocations: 1.094 kB / 0.8351 GB, free: 166.7 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.008406/2.048, allocations: 3.654 MB / 0.8387 GB, free: 166.4 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006978/2.056, allocations: 1.089 MB / 0.8397 GB, free: 166.3 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03618/2.092, allocations: 19 MB / 0.8583 GB, free: 157.9 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01142/2.103, allocations: 7.032 MB / 0.8651 GB, free: 155.4 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.006484/2.11, allocations: 2.245 MB / 0.8673 GB, free: 155.1 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00168/2.111, allocations: 371.5 kB / 0.8677 GB, free: 155.1 MB / 0.5138 GB Notification: Performance of SimCode: time 1.102e-06/2.111, allocations: 0.6562 kB / 0.8677 GB, free: 155.1 MB / 0.5138 GB Notification: Performance of Templates: time 0.1064/2.218, allocations: 71.91 MB / 0.9379 GB, free: 90.86 MB / 0.5138 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)