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.0009002/0.0009004, allocations: 84.38 kB / 15.06 MB, free: 1.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.0008509/0.0008509, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 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.4 MB / 222.1 MB, free: 5.645 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.0004735/0.0004735, allocations: 14.81 kB / 278.9 MB, free: 12.78 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2971, allocations: 47.57 MB / 326.5 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02776/0.3249, allocations: 23.56 MB / 350.1 MB, free: 11.88 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01846/0.3434, allocations: 7.369 MB / 357.4 MB, free: 4.492 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006173/0.3497, allocations: 155.5 kB / 357.6 MB, free: 4.34 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006698/0.3564, allocations: 1.488 MB / 359.1 MB, free: 2.844 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01206/0.3685, allocations: 2.788 MB / 361.9 MB, free: 44 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006938/0.3754, allocations: 1.267 MB / 363.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.02272/0.3982, allocations: 14.81 MB / 377.9 MB, free: 15.91 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04504/0.4432, allocations: 19.88 MB / 397.8 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01115/0.4544, allocations: 4.821 MB / 402.6 MB, free: 7.105 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01155/0.466, allocations: 5.39 MB / 408 MB, free: 1.695 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004186/0.4703, allocations: 0.7227 MB / 408.7 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006587/0.4769, allocations: 1.074 MB / 409.8 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004835/0.4818, allocations: 2.274 MB / 412.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006224/0.488, allocations: 2.336 MB / 414.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03131/0.5194, allocations: 20.93 MB / 435.4 MB, free: 6.281 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/0.5194, allocations: 0 / 435.4 MB, free: 6.281 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.797e-06/0.5194, allocations: 0 / 435.4 MB, free: 6.281 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.001106/0.5205, allocations: 0 / 435.4 MB, free: 6.281 MB / 366.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.04232/0.5629, allocations: 12.4 MB / 447.8 MB, free: 9.777 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.065e-05/0.563, allocations: 12.03 kB / 447.8 MB, free: 9.766 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05283/0.6159, allocations: 9.459 MB / 457.2 MB, free: 288 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4093/1.025, allocations: 6.811 MB / 464 MB, free: 88.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009079/1.026, allocations: 0.8186 MB / 464.9 MB, free: 87.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003909/1.03, allocations: 1.078 MB / 465.9 MB, free: 87.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04348/1.074, allocations: 18.68 MB / 484.6 MB, free: 78.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006319/1.074, allocations: 19 kB / 484.6 MB, free: 78.67 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003967/1.078, allocations: 461.3 kB / 485.1 MB, free: 78.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007631/1.079, allocations: 0.6941 MB / 485.8 MB, free: 77.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03373/1.113, allocations: 18.14 MB / 0.4921 GB, free: 59.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08524/1.198, allocations: 60.13 MB / 0.5508 GB, free: 14.33 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03851/1.237, allocations: 46.67 MB / 0.5964 GB, free: 10.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007859/1.245, allocations: 4.321 MB / 0.6006 GB, free: 6.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02604/1.271, allocations: 12.47 MB / 0.6128 GB, free: 9.906 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.919e-05/1.271, allocations: 77.61 kB / 0.6129 GB, free: 9.82 MB / 462.1 MB Notification: Performance of pre-optimization done (n=391): time 6.752e-06/1.271, allocations: 0 / 0.6129 GB, free: 9.82 MB / 462.1 MB Notification: Performance of matching and sorting (n=397): time 0.2619/1.533, allocations: 21.52 MB / 0.6339 GB, free: 152.8 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.837e-05/1.533, allocations: 89.59 kB / 0.634 GB, free: 152.7 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006223/1.539, allocations: 4.309 MB / 0.6382 GB, free: 151.1 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006051/1.54, allocations: 92.77 kB / 0.6383 GB, free: 151 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002326/1.542, allocations: 4.816 MB / 0.643 GB, free: 147.4 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001352/1.543, allocations: 1.369 MB / 0.6443 GB, free: 146.4 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003638/1.544, allocations: 123.4 kB / 0.6444 GB, free: 146.3 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002825/1.544, allocations: 0.5649 MB / 0.645 GB, free: 145.9 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004137/1.548, allocations: 3.143 MB / 0.6481 GB, free: 144.7 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005855/1.554, allocations: 5.756 MB / 0.6537 GB, free: 140.1 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007177/1.561, allocations: 4.423 MB / 0.658 GB, free: 138.2 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002019/1.561, allocations: 23.38 kB / 0.658 GB, free: 138.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=828) (initialization): time 0.01967/1.581, allocations: 10.29 MB / 0.6681 GB, free: 134.1 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001532/1.581, allocations: 45.53 kB / 0.6681 GB, free: 134.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002111/1.582, allocations: 85.34 kB / 0.6682 GB, free: 134.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003626/1.585, allocations: 1.415 MB / 0.6696 GB, free: 133 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005514/1.591, allocations: 1.461 MB / 0.671 GB, free: 131.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01484/1.606, allocations: 10.55 MB / 0.6813 GB, free: 122.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005314/1.611, allocations: 411.3 kB / 0.6817 GB, free: 122 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001204/1.612, allocations: 335.9 kB / 0.682 GB, free: 121.6 MB / 462.1 MB 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 (755): * Single equations (assignments): 750 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.8%) 56} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006462/1.619, allocations: 4.177 MB / 0.6861 GB, free: 117.4 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001134/1.62, allocations: 442.5 kB / 0.6865 GB, free: 117 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01137/1.631, allocations: 7.413 MB / 0.6938 GB, free: 109.6 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007976/1.639, allocations: 6.075 MB / 0.6997 GB, free: 103.5 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.102e-05/1.639, allocations: 16 kB / 0.6997 GB, free: 103.4 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.1e-05/1.639, allocations: 19.92 kB / 0.6997 GB, free: 103.4 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02419/1.663, allocations: 16.44 MB / 0.7158 GB, free: 86.97 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.454e-05/1.664, allocations: 0 / 0.7158 GB, free: 86.97 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002796/1.666, allocations: 0.7372 MB / 0.7165 GB, free: 86.23 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002948/1.669, allocations: 1.246 MB / 0.7177 GB, free: 84.98 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003457/1.67, allocations: 87.8 kB / 0.7178 GB, free: 84.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01601/1.686, allocations: 9.306 MB / 0.7269 GB, free: 75.47 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.686, allocations: 0 / 0.7269 GB, free: 75.47 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02857/1.714, allocations: 10.61 MB / 0.7373 GB, free: 64.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003931/1.718, allocations: 1.065 MB / 0.7383 GB, free: 63.71 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001822/1.72, allocations: 68 kB / 0.7384 GB, free: 63.64 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005256/1.725, allocations: 259.8 kB / 0.7386 GB, free: 63.39 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001213/1.727, allocations: 271.5 kB / 0.7389 GB, free: 63.12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007689/1.728, allocations: 112 kB / 0.739 GB, free: 63.01 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.008817/1.736, allocations: 2.873 MB / 0.7418 GB, free: 60.13 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.92e-07/1.736, allocations: 7.938 kB / 0.7418 GB, free: 60.12 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01326/1.75, allocations: 1.842 MB / 0.7436 GB, free: 58.28 MB / 462.1 MB 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 (363): * Single equations (assignments): 358 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.3%) 56} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001473/1.751, allocations: 262 kB / 0.7438 GB, free: 58.03 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.02169/1.773, allocations: 7.967 MB / 0.7516 GB, free: 50.05 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.936e-06/1.773, allocations: 0 / 0.7516 GB, free: 50.05 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01051/1.784, allocations: 3.689 MB / 0.7552 GB, free: 46.35 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009698/1.793, allocations: 1.043 MB / 0.7562 GB, free: 45.31 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03875/1.832, allocations: 22.6 MB / 0.7783 GB, free: 22.67 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00976/1.842, allocations: 7.036 MB / 0.7852 GB, free: 15.58 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.1959/2.038, allocations: 2.244 MB / 0.7874 GB, free: 142.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001533/2.039, allocations: 361.1 kB / 0.7877 GB, free: 142.3 MB / 462.1 MB Notification: Performance of SimCode: time 1.503e-06/2.039, allocations: 0.9688 kB / 0.7877 GB, free: 142.3 MB / 462.1 MB Notification: Performance of Templates: time 0.11/2.149, allocations: 70.26 MB / 0.8563 GB, free: 95.46 MB / 462.1 MB 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)