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.001053/0.001053, allocations: 100.9 kB / 15.06 MB, free: 1.098 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.001074/0.001074, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 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.4 MB / 222.1 MB, free: 5.66 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.0004389/0.000439, allocations: 16 kB / 278.9 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1935/0.1939, allocations: 47.57 MB / 326.5 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02124/0.2152, allocations: 21.66 MB / 348.1 MB, free: 13.81 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01369/0.229, allocations: 7.609 MB / 355.7 MB, free: 6.184 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003825/0.2328, allocations: 159.4 kB / 355.9 MB, free: 6.027 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005332/0.2382, allocations: 1.637 MB / 357.5 MB, free: 4.383 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009223/0.2474, allocations: 2.84 MB / 360.4 MB, free: 1.535 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004139/0.2516, allocations: 1.275 MB / 361.6 MB, free: 264 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01628/0.2679, allocations: 10.92 MB / 372.6 MB, free: 5.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03384/0.3018, allocations: 19.64 MB / 392.2 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007329/0.3091, allocations: 4.408 MB / 396.6 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007668/0.3168, allocations: 4.798 MB / 401.4 MB, free: 8.348 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002399/0.3193, allocations: 0.7188 MB / 402.1 MB, free: 7.629 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003885/0.3232, allocations: 1.011 MB / 403.1 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003076/0.3263, allocations: 2.192 MB / 405.3 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003439/0.3297, allocations: 2.336 MB / 407.7 MB, free: 2.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01917/0.3489, allocations: 20.87 MB / 428.5 MB, free: 13.13 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.3489, allocations: 0 / 428.5 MB, free: 13.13 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.3489, allocations: 0 / 428.5 MB, free: 13.13 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000499/0.3494, allocations: 0 / 428.5 MB, free: 13.13 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.0327/0.3822, allocations: 12.32 MB / 440.9 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.3822, allocations: 12.02 kB / 440.9 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05154/0.4338, allocations: 9.248 MB / 450.1 MB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01628/0.4501, allocations: 6.819 MB / 456.9 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.2879/0.7381, allocations: 0.8134 MB / 457.8 MB, free: 90.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004265/0.7424, allocations: 1.071 MB / 458.8 MB, free: 90.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03271/0.7751, allocations: 18.59 MB / 477.4 MB, free: 83.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002076/0.7753, allocations: 19.45 kB / 477.4 MB, free: 83.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001209/0.7765, allocations: 454.8 kB / 477.9 MB, free: 82.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004899/0.777, allocations: 0.6982 MB / 478.6 MB, free: 82.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02553/0.8026, allocations: 18.15 MB / 496.7 MB, free: 66.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07499/0.8776, allocations: 60.11 MB / 0.5438 GB, free: 5.258 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03406/0.9117, allocations: 46.66 MB / 0.5894 GB, free: 1.617 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02208/0.9338, allocations: 12.56 MB / 0.6016 GB, free: 5.098 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.344e-05/0.9339, allocations: 77.64 kB / 0.6017 GB, free: 5.012 MB / 446.1 MB Notification: Performance of pre-optimization done (n=395): time 5.461e-06/0.9339, allocations: 0 / 0.6017 GB, free: 5.012 MB / 446.1 MB Notification: Performance of matching and sorting (n=401): time 0.04287/0.9768, allocations: 19.76 MB / 0.621 GB, free: 1.109 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.781e-05/0.9769, allocations: 94.48 kB / 0.6211 GB, free: 1.004 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1775/1.154, allocations: 4.263 MB / 0.6252 GB, free: 156.6 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006282/1.155, allocations: 89.94 kB / 0.6253 GB, free: 156.5 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002195/1.157, allocations: 4.807 MB / 0.63 GB, free: 153.7 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001138/1.158, allocations: 1.38 MB / 0.6314 GB, free: 152.6 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003181/1.159, allocations: 130.4 kB / 0.6315 GB, free: 152.5 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002702/1.159, allocations: 0.5648 MB / 0.632 GB, free: 152.1 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004172/1.163, allocations: 3.165 MB / 0.6351 GB, free: 150.9 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005361/1.169, allocations: 5.761 MB / 0.6408 GB, free: 146.3 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005693/1.174, allocations: 4.447 MB / 0.6451 GB, free: 144.4 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.969e-05/1.174, allocations: 26.62 kB / 0.6451 GB, free: 144.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=832) (initialization): time 0.01542/1.19, allocations: 10.34 MB / 0.6552 GB, free: 140.3 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.56e-05/1.19, allocations: 43.34 kB / 0.6553 GB, free: 140.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001454/1.19, allocations: 87.75 kB / 0.6554 GB, free: 140.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003445/1.194, allocations: 1.41 MB / 0.6567 GB, free: 140 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005832/1.199, allocations: 1.474 MB / 0.6582 GB, free: 139.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01387/1.213, allocations: 10.86 MB / 0.6688 GB, free: 132.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005462/1.219, allocations: 402.5 kB / 0.6692 GB, free: 131.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001238/1.22, allocations: 327.1 kB / 0.6695 GB, free: 131.6 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 (759): * Single equations (assignments): 754 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.8%) 56} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006581/1.227, allocations: 4.178 MB / 0.6736 GB, free: 128.1 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009263/1.228, allocations: 450 kB / 0.674 GB, free: 127.6 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01062/1.238, allocations: 7.479 MB / 0.6813 GB, free: 120.8 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00821/1.246, allocations: 6.134 MB / 0.6873 GB, free: 114.6 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.62e-05/1.246, allocations: 8 kB / 0.6873 GB, free: 114.6 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.4e-05/1.247, allocations: 24.8 kB / 0.6873 GB, free: 114.6 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02711/1.274, allocations: 16.53 MB / 0.7034 GB, free: 98.05 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.777e-05/1.274, allocations: 3.938 kB / 0.7035 GB, free: 98.05 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003092/1.277, allocations: 0.745 MB / 0.7042 GB, free: 97.31 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003108/1.28, allocations: 1.238 MB / 0.7054 GB, free: 96.07 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006516/1.281, allocations: 79.98 kB / 0.7055 GB, free: 95.99 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01184/1.292, allocations: 9.628 MB / 0.7149 GB, free: 86.24 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/1.293, allocations: 0 / 0.7149 GB, free: 86.24 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01452/1.307, allocations: 10.8 MB / 0.7254 GB, free: 75.36 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002693/1.31, allocations: 1.065 MB / 0.7265 GB, free: 74.27 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001055/1.311, allocations: 72 kB / 0.7265 GB, free: 74.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002675/1.314, allocations: 259.8 kB / 0.7268 GB, free: 73.95 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006316/1.314, allocations: 279.5 kB / 0.727 GB, free: 73.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002549/1.314, allocations: 116 kB / 0.7271 GB, free: 73.56 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004157/1.319, allocations: 2.842 MB / 0.7299 GB, free: 70.71 MB / 462.1 MB Notification: Performance of sort global known variables: time 5.11e-07/1.319, allocations: 4 kB / 0.7299 GB, free: 70.71 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00678/1.325, allocations: 1.841 MB / 0.7317 GB, free: 68.87 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 (367): * Single equations (assignments): 362 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,40.3%) 56} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006526/1.326, allocations: 264.3 kB / 0.732 GB, free: 68.61 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01131/1.337, allocations: 8.027 MB / 0.7398 GB, free: 60.57 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/1.338, allocations: 4 kB / 0.7398 GB, free: 60.57 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006216/1.344, allocations: 3.712 MB / 0.7434 GB, free: 56.85 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004671/1.348, allocations: 0.9789 MB / 0.7444 GB, free: 55.88 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02978/1.378, allocations: 22.47 MB / 0.7663 GB, free: 33.35 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006099/1.384, allocations: 7.204 MB / 0.7734 GB, free: 26.09 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.006178/1.391, allocations: 2.252 MB / 0.7756 GB, free: 23.83 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001124/1.392, allocations: 367.4 kB / 0.7759 GB, free: 23.47 MB / 462.1 MB Notification: Performance of SimCode: time 1.002e-06/1.392, allocations: 0 / 0.7759 GB, free: 23.47 MB / 462.1 MB Notification: Performance of Templates: time 0.2718/1.664, allocations: 69.85 MB / 0.8441 GB, free: 108.6 MB / 462.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: