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.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.2_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.2_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.001509/0.00151, allocations: 102.3 kB / 16.62 MB, free: 6.812 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.001566/0.001566, allocations: 193.8 kB / 17.55 MB, free: 5.941 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.571/1.571, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.001153/0.001153, allocations: 55.92 kB / 279.5 MB, free: 3.469 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1119, allocations: 46.63 MB / 326.2 MB, free: 4.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02608/0.138, allocations: 24.53 MB / 350.7 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01905/0.1572, allocations: 7.612 MB / 358.3 MB, free: 4.484 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006644/0.1638, allocations: 147.5 kB / 358.5 MB, free: 4.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01976/0.1837, allocations: 7.916 MB / 366.4 MB, free: 12.39 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0125/0.1962, allocations: 2.785 MB / 369.2 MB, free: 9.598 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006637/0.2029, allocations: 1.645 MB / 370.8 MB, free: 7.953 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2458/0.4487, allocations: 11.18 MB / 382 MB, free: 11.7 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04198/0.4907, allocations: 26.94 MB / 408.9 MB, free: 4.977 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009961/0.5007, allocations: 6.014 MB / 414.9 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01369/0.5144, allocations: 6.76 MB / 421.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005581/0.5201, allocations: 1.727 MB / 423.4 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007892/0.528, allocations: 2.127 MB / 425.5 MB, free: 8.051 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005704/0.5337, allocations: 3.421 MB / 429 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01268/0.5464, allocations: 6.438 MB / 435.4 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02598/0.5724, allocations: 23.03 MB / 458.4 MB, free: 9.008 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.5725, allocations: 3.562 kB / 458.4 MB, free: 9.008 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.5725, allocations: 0 / 458.4 MB, free: 9.008 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0006625/0.5731, allocations: 0 / 458.4 MB, free: 9.008 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: 2742 * Number of variables: 2742 Notification: Performance of Generate backend data structure: time 0.04498/0.6181, allocations: 13.62 MB / 472.1 MB, free: 11.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/0.6182, allocations: 12.03 kB / 472.1 MB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03982/0.658, allocations: 7.201 MB / 479.3 MB, free: 4.246 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01401/0.6721, allocations: 6.487 MB / 485.8 MB, free: 13.99 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006989/0.6728, allocations: 0.7343 MB / 486.5 MB, free: 13.26 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00476/0.6776, allocations: 0.9641 MB / 487.5 MB, free: 12.31 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04382/0.7214, allocations: 16.61 MB / 0.4923 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002509/0.7217, allocations: 15.28 kB / 0.4923 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001997/0.7237, allocations: 408.8 kB / 0.4927 GB, free: 11.26 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005517/0.7243, allocations: 0.5909 MB / 0.4932 GB, free: 10.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03356/0.7578, allocations: 15.79 MB / 0.5087 GB, free: 10.86 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3302/1.088, allocations: 53.87 MB / 0.5613 GB, free: 122.9 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01723/1.105, allocations: 22.74 MB / 0.5835 GB, free: 104.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006143/1.112, allocations: 3.828 MB / 0.5872 GB, free: 102.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01583/1.127, allocations: 11.79 MB / 0.5987 GB, free: 95.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.452e-05/1.128, allocations: 69.7 kB / 0.5988 GB, free: 95.67 MB / 446.1 MB Notification: Performance of pre-optimization done (n=363): time 5.931e-06/1.128, allocations: 0 / 0.5988 GB, free: 95.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=368): time 0.03334/1.161, allocations: 17.49 MB / 0.6159 GB, free: 85.47 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/1.161, allocations: 91.95 kB / 0.616 GB, free: 85.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005997/1.167, allocations: 4.761 MB / 0.6206 GB, free: 80.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006482/1.168, allocations: 81.7 kB / 0.6207 GB, free: 80.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002201/1.17, allocations: 4.476 MB / 0.6251 GB, free: 76.03 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001051/1.171, allocations: 1.267 MB / 0.6263 GB, free: 74.78 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001491/1.172, allocations: 1.195 MB / 0.6275 GB, free: 73.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.057e-05/1.172, allocations: 307.8 kB / 0.6278 GB, free: 73.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003382/1.176, allocations: 2.936 MB / 0.6306 GB, free: 70.33 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004517/1.18, allocations: 5.296 MB / 0.6358 GB, free: 63.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01018/1.191, allocations: 8.7 MB / 0.6443 GB, free: 54.17 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.877e-05/1.191, allocations: 24 kB / 0.6443 GB, free: 54.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=769) (initialization): time 0.01491/1.206, allocations: 9.662 MB / 0.6538 GB, free: 44.45 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.739e-05/1.206, allocations: 44.56 kB / 0.6538 GB, free: 44.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001217/1.206, allocations: 76 kB / 0.6539 GB, free: 44.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003249/1.209, allocations: 1.415 MB / 0.6553 GB, free: 42.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004866/1.214, allocations: 1.33 MB / 0.6566 GB, free: 41.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01402/1.228, allocations: 12.57 MB / 0.6688 GB, free: 28.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005141/1.233, allocations: 371.4 kB / 0.6692 GB, free: 28.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00134/1.235, allocations: 304 kB / 0.6695 GB, free: 28.08 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 (692): * Single equations (assignments): 686 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.00718/1.242, allocations: 3.923 MB / 0.6733 GB, free: 24.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001158/1.243, allocations: 450.4 kB / 0.6737 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01034/1.253, allocations: 6.82 MB / 0.6804 GB, free: 16.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008046/1.261, allocations: 5.632 MB / 0.6859 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-05/1.261, allocations: 12 kB / 0.6859 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.775e-05/1.262, allocations: 19.92 kB / 0.6859 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02727/1.289, allocations: 15.51 MB / 0.7011 GB, free: 11.54 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.945e-05/1.289, allocations: 4 kB / 0.7011 GB, free: 11.54 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003235/1.292, allocations: 0.667 MB / 0.7017 GB, free: 10.87 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003429/1.296, allocations: 1.279 MB / 0.703 GB, free: 9.586 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006331/1.296, allocations: 95.97 kB / 0.7031 GB, free: 9.492 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2415/1.538, allocations: 11.43 MB / 0.7142 GB, free: 147.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.877e-06/1.538, allocations: 10.81 kB / 0.7142 GB, free: 147.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01924/1.557, allocations: 10.09 MB / 0.7241 GB, free: 145.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00294/1.56, allocations: 1.02 MB / 0.7251 GB, free: 145.5 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007229/1.561, allocations: 72.48 kB / 0.7251 GB, free: 145.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002201/1.563, allocations: 220.1 kB / 0.7254 GB, free: 145.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007836/1.564, allocations: 274.9 kB / 0.7256 GB, free: 145.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002775/1.564, allocations: 120.4 kB / 0.7257 GB, free: 145.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004888/1.569, allocations: 3.231 MB / 0.7289 GB, free: 144.1 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.01e-07/1.569, allocations: 0 / 0.7289 GB, free: 144.1 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006878/1.576, allocations: 1.694 MB / 0.7305 GB, free: 143.9 MB / 462.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 (336): * Single equations (assignments): 330 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001492/1.577, allocations: 0.5196 MB / 0.7311 GB, free: 143.6 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.02629/1.604, allocations: 12.33 MB / 0.7431 GB, free: 140.6 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.17e-05/1.604, allocations: 7.906 kB / 0.7431 GB, free: 140.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006309/1.61, allocations: 3.61 MB / 0.7466 GB, free: 139 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006998/1.617, allocations: 1.022 MB / 0.7476 GB, free: 138.6 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03291/1.65, allocations: 22.19 MB / 0.7693 GB, free: 120.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009557/1.66, allocations: 6.556 MB / 0.7757 GB, free: 115 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.006308/1.666, allocations: 2.096 MB / 0.7777 GB, free: 113.6 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001107/1.667, allocations: 358 kB / 0.7781 GB, free: 113.2 MB / 462.1 MB Notification: Performance of SimCode: time 8.01e-07/1.667, allocations: 0 / 0.7781 GB, free: 113.2 MB / 462.1 MB Notification: Performance of Templates: time 0.1103/1.777, allocations: 71.68 MB / 0.8481 GB, free: 42.07 MB / 462.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1)