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.IMC_withLosses.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.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001688/0.001688, 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.001845/0.001846, allocations: 197 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.486/1.486, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.001338/0.001338, allocations: 48.27 kB / 278.7 MB, free: 12.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2519, allocations: 46.64 MB / 325.3 MB, free: 1.848 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.0269/0.2788, allocations: 24.96 MB / 350.3 MB, free: 10.87 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01717/0.296, allocations: 7.71 MB / 358 MB, free: 3.141 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004892/0.301, allocations: 151.6 kB / 358.2 MB, free: 2.992 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0199/0.3209, allocations: 8.37 MB / 366.5 MB, free: 10.59 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.01035/0.3313, allocations: 3.035 MB / 369.6 MB, free: 7.535 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005485/0.3368, allocations: 1.793 MB / 371.4 MB, free: 5.738 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01558/0.3524, allocations: 11.13 MB / 382.5 MB, free: 10.56 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04297/0.3954, allocations: 23.52 MB / 406 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01022/0.4057, allocations: 5.962 MB / 412 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01123/0.417, allocations: 6.631 MB / 418.6 MB, free: 6.242 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005438/0.4224, allocations: 1.723 MB / 420.3 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007645/0.4301, allocations: 2.128 MB / 422.5 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007157/0.4373, allocations: 3.418 MB / 425.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01292/0.4502, allocations: 6.436 MB / 432.3 MB, free: 8.504 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02865/0.4789, allocations: 23.03 MB / 455.3 MB, free: 1.414 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.479, allocations: 0 / 455.3 MB, free: 1.414 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.479, allocations: 0 / 455.3 MB, free: 1.414 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006451/0.4797, allocations: 0 / 455.3 MB, free: 1.414 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: 2742 * Number of variables: 2742 Notification: Performance of Generate backend data structure: time 0.2411/0.7207, allocations: 13.61 MB / 468.9 MB, free: 97.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.7208, allocations: 11.84 kB / 469 MB, free: 97.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03837/0.7592, allocations: 7.196 MB / 476.2 MB, free: 91.94 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0132/0.7724, allocations: 6.483 MB / 482.6 MB, free: 85.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005042/0.7729, allocations: 0.738 MB / 483.4 MB, free: 84.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003702/0.7766, allocations: 0.9655 MB / 484.3 MB, free: 83.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04203/0.8187, allocations: 16.6 MB / 0.4892 GB, free: 67.1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003019/0.819, allocations: 9.781 kB / 0.4892 GB, free: 67.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002793/0.8218, allocations: 418.5 kB / 0.4896 GB, free: 66.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004146/0.8222, allocations: 0.5831 MB / 0.4902 GB, free: 66.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03016/0.8524, allocations: 15.78 MB / 0.5056 GB, free: 50.31 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08269/0.9351, allocations: 53.9 MB / 0.5582 GB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02521/0.9604, allocations: 22.73 MB / 0.5804 GB, free: 2.469 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007179/0.9676, allocations: 3.789 MB / 0.5841 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02597/0.9936, allocations: 11.71 MB / 0.5956 GB, free: 2.719 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.775e-05/0.9937, allocations: 81.34 kB / 0.5956 GB, free: 2.629 MB / 430.1 MB Notification: Performance of pre-optimization done (n=357): time 6.652e-06/0.9938, allocations: 0 / 0.5956 GB, free: 2.629 MB / 430.1 MB Notification: Performance of matching and sorting (n=362): time 0.04901/1.043, allocations: 17.5 MB / 0.6127 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.486e-05/1.043, allocations: 90.25 kB / 0.6128 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3217/1.365, allocations: 4.761 MB / 0.6175 GB, free: 147.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006295/1.365, allocations: 82.36 kB / 0.6175 GB, free: 147.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002064/1.367, allocations: 4.486 MB / 0.6219 GB, free: 145.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001662/1.369, allocations: 1.249 MB / 0.6231 GB, free: 144.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002025/1.371, allocations: 1.182 MB / 0.6243 GB, free: 143.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.771e-05/1.371, allocations: 307.6 kB / 0.6246 GB, free: 143.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003797/1.375, allocations: 2.896 MB / 0.6274 GB, free: 142.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005013/1.38, allocations: 5.264 MB / 0.6326 GB, free: 138 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009675/1.39, allocations: 8.638 MB / 0.641 GB, free: 132 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-05/1.39, allocations: 23.53 kB / 0.641 GB, free: 132 MB / 446.1 MB Notification: Performance of matching and sorting (n=763) (initialization): time 0.01536/1.405, allocations: 9.62 MB / 0.6504 GB, free: 127.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.818e-05/1.405, allocations: 36 kB / 0.6504 GB, free: 127 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001282/1.405, allocations: 80 kB / 0.6505 GB, free: 127 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003476/1.409, allocations: 1.45 MB / 0.6519 GB, free: 125.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004421/1.413, allocations: 1.333 MB / 0.6532 GB, free: 124.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01488/1.428, allocations: 12.69 MB / 0.6656 GB, free: 113.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004924/1.433, allocations: 369.8 kB / 0.666 GB, free: 112.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009642/1.434, allocations: 303.2 kB / 0.6663 GB, free: 112.6 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 355 * 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 (689): * Single equations (assignments): 686 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,45.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005629/1.44, allocations: 3.923 MB / 0.6701 GB, free: 108.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001186/1.441, allocations: 446.5 kB / 0.6705 GB, free: 108.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01131/1.452, allocations: 6.768 MB / 0.6771 GB, free: 101.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007998/1.46, allocations: 5.58 MB / 0.6826 GB, free: 96.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.693e-05/1.46, allocations: 15.98 kB / 0.6826 GB, free: 96.03 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.134e-05/1.46, allocations: 15.94 kB / 0.6826 GB, free: 96.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02572/1.486, allocations: 15.45 MB / 0.6977 GB, free: 80.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-05/1.486, allocations: 4.875 kB / 0.6977 GB, free: 80.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002673/1.489, allocations: 0.6592 MB / 0.6983 GB, free: 79.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003267/1.492, allocations: 1.319 MB / 0.6996 GB, free: 78.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003788/1.493, allocations: 90.31 kB / 0.6997 GB, free: 78.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01295/1.506, allocations: 11.57 MB / 0.711 GB, free: 66.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/1.506, allocations: 15.88 kB / 0.711 GB, free: 66.58 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01334/1.519, allocations: 10 MB / 0.7208 GB, free: 56.44 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00197/1.521, allocations: 1.015 MB / 0.7218 GB, free: 55.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009881/1.522, allocations: 68 kB / 0.7219 GB, free: 55.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002518/1.524, allocations: 227.7 kB / 0.7221 GB, free: 55.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005893/1.525, allocations: 271 kB / 0.7223 GB, free: 54.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000269/1.525, allocations: 116 kB / 0.7224 GB, free: 54.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004499/1.53, allocations: 3.229 MB / 0.7256 GB, free: 51.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/1.53, allocations: 4 kB / 0.7256 GB, free: 51.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005532/1.535, allocations: 1.689 MB / 0.7272 GB, free: 49.81 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.x) * 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 (333): * Single equations (assignments): 330 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,43.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001215/1.537, allocations: 0.5158 MB / 0.7278 GB, free: 49.33 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02319/1.56, allocations: 12.1 MB / 0.7396 GB, free: 37.24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/1.56, allocations: 0 / 0.7396 GB, free: 37.24 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005536/1.565, allocations: 3.599 MB / 0.7431 GB, free: 33.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005205/1.571, allocations: 1.02 MB / 0.7441 GB, free: 32.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02992/1.601, allocations: 17.99 MB / 0.7617 GB, free: 14.53 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008291/1.609, allocations: 6.551 MB / 0.768 GB, free: 7.938 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.006458/1.615, allocations: 2.11 MB / 0.7701 GB, free: 5.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001474/1.617, allocations: 355.4 kB / 0.7704 GB, free: 5.477 MB / 446.1 MB Notification: Performance of SimCode: time 6.81e-07/1.617, allocations: 0 / 0.7704 GB, free: 5.477 MB / 446.1 MB Notification: Performance of Templates: time 0.2788/1.896, allocations: 71.37 MB / 0.8401 GB, free: 105.4 MB / 462.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1)