Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001517/0.001517, allocations: 102.9 kB / 16.51 MB, free: 6.641 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.001548/0.001548, allocations: 195.2 kB / 17.42 MB, free: 6.066 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.554/1.554, allocations: 205.1 MB / 223.3 MB, free: 12.46 MB / 190.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.00144/0.00144, allocations: 55.92 kB / 279.4 MB, free: 3.555 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1113, allocations: 46.63 MB / 326 MB, free: 4.859 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02741/0.1388, allocations: 26.6 MB / 352.6 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02014/0.159, allocations: 7.939 MB / 360.5 MB, free: 2.168 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007437/0.1664, allocations: 155.5 kB / 360.7 MB, free: 2.016 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02098/0.1875, allocations: 8.865 MB / 369.5 MB, free: 9.117 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01285/0.2004, allocations: 3.1 MB / 372.6 MB, free: 6.004 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006832/0.2072, allocations: 1.72 MB / 374.4 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2253/0.4325, allocations: 12.41 MB / 386.8 MB, free: 11.53 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03217/0.4647, allocations: 20.27 MB / 407 MB, free: 6.004 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01116/0.4759, allocations: 5.664 MB / 412.7 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01924/0.4952, allocations: 7.65 MB / 420.4 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005761/0.501, allocations: 1.223 MB / 421.6 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008647/0.5097, allocations: 1.578 MB / 423.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006418/0.5161, allocations: 3.017 MB / 426.2 MB, free: 9.859 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01399/0.5301, allocations: 6.345 MB / 432.5 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02673/0.5569, allocations: 24.23 MB / 456.7 MB, free: 11.94 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.5569, allocations: 0 / 456.7 MB, free: 11.94 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.557, allocations: 0 / 456.7 MB, free: 11.94 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0007642/0.5577, allocations: 0 / 456.7 MB, free: 11.94 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.04702/0.6048, allocations: 14.75 MB / 471.5 MB, free: 13.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.533e-05/0.6048, allocations: 8.031 kB / 471.5 MB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05151/0.6563, allocations: 9.417 MB / 480.9 MB, free: 3.879 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01682/0.6732, allocations: 6.885 MB / 487.8 MB, free: 13.26 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001023/0.6743, allocations: 0.8158 MB / 488.6 MB, free: 12.45 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005282/0.6796, allocations: 1.083 MB / 489.7 MB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05599/0.7356, allocations: 18.76 MB / 0.4966 GB, free: 8.598 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006632/0.7363, allocations: 19.8 kB / 0.4966 GB, free: 8.578 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004565/0.7409, allocations: 455.7 kB / 0.497 GB, free: 8.148 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009154/0.7418, allocations: 0.695 MB / 0.4977 GB, free: 7.453 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04547/0.7873, allocations: 18.22 MB / 0.5155 GB, free: 5.227 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4319/1.219, allocations: 60 MB / 0.5741 GB, free: 113.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03195/1.251, allocations: 46.72 MB / 0.6197 GB, free: 68.17 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008069/1.259, allocations: 4.32 MB / 0.6239 GB, free: 65.92 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02/1.279, allocations: 12.49 MB / 0.6361 GB, free: 57.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.936e-05/1.28, allocations: 72.83 kB / 0.6362 GB, free: 57.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=391): time 5.11e-06/1.28, allocations: 4 kB / 0.6362 GB, free: 57.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=397): time 0.03877/1.318, allocations: 19.43 MB / 0.6551 GB, free: 40.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/1.318, allocations: 90.5 kB / 0.6552 GB, free: 39.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005778/1.324, allocations: 4.335 MB / 0.6595 GB, free: 35.58 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007963/1.325, allocations: 89.7 kB / 0.6596 GB, free: 35.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002074/1.327, allocations: 4.825 MB / 0.6643 GB, free: 30.63 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001411/1.329, allocations: 1.365 MB / 0.6656 GB, free: 29.28 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001717/1.33, allocations: 1.274 MB / 0.6668 GB, free: 27.99 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.869e-05/1.33, allocations: 305.1 kB / 0.6671 GB, free: 27.69 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003859/1.334, allocations: 3.151 MB / 0.6702 GB, free: 24.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004797/1.339, allocations: 5.778 MB / 0.6759 GB, free: 17.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009727/1.349, allocations: 9.514 MB / 0.6851 GB, free: 6.785 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-05/1.349, allocations: 24 kB / 0.6852 GB, free: 6.762 MB / 446.1 MB Notification: Performance of matching and sorting (n=828) (initialization): time 0.01836/1.367, allocations: 10.32 MB / 0.6952 GB, free: 12.42 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000127/1.367, allocations: 43.94 kB / 0.6953 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001891/1.368, allocations: 88 kB / 0.6954 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004285/1.372, allocations: 1.406 MB / 0.6967 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006286/1.378, allocations: 1.462 MB / 0.6982 GB, free: 9.414 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2479/1.626, allocations: 10.56 MB / 0.7085 GB, free: 145 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005947/1.632, allocations: 401.3 kB / 0.7089 GB, free: 145 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001412/1.634, allocations: 331.9 kB / 0.7092 GB, free: 145 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 (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 prepare postOptimizeDAE: time 0.008703/1.642, allocations: 4.174 MB / 0.7133 GB, free: 144.8 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001353/1.644, allocations: 447.6 kB / 0.7137 GB, free: 144.8 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01345/1.657, allocations: 7.415 MB / 0.7209 GB, free: 142.7 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00888/1.666, allocations: 6.083 MB / 0.7269 GB, free: 140.4 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.205e-05/1.666, allocations: 11.28 kB / 0.7269 GB, free: 140.4 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.735e-05/1.666, allocations: 22.03 kB / 0.7269 GB, free: 140.4 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02759/1.694, allocations: 16.45 MB / 0.743 GB, free: 133.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.676e-05/1.694, allocations: 0 / 0.743 GB, free: 133.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002878/1.697, allocations: 0.7177 MB / 0.7437 GB, free: 133.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003257/1.7, allocations: 1.254 MB / 0.7449 GB, free: 133.6 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006422/1.701, allocations: 83.89 kB / 0.745 GB, free: 133.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.013/1.714, allocations: 9.307 MB / 0.7541 GB, free: 128 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.605e-05/1.714, allocations: 7.75 kB / 0.7541 GB, free: 128 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01578/1.729, allocations: 10.63 MB / 0.7645 GB, free: 118.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002943/1.732, allocations: 1.043 MB / 0.7655 GB, free: 117.6 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008432/1.733, allocations: 72 kB / 0.7655 GB, free: 117.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002279/1.736, allocations: 257.7 kB / 0.7658 GB, free: 117.3 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007029/1.736, allocations: 275.4 kB / 0.766 GB, free: 117 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002444/1.737, allocations: 116 kB / 0.7662 GB, free: 116.9 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003777/1.74, allocations: 2.904 MB / 0.769 GB, free: 114 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/1.74, allocations: 0 / 0.769 GB, free: 114 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006022/1.746, allocations: 1.845 MB / 0.7708 GB, free: 112.2 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 (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.0005914/1.747, allocations: 254.8 kB / 0.771 GB, free: 111.9 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01089/1.758, allocations: 7.975 MB / 0.7788 GB, free: 104 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/1.758, allocations: 4 kB / 0.7788 GB, free: 104 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005286/1.763, allocations: 3.68 MB / 0.7824 GB, free: 100.3 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004745/1.768, allocations: 1.042 MB / 0.7834 GB, free: 99.26 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03008/1.798, allocations: 23.58 MB / 0.8065 GB, free: 75.66 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006533/1.805, allocations: 7.028 MB / 0.8133 GB, free: 68.58 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00585/1.81, allocations: 2.248 MB / 0.8155 GB, free: 66.32 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001081/1.812, allocations: 367.4 kB / 0.8159 GB, free: 65.96 MB / 462.1 MB Notification: Performance of SimCode: time 1.072e-06/1.812, allocations: 0 / 0.8159 GB, free: 65.96 MB / 462.1 MB Notification: Performance of Templates: time 0.2865/2.098, allocations: 72.91 MB / 0.8871 GB, free: 128.3 MB / 462.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1)