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.001351/0.001351, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001652/0.001652, allocations: 189.9 kB / 16.14 MB, free: 6.707 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.36/1.36, allocations: 205.1 MB / 222 MB, free: 4.77 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.001209/0.001209, allocations: 51.94 kB / 278.1 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2128, allocations: 46.62 MB / 324.7 MB, free: 1.953 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02612/0.239, allocations: 26.61 MB / 351.3 MB, free: 9.453 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01666/0.2557, allocations: 7.935 MB / 359.2 MB, free: 1.492 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005054/0.2608, allocations: 159.5 kB / 359.4 MB, free: 1.336 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01959/0.2805, allocations: 8.851 MB / 368.3 MB, free: 8.453 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01037/0.2908, allocations: 3.104 MB / 371.4 MB, free: 5.336 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005348/0.2962, allocations: 1.72 MB / 373.1 MB, free: 3.613 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01624/0.3125, allocations: 12.44 MB / 385.5 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03685/0.3494, allocations: 20.26 MB / 405.8 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008821/0.3582, allocations: 5.655 MB / 411.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01003/0.3683, allocations: 6.953 MB / 418.4 MB, free: 6.043 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003739/0.3721, allocations: 1.223 MB / 419.6 MB, free: 4.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00628/0.3784, allocations: 1.585 MB / 421.2 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004833/0.3832, allocations: 3.018 MB / 424.2 MB, free: 212 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0103/0.3935, allocations: 6.34 MB / 430.6 MB, free: 9.836 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02723/0.4208, allocations: 24.22 MB / 454.8 MB, free: 1.547 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.568e-06/0.4209, allocations: 0 / 454.8 MB, free: 1.547 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.4209, allocations: 0 / 454.8 MB, free: 1.547 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0007392/0.4216, allocations: 4 kB / 454.8 MB, free: 1.543 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.3131/0.7347, allocations: 14.75 MB / 469.5 MB, free: 94.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.7347, allocations: 11.84 kB / 469.5 MB, free: 94.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04966/0.7844, allocations: 9.417 MB / 479 MB, free: 87.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0128/0.7972, allocations: 6.877 MB / 485.8 MB, free: 80.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005743/0.7979, allocations: 0.8223 MB / 486.7 MB, free: 79.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003914/0.8018, allocations: 1.076 MB / 487.7 MB, free: 78.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04039/0.8422, allocations: 18.75 MB / 0.4946 GB, free: 59.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004831/0.8427, allocations: 19.91 kB / 0.4946 GB, free: 59.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00335/0.8461, allocations: 459.2 kB / 0.4951 GB, free: 59.44 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00061/0.8467, allocations: 0.6989 MB / 0.4958 GB, free: 58.74 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03338/0.8801, allocations: 18.22 MB / 0.5135 GB, free: 40.51 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09121/0.9713, allocations: 60 MB / 0.5721 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2031/1.174, allocations: 46.73 MB / 0.6178 GB, free: 135.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006737/1.181, allocations: 4.318 MB / 0.622 GB, free: 135.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01754/1.199, allocations: 12.47 MB / 0.6342 GB, free: 129.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.534e-05/1.199, allocations: 77.33 kB / 0.6342 GB, free: 129.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=391): time 5.781e-06/1.199, allocations: 0 / 0.6342 GB, free: 129.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=397): time 0.03706/1.236, allocations: 19.44 MB / 0.6532 GB, free: 122.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/1.236, allocations: 96.12 kB / 0.6533 GB, free: 122.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004702/1.241, allocations: 4.336 MB / 0.6575 GB, free: 118.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003193/1.241, allocations: 89.7 kB / 0.6576 GB, free: 118.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001602/1.243, allocations: 4.811 MB / 0.6623 GB, free: 114.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007652/1.243, allocations: 1.37 MB / 0.6637 GB, free: 112.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001439/1.245, allocations: 1.27 MB / 0.6649 GB, free: 111.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.569e-05/1.245, allocations: 309.1 kB / 0.6652 GB, free: 111.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003516/1.248, allocations: 3.155 MB / 0.6683 GB, free: 108.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004244/1.253, allocations: 5.772 MB / 0.6739 GB, free: 101.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008318/1.261, allocations: 9.514 MB / 0.6832 GB, free: 90.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.755e-05/1.261, allocations: 28 kB / 0.6832 GB, free: 90.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=828) (initialization): time 0.0137/1.275, allocations: 10.33 MB / 0.6933 GB, free: 80.03 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.48e-05/1.275, allocations: 40 kB / 0.6934 GB, free: 79.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001076/1.275, allocations: 88 kB / 0.6934 GB, free: 79.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003272/1.278, allocations: 1.408 MB / 0.6948 GB, free: 78.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005038/1.283, allocations: 1.458 MB / 0.6962 GB, free: 77.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0127/1.296, allocations: 10.57 MB / 0.7066 GB, free: 66.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005009/1.301, allocations: 399.3 kB / 0.7069 GB, free: 65.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009159/1.302, allocations: 332 kB / 0.7073 GB, free: 65.63 MB / 446.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.005621/1.308, allocations: 4.173 MB / 0.7113 GB, free: 61.44 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009115/1.309, allocations: 454.4 kB / 0.7118 GB, free: 60.99 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01052/1.319, allocations: 7.407 MB / 0.719 GB, free: 53.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008037/1.327, allocations: 6.078 MB / 0.7249 GB, free: 47.44 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.617e-05/1.327, allocations: 8 kB / 0.7249 GB, free: 47.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.21e-05/1.327, allocations: 27.86 kB / 0.725 GB, free: 47.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02218/1.349, allocations: 16.45 MB / 0.741 GB, free: 30.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/1.35, allocations: 3.984 kB / 0.741 GB, free: 30.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002816/1.352, allocations: 0.7293 MB / 0.7417 GB, free: 30.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002964/1.355, allocations: 1.246 MB / 0.743 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003456/1.356, allocations: 87.97 kB / 0.7431 GB, free: 28.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0108/1.366, allocations: 9.3 MB / 0.7521 GB, free: 19.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/1.367, allocations: 3.984 kB / 0.7521 GB, free: 19.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01309/1.38, allocations: 10.63 MB / 0.7625 GB, free: 8.758 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001884/1.382, allocations: 1.042 MB / 0.7635 GB, free: 7.691 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007108/1.382, allocations: 68 kB / 0.7636 GB, free: 7.625 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002165/1.384, allocations: 255.8 kB / 0.7638 GB, free: 7.375 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006093/1.385, allocations: 271.5 kB / 0.7641 GB, free: 7.109 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002402/1.385, allocations: 116 kB / 0.7642 GB, free: 6.996 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003558/1.389, allocations: 2.904 MB / 0.767 GB, free: 4.082 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.389, allocations: 4 kB / 0.7671 GB, free: 4.078 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006272/1.395, allocations: 1.849 MB / 0.7689 GB, free: 2.234 MB / 446.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.0006483/1.396, allocations: 255.8 kB / 0.7691 GB, free: 1.988 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.1605/1.556, allocations: 7.989 MB / 0.7769 GB, free: 154.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/1.556, allocations: 0 / 0.7769 GB, free: 154.1 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005694/1.562, allocations: 3.677 MB / 0.7805 GB, free: 153.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004372/1.566, allocations: 1.028 MB / 0.7815 GB, free: 153.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02702/1.594, allocations: 23.57 MB / 0.8045 GB, free: 141.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006071/1.6, allocations: 7.036 MB / 0.8114 GB, free: 138.4 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005768/1.605, allocations: 2.245 MB / 0.8136 GB, free: 136.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001083/1.607, allocations: 375.5 kB / 0.8139 GB, free: 136.6 MB / 462.1 MB Notification: Performance of SimCode: time 1.202e-06/1.607, allocations: 3.938 kB / 0.8139 GB, free: 136.6 MB / 462.1 MB Notification: Performance of Templates: time 0.1173/1.724, allocations: 72.91 MB / 0.8851 GB, free: 65.12 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)