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.001604/0.001604, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001934/0.001934, allocations: 193.1 kB / 16.13 MB, free: 6.66 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.55/1.55, allocations: 205.1 MB / 222 MB, free: 4.738 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.001325/0.001326, allocations: 51.92 kB / 278.1 MB, free: 12.73 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2813, allocations: 46.62 MB / 324.7 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02575/0.3072, allocations: 24.52 MB / 349.2 MB, free: 11.54 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01707/0.3243, allocations: 7.66 MB / 356.9 MB, free: 3.855 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006428/0.3307, allocations: 143.6 kB / 357 MB, free: 3.715 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01814/0.349, allocations: 7.916 MB / 364.9 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01124/0.3603, allocations: 2.785 MB / 367.7 MB, free: 8.973 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005649/0.3659, allocations: 1.681 MB / 369.4 MB, free: 7.289 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0152/0.3811, allocations: 11.15 MB / 380.6 MB, free: 12.1 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03278/0.414, allocations: 19.65 MB / 400.2 MB, free: 8.289 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007996/0.422, allocations: 5.145 MB / 405.4 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009922/0.432, allocations: 6.287 MB / 411.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003531/0.4355, allocations: 1.109 MB / 412.8 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00513/0.4407, allocations: 1.507 MB / 414.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002928/0.4436, allocations: 2.789 MB / 417 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00949/0.4531, allocations: 5.791 MB / 422.8 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02478/0.4779, allocations: 22.62 MB / 445.5 MB, free: 10.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.478, allocations: 0 / 445.5 MB, free: 10.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.51e-07/0.478, allocations: 0 / 445.5 MB, free: 10.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006171/0.4786, allocations: 4 kB / 445.5 MB, free: 10.9 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.463/0.9416, allocations: 13.63 MB / 459.1 MB, free: 94.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.085e-05/0.9417, allocations: 10.69 kB / 459.1 MB, free: 94.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04065/0.9823, allocations: 7.196 MB / 466.3 MB, free: 92.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01351/0.9959, allocations: 6.487 MB / 472.8 MB, free: 88.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007698/0.9967, allocations: 0.7297 MB / 473.5 MB, free: 88.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006022/1.003, allocations: 0.964 MB / 474.5 MB, free: 87.94 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04091/1.044, allocations: 16.61 MB / 491.1 MB, free: 71.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005235/1.044, allocations: 15.91 kB / 491.1 MB, free: 71.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004615/1.049, allocations: 407.4 kB / 491.5 MB, free: 71.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000676/1.05, allocations: 0.587 MB / 492.1 MB, free: 70.74 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03328/1.083, allocations: 15.8 MB / 0.496 GB, free: 54.92 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08791/1.171, allocations: 53.87 MB / 0.5486 GB, free: 172 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02457/1.195, allocations: 22.73 MB / 0.5708 GB, free: 7.211 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006348/1.202, allocations: 3.824 MB / 0.5745 GB, free: 3.367 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0194/1.221, allocations: 11.8 MB / 0.586 GB, free: 7.355 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.814e-05/1.221, allocations: 73.39 kB / 0.5861 GB, free: 7.273 MB / 430.1 MB Notification: Performance of pre-optimization done (n=363): time 5.3e-06/1.221, allocations: 4 kB / 0.5861 GB, free: 7.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=368): time 0.04275/1.264, allocations: 17.48 MB / 0.6032 GB, free: 5.637 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.65e-05/1.264, allocations: 86.27 kB / 0.6033 GB, free: 5.539 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007308/1.272, allocations: 4.765 MB / 0.6079 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00062/1.272, allocations: 85.7 kB / 0.608 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003258/1.275, allocations: 4.474 MB / 0.6124 GB, free: 12.12 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001658/1.277, allocations: 1.267 MB / 0.6136 GB, free: 10.84 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001916/1.279, allocations: 1.198 MB / 0.6148 GB, free: 9.629 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/1.279, allocations: 305.1 kB / 0.6151 GB, free: 9.328 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004502/1.284, allocations: 2.932 MB / 0.6179 GB, free: 6.391 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2256/1.509, allocations: 5.299 MB / 0.6231 GB, free: 156.9 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01145/1.521, allocations: 8.709 MB / 0.6316 GB, free: 152.4 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.518e-05/1.521, allocations: 19.66 kB / 0.6316 GB, free: 152.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=769) (initialization): time 0.01472/1.536, allocations: 9.663 MB / 0.6411 GB, free: 148.7 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.036e-05/1.536, allocations: 50.89 kB / 0.6411 GB, free: 148.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001329/1.536, allocations: 78.44 kB / 0.6412 GB, free: 148.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003327/1.539, allocations: 1.394 MB / 0.6426 GB, free: 148.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00451/1.544, allocations: 1.331 MB / 0.6439 GB, free: 148.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01434/1.558, allocations: 11.68 MB / 0.6553 GB, free: 141.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004725/1.563, allocations: 371.9 kB / 0.6556 GB, free: 141.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007336/1.563, allocations: 301.2 kB / 0.6559 GB, free: 141.4 MB / 462.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.006023/1.569, allocations: 3.924 MB / 0.6597 GB, free: 139.5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009393/1.57, allocations: 444 kB / 0.6602 GB, free: 139.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009958/1.58, allocations: 6.817 MB / 0.6668 GB, free: 134.1 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007555/1.588, allocations: 5.633 MB / 0.6723 GB, free: 128.8 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.555e-05/1.588, allocations: 12 kB / 0.6723 GB, free: 128.8 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.934e-05/1.588, allocations: 23.86 kB / 0.6724 GB, free: 128.8 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02141/1.609, allocations: 15.51 MB / 0.6875 GB, free: 113.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.417e-05/1.61, allocations: 12.67 kB / 0.6875 GB, free: 113.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002561/1.612, allocations: 0.6592 MB / 0.6882 GB, free: 112.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002951/1.615, allocations: 1.27 MB / 0.6894 GB, free: 111.3 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002895/1.615, allocations: 87.97 kB / 0.6895 GB, free: 111.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01138/1.627, allocations: 10.58 MB / 0.6998 GB, free: 100.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/1.627, allocations: 4 kB / 0.6998 GB, free: 100.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01315/1.64, allocations: 10.09 MB / 0.7097 GB, free: 90.32 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002138/1.642, allocations: 1.026 MB / 0.7107 GB, free: 89.27 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006532/1.643, allocations: 79.92 kB / 0.7107 GB, free: 89.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001986/1.645, allocations: 215.8 kB / 0.711 GB, free: 88.98 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006364/1.645, allocations: 275.1 kB / 0.7112 GB, free: 88.71 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002254/1.646, allocations: 116 kB / 0.7113 GB, free: 88.6 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004021/1.65, allocations: 3.229 MB / 0.7145 GB, free: 85.37 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/1.65, allocations: 0 / 0.7145 GB, free: 85.37 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00557/1.655, allocations: 1.703 MB / 0.7161 GB, free: 83.67 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.001183/1.656, allocations: 0.5153 MB / 0.7166 GB, free: 83.19 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01053/1.667, allocations: 7.57 MB / 0.724 GB, free: 75.59 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/1.667, allocations: 4 kB / 0.724 GB, free: 75.58 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005131/1.672, allocations: 3.607 MB / 0.7276 GB, free: 71.96 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004829/1.677, allocations: 0.9737 MB / 0.7285 GB, free: 70.98 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03908/1.716, allocations: 22.19 MB / 0.7502 GB, free: 48.71 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008984/1.725, allocations: 6.559 MB / 0.7566 GB, free: 42.11 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0068/1.732, allocations: 2.098 MB / 0.7586 GB, free: 40.01 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001706/1.734, allocations: 359.3 kB / 0.759 GB, free: 39.66 MB / 462.1 MB Notification: Performance of SimCode: time 1.353e-06/1.734, allocations: 0 / 0.759 GB, free: 39.66 MB / 462.1 MB Notification: Performance of Templates: time 0.3305/2.064, allocations: 69.27 MB / 0.8266 GB, free: 129.8 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)