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_Initialize.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_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=300000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=300000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 99.03 kB / 16.5 MB, free: 6.645 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.002144/0.002144, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.555/1.555, allocations: 205.1 MB / 223.3 MB, free: 12.46 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.001237/0.001238, allocations: 55.92 kB / 279.4 MB, free: 3.562 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1118, allocations: 46.63 MB / 326 MB, free: 4.867 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.03245/0.1443, allocations: 32.38 MB / 358.4 MB, free: 4.348 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02161/0.166, allocations: 8.889 MB / 367.3 MB, free: 11.43 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009021/0.1751, allocations: 195.2 kB / 367.4 MB, free: 11.24 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01903/0.1942, allocations: 7.456 MB / 374.9 MB, free: 3.754 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01513/0.2093, allocations: 3.387 MB / 378.3 MB, free: 360 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2202/0.4295, allocations: 1.988 MB / 380.3 MB, free: 12.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02228/0.4518, allocations: 13.56 MB / 393.8 MB, free: 12.21 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02529/0.4772, allocations: 18.27 MB / 412.1 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01031/0.4875, allocations: 5.598 MB / 417.7 MB, free: 0 / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01411/0.5017, allocations: 6.876 MB / 424.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005209/0.507, allocations: 1.157 MB / 425.7 MB, free: 9.453 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008452/0.5154, allocations: 1.51 MB / 427.2 MB, free: 8.043 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006096/0.5216, allocations: 3.046 MB / 430.3 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01711/0.5387, allocations: 6.5 MB / 436.8 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03254/0.5713, allocations: 24.42 MB / 461.2 MB, free: 7.289 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.297e-06/0.5713, allocations: 0 / 461.2 MB, free: 7.289 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.5713, allocations: 3.938 kB / 461.2 MB, free: 7.285 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0008443/0.5722, allocations: 3.938 kB / 461.2 MB, free: 7.281 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: 3009 * Number of variables: 3009 Notification: Performance of Generate backend data structure: time 0.04974/0.622, allocations: 14.8 MB / 476 MB, free: 8.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.596e-05/0.622, allocations: 12.03 kB / 476 MB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04359/0.6656, allocations: 7.734 MB / 483.8 MB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01865/0.6843, allocations: 7.272 MB / 491 MB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009653/0.6853, allocations: 0.8033 MB / 491.8 MB, free: 9.012 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004904/0.6902, allocations: 1.071 MB / 492.9 MB, free: 7.953 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05353/0.7438, allocations: 17.68 MB / 0.4986 GB, free: 6.25 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006817/0.7445, allocations: 15.56 kB / 0.4986 GB, free: 6.238 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00458/0.7491, allocations: 450 kB / 0.4991 GB, free: 5.812 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008188/0.75, allocations: 0.6553 MB / 0.4997 GB, free: 5.152 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05135/0.8013, allocations: 16.98 MB / 0.5163 GB, free: 4.156 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5073/1.309, allocations: 57.16 MB / 0.5721 GB, free: 116.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03206/1.341, allocations: 40.06 MB / 0.6112 GB, free: 77.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007366/1.348, allocations: 4.502 MB / 0.6156 GB, free: 75.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02711/1.375, allocations: 12.71 MB / 0.628 GB, free: 66.56 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001208/1.375, allocations: 80.19 kB / 0.6281 GB, free: 66.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=398): time 1.072e-05/1.376, allocations: 0 / 0.6281 GB, free: 66.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=423): time 0.0495/1.425, allocations: 21.45 MB / 0.6491 GB, free: 46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.314e-05/1.425, allocations: 120.7 kB / 0.6492 GB, free: 45.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009642/1.435, allocations: 4.824 MB / 0.6539 GB, free: 41.03 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001074/1.436, allocations: 97.7 kB / 0.654 GB, free: 40.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00298/1.439, allocations: 4.8 MB / 0.6587 GB, free: 36.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00184/1.441, allocations: 1.453 MB / 0.6601 GB, free: 34.65 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00395/1.445, allocations: 1.188 MB / 0.6612 GB, free: 33.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.072e-05/1.445, allocations: 313 kB / 0.6615 GB, free: 33.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004895/1.45, allocations: 2.96 MB / 0.6644 GB, free: 30.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006321/1.456, allocations: 5.236 MB / 0.6695 GB, free: 23.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01079/1.467, allocations: 8.729 MB / 0.6781 GB, free: 14.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.571e-05/1.467, allocations: 24 kB / 0.6781 GB, free: 14.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=803) (initialization): time 0.0211/1.488, allocations: 10.04 MB / 0.6879 GB, free: 3.992 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.127e-05/1.488, allocations: 36 kB / 0.6879 GB, free: 3.957 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001487/1.488, allocations: 79.94 kB / 0.688 GB, free: 3.879 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004833/1.493, allocations: 1.674 MB / 0.6896 GB, free: 2.195 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005262/1.498, allocations: 1.396 MB / 0.691 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2515/1.75, allocations: 16.47 MB / 0.7071 GB, free: 143.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005385/1.755, allocations: 340.9 kB / 0.7074 GB, free: 143.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001203/1.757, allocations: 309 kB / 0.7077 GB, free: 143.4 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 335 * 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 (710): * Single equations (assignments): 706 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (7,28,67.3%), (1,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007671/1.764, allocations: 3.948 MB / 0.7116 GB, free: 143.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001396/1.766, allocations: 0.5011 MB / 0.7121 GB, free: 143.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01762/1.783, allocations: 7.792 MB / 0.7197 GB, free: 141 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.336e-05/1.783, allocations: 46.31 kB / 0.7197 GB, free: 141 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.071e-05/1.784, allocations: 22.31 kB / 0.7197 GB, free: 141 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.725e-05/1.784, allocations: 23.58 kB / 0.7198 GB, free: 141 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0359/1.82, allocations: 17.53 MB / 0.7369 GB, free: 133.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.875e-05/1.82, allocations: 10.09 kB / 0.7369 GB, free: 133.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004393/1.824, allocations: 0.7283 MB / 0.7376 GB, free: 133.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00586/1.83, allocations: 1.554 MB / 0.7391 GB, free: 133.1 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007914/1.831, allocations: 102 kB / 0.7392 GB, free: 133 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02557/1.856, allocations: 19.51 MB / 0.7583 GB, free: 118.7 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/1.856, allocations: 10.06 kB / 0.7583 GB, free: 118.7 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01805/1.874, allocations: 11.46 MB / 0.7695 GB, free: 111.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003359/1.878, allocations: 1.157 MB / 0.7706 GB, free: 110.5 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001938/1.88, allocations: 84 kB / 0.7707 GB, free: 110.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00358/1.883, allocations: 231.8 kB / 0.7709 GB, free: 110.2 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001137/1.885, allocations: 327.4 kB / 0.7712 GB, free: 109.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006186/1.885, allocations: 132 kB / 0.7713 GB, free: 109.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005911/1.891, allocations: 3.253 MB / 0.7745 GB, free: 106.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 2e-07/1.891, allocations: 0 / 0.7745 GB, free: 106.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.007791/1.899, allocations: 1.9 MB / 0.7764 GB, free: 104.6 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.strayReluctance.Phi.re,imc.stator.strayReluctance.Phi.im,loadInertia.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 (364): * Single equations (assignments): 357 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (14,44,40.8%), (2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,5,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001045/1.9, allocations: 269.8 kB / 0.7766 GB, free: 104.4 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01434/1.914, allocations: 8.232 MB / 0.7847 GB, free: 96.09 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.465e-05/1.914, allocations: 0 / 0.7847 GB, free: 96.09 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008061/1.922, allocations: 4.644 MB / 0.7892 GB, free: 91.37 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009099/1.932, allocations: 1.239 MB / 0.7904 GB, free: 90.14 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04146/1.973, allocations: 24.24 MB / 0.8141 GB, free: 65.84 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01284/1.986, allocations: 6.859 MB / 0.8208 GB, free: 58.94 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.007152/1.993, allocations: 1.936 MB / 0.8227 GB, free: 57 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001988/1.995, allocations: 379.4 kB / 0.823 GB, free: 56.62 MB / 462.1 MB Notification: Performance of SimCode: time 8.82e-07/1.995, allocations: 0 / 0.823 GB, free: 56.62 MB / 462.1 MB Notification: Performance of Templates: time 0.3163/2.312, allocations: 82.8 MB / 0.9039 GB, free: 113.2 MB / 462.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1)