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.001457/0.001457, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.431/1.431, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.001806/0.001806, allocations: 55.92 kB / 278.7 MB, free: 12.31 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2725, allocations: 46.63 MB / 325.3 MB, free: 1.852 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02828/0.3008, allocations: 27.07 MB / 352.4 MB, free: 8.738 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01722/0.3181, allocations: 7.997 MB / 360.4 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00628/0.3244, allocations: 171.4 kB / 360.6 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02236/0.3468, allocations: 9.355 MB / 369.9 MB, free: 7.152 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01345/0.3603, allocations: 3.373 MB / 373.3 MB, free: 3.762 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00746/0.3678, allocations: 1.828 MB / 375.1 MB, free: 1.93 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01717/0.385, allocations: 12.2 MB / 387.3 MB, free: 5.668 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03947/0.4245, allocations: 24.52 MB / 411.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01067/0.4352, allocations: 6.515 MB / 418.4 MB, free: 6.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0115/0.4467, allocations: 7.308 MB / 425.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005222/0.452, allocations: 1.848 MB / 427.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007796/0.4598, allocations: 2.23 MB / 429.8 MB, free: 11.02 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006115/0.466, allocations: 3.667 MB / 433.4 MB, free: 7.344 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0125/0.4785, allocations: 7.004 MB / 440.4 MB, free: 320 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3535/0.8321, allocations: 24.64 MB / 465.1 MB, free: 52.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.8321, allocations: 1.469 kB / 465.1 MB, free: 52.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.8321, allocations: 0 / 465.1 MB, free: 52.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0007535/0.8329, allocations: 2.281 kB / 465.1 MB, free: 52.61 MB / 382.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.04562/0.8785, allocations: 14.73 MB / 479.8 MB, free: 47.63 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.8786, allocations: 10.41 kB / 479.8 MB, free: 47.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05019/0.9288, allocations: 9.417 MB / 489.2 MB, free: 44.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01411/0.9429, allocations: 6.887 MB / 496.1 MB, free: 40.97 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005797/0.9435, allocations: 0.8172 MB / 496.9 MB, free: 40.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005301/0.9489, allocations: 1.082 MB / 498 MB, free: 39.63 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04461/0.9935, allocations: 18.75 MB / 0.5046 GB, free: 20.85 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000293/0.9938, allocations: 19.89 kB / 0.5047 GB, free: 20.83 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002464/0.9963, allocations: 458.4 kB / 0.5051 GB, free: 20.4 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000508/0.9968, allocations: 0.6911 MB / 0.5058 GB, free: 19.71 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03349/1.03, allocations: 18.21 MB / 0.5236 GB, free: 1.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1075/1.138, allocations: 60.02 MB / 0.5822 GB, free: 5.035 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1963/1.334, allocations: 46.71 MB / 0.6278 GB, free: 160.5 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006739/1.341, allocations: 4.282 MB / 0.632 GB, free: 160.4 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01778/1.359, allocations: 12.39 MB / 0.6441 GB, free: 155.8 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/1.359, allocations: 84.36 kB / 0.6442 GB, free: 155.7 MB / 478.1 MB Notification: Performance of pre-optimization done (n=385): time 5.129e-06/1.359, allocations: 0 / 0.6442 GB, free: 155.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=391): time 0.0412/1.4, allocations: 19.3 MB / 0.663 GB, free: 148.3 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/1.4, allocations: 91.62 kB / 0.6631 GB, free: 148.3 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005045/1.405, allocations: 4.345 MB / 0.6673 GB, free: 145.1 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004485/1.406, allocations: 89.7 kB / 0.6674 GB, free: 145 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001873/1.408, allocations: 4.829 MB / 0.6721 GB, free: 140.7 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009873/1.409, allocations: 1.343 MB / 0.6734 GB, free: 139.5 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001562/1.41, allocations: 1.27 MB / 0.6747 GB, free: 138.3 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 3.96e-05/1.41, allocations: 301.1 kB / 0.675 GB, free: 138 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003772/1.414, allocations: 3.122 MB / 0.678 GB, free: 135.4 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004619/1.419, allocations: 5.748 MB / 0.6836 GB, free: 129 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009142/1.428, allocations: 9.448 MB / 0.6929 GB, free: 118.4 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.255e-05/1.428, allocations: 24 kB / 0.6929 GB, free: 118.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=822) (initialization): time 0.01486/1.443, allocations: 10.27 MB / 0.7029 GB, free: 108 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.717e-05/1.443, allocations: 47.98 kB / 0.703 GB, free: 108 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001168/1.443, allocations: 88 kB / 0.703 GB, free: 107.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003602/1.447, allocations: 1.453 MB / 0.7045 GB, free: 106.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004919/1.452, allocations: 1.458 MB / 0.7059 GB, free: 105 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01377/1.465, allocations: 11.47 MB / 0.7171 GB, free: 93.38 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005446/1.471, allocations: 403.3 kB / 0.7175 GB, free: 92.98 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001021/1.472, allocations: 331.9 kB / 0.7178 GB, free: 92.66 MB / 478.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 (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.005611/1.477, allocations: 4.177 MB / 0.7219 GB, free: 88.47 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009539/1.478, allocations: 450.5 kB / 0.7223 GB, free: 88.03 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01083/1.489, allocations: 7.346 MB / 0.7295 GB, free: 80.64 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008083/1.497, allocations: 6.035 MB / 0.7354 GB, free: 74.59 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.755e-05/1.497, allocations: 15.94 kB / 0.7354 GB, free: 74.57 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.414e-05/1.497, allocations: 23.91 kB / 0.7354 GB, free: 74.55 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02286/1.52, allocations: 16.38 MB / 0.7514 GB, free: 58.14 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.425e-05/1.52, allocations: 0 / 0.7514 GB, free: 58.14 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002843/1.523, allocations: 0.7255 MB / 0.7521 GB, free: 57.42 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003251/1.526, allocations: 1.305 MB / 0.7534 GB, free: 56.11 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004308/1.527, allocations: 87.91 kB / 0.7535 GB, free: 56.02 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01222/1.539, allocations: 10.2 MB / 0.7634 GB, free: 45.7 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/1.539, allocations: 4 kB / 0.7634 GB, free: 45.7 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01382/1.553, allocations: 10.52 MB / 0.7737 GB, free: 35.11 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002029/1.555, allocations: 1.05 MB / 0.7747 GB, free: 34.04 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000649/1.556, allocations: 68 kB / 0.7748 GB, free: 33.97 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00225/1.558, allocations: 251.8 kB / 0.775 GB, free: 33.73 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000612/1.559, allocations: 271.5 kB / 0.7753 GB, free: 33.46 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002316/1.559, allocations: 116 kB / 0.7754 GB, free: 33.35 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003629/1.563, allocations: 2.904 MB / 0.7782 GB, free: 30.43 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.91e-07/1.563, allocations: 0 / 0.7782 GB, free: 30.43 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005546/1.568, allocations: 1.843 MB / 0.78 GB, free: 28.59 MB / 478.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 (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.0005507/1.569, allocations: 271 kB / 0.7803 GB, free: 28.33 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.02746/1.596, allocations: 14.21 MB / 0.7942 GB, free: 14.13 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/1.596, allocations: 0 / 0.7942 GB, free: 14.13 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1625/1.759, allocations: 3.645 MB / 0.7977 GB, free: 164.7 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004743/1.763, allocations: 1.091 MB / 0.7988 GB, free: 164.5 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02779/1.791, allocations: 18.94 MB / 0.8173 GB, free: 158.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00928/1.801, allocations: 7.036 MB / 0.8242 GB, free: 156 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00635/1.807, allocations: 2.247 MB / 0.8264 GB, free: 155.8 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001092/1.808, allocations: 368.5 kB / 0.8267 GB, free: 155.8 MB / 478.1 MB Notification: Performance of SimCode: time 8.11e-07/1.808, allocations: 2.188 kB / 0.8267 GB, free: 155.8 MB / 478.1 MB Notification: Performance of Templates: time 0.1074/1.915, allocations: 75.29 MB / 0.9002 GB, free: 86.81 MB / 478.1 MB 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)