Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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.1_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.1_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.001448/0.001448, allocations: 108 kB / 15.6 MB, free: 132 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.001552/0.001552, allocations: 195.9 kB / 16.53 MB, free: 6.672 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.4 MB, free: 4.625 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.001393/0.001393, allocations: 51.94 kB / 278.7 MB, free: 12.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2676, allocations: 46.63 MB / 325.3 MB, free: 1.867 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.03599/0.3036, allocations: 32.94 MB / 358.3 MB, free: 2.844 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02261/0.3263, allocations: 8.987 MB / 367.3 MB, free: 9.832 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008937/0.3353, allocations: 207.2 kB / 367.5 MB, free: 9.629 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01985/0.3552, allocations: 7.937 MB / 375.4 MB, free: 1.656 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01664/0.3718, allocations: 3.71 MB / 379.1 MB, free: 13.92 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008288/0.3801, allocations: 2.132 MB / 381.2 MB, free: 11.79 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02166/0.4018, allocations: 13.07 MB / 394.3 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04246/0.4443, allocations: 22.6 MB / 416.9 MB, free: 7.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01211/0.4565, allocations: 6.608 MB / 423.5 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01351/0.47, allocations: 7.343 MB / 430.9 MB, free: 9.918 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006966/0.477, allocations: 1.891 MB / 432.8 MB, free: 8.027 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009207/0.4863, allocations: 2.257 MB / 435 MB, free: 5.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007288/0.4936, allocations: 3.811 MB / 438.8 MB, free: 1.949 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01577/0.5094, allocations: 7.183 MB / 446 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2631/0.7725, allocations: 24.94 MB / 471 MB, free: 51.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.7725, allocations: 1.969 kB / 471 MB, free: 51.37 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.7725, allocations: 0 / 471 MB, free: 51.37 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0008959/0.7734, allocations: 0 / 471 MB, free: 51.37 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: 3009 * Number of variables: 3009 Notification: Performance of Generate backend data structure: time 0.05546/0.8289, allocations: 14.81 MB / 485.8 MB, free: 45.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.829, allocations: 7.844 kB / 485.8 MB, free: 45.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04455/0.8735, allocations: 7.741 MB / 493.5 MB, free: 42.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01889/0.8924, allocations: 7.32 MB / 0.4891 GB, free: 38.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000747/0.8932, allocations: 0.8065 MB / 0.4899 GB, free: 37.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006537/0.8998, allocations: 1.063 MB / 0.4909 GB, free: 37.35 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06266/0.9625, allocations: 17.68 MB / 0.5082 GB, free: 19.65 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000772/0.9633, allocations: 23.81 kB / 0.5082 GB, free: 19.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006526/0.9698, allocations: 452 kB / 0.5086 GB, free: 19.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006942/0.9706, allocations: 0.6553 MB / 0.5093 GB, free: 18.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0395/1.01, allocations: 16.97 MB / 0.5258 GB, free: 1.547 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.133/1.143, allocations: 57.16 MB / 0.5817 GB, free: 8.043 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2733/1.417, allocations: 40.06 MB / 0.6208 GB, free: 170.8 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008426/1.425, allocations: 4.504 MB / 0.6252 GB, free: 170.7 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02027/1.445, allocations: 12.71 MB / 0.6376 GB, free: 166.2 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.043e-05/1.445, allocations: 81.23 kB / 0.6377 GB, free: 166.1 MB / 478.1 MB Notification: Performance of pre-optimization done (n=398): time 5.931e-06/1.445, allocations: 0 / 0.6377 GB, free: 166.1 MB / 478.1 MB Notification: Performance of matching and sorting (n=423): time 0.04995/1.495, allocations: 21.45 MB / 0.6586 GB, free: 155 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.4e-05/1.495, allocations: 120.7 kB / 0.6587 GB, free: 154.8 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01044/1.506, allocations: 4.824 MB / 0.6634 GB, free: 150.7 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001035/1.507, allocations: 93.7 kB / 0.6635 GB, free: 150.6 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004632/1.512, allocations: 4.796 MB / 0.6682 GB, free: 146.4 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002941/1.515, allocations: 1.456 MB / 0.6696 GB, free: 145.1 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003838/1.518, allocations: 1.193 MB / 0.6708 GB, free: 144 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.522e-05/1.518, allocations: 310 kB / 0.6711 GB, free: 143.7 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005013/1.523, allocations: 2.964 MB / 0.674 GB, free: 141.2 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005811/1.529, allocations: 5.242 MB / 0.6791 GB, free: 135.4 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01056/1.54, allocations: 8.723 MB / 0.6876 GB, free: 125.9 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.311e-05/1.54, allocations: 20 kB / 0.6877 GB, free: 125.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=803) (initialization): time 0.01856/1.559, allocations: 10.05 MB / 0.6975 GB, free: 115.8 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.497e-05/1.559, allocations: 39.98 kB / 0.6975 GB, free: 115.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001431/1.559, allocations: 72 kB / 0.6976 GB, free: 115.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004533/1.563, allocations: 1.674 MB / 0.6992 GB, free: 114 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005298/1.569, allocations: 1.4 MB / 0.7006 GB, free: 112.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02079/1.59, allocations: 17.79 MB / 0.7179 GB, free: 94.31 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006605/1.596, allocations: 343.6 kB / 0.7183 GB, free: 93.98 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001574/1.598, allocations: 304 kB / 0.7186 GB, free: 93.68 MB / 478.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.008982/1.607, allocations: 3.951 MB / 0.7224 GB, free: 89.71 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002159/1.609, allocations: 0.4978 MB / 0.7229 GB, free: 89.21 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01648/1.625, allocations: 7.8 MB / 0.7305 GB, free: 81.3 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.61e-05/1.626, allocations: 40 kB / 0.7306 GB, free: 81.27 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.813e-05/1.626, allocations: 20 kB / 0.7306 GB, free: 81.25 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.057e-05/1.626, allocations: 21.52 kB / 0.7306 GB, free: 81.23 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04044/1.666, allocations: 17.55 MB / 0.7477 GB, free: 63.54 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.615e-05/1.666, allocations: 4 kB / 0.7477 GB, free: 63.53 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003879/1.67, allocations: 0.7255 MB / 0.7484 GB, free: 62.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00442/1.675, allocations: 1.562 MB / 0.75 GB, free: 61.22 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000972/1.676, allocations: 104 kB / 0.7501 GB, free: 61.12 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02137/1.697, allocations: 21.23 MB / 0.7708 GB, free: 38.96 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.104e-05/1.697, allocations: 15.88 kB / 0.7708 GB, free: 38.94 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02135/1.718, allocations: 11.46 MB / 0.782 GB, free: 27.29 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004222/1.723, allocations: 1.155 MB / 0.7831 GB, free: 26.11 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003106/1.726, allocations: 88 kB / 0.7832 GB, free: 26.03 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004816/1.731, allocations: 231.8 kB / 0.7834 GB, free: 25.8 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001594/1.732, allocations: 335.2 kB / 0.7838 GB, free: 25.47 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009248/1.733, allocations: 128 kB / 0.7839 GB, free: 25.35 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.007441/1.741, allocations: 3.255 MB / 0.7871 GB, free: 22.1 MB / 478.1 MB Notification: Performance of sort global known variables: time 5.51e-07/1.741, allocations: 0 / 0.7871 GB, free: 22.1 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0117/1.752, allocations: 1.898 MB / 0.7889 GB, free: 20.2 MB / 478.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.001625/1.754, allocations: 266.8 kB / 0.7892 GB, free: 19.93 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.2533/2.007, allocations: 11.69 MB / 0.8006 GB, free: 160.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.945e-05/2.007, allocations: 7.594 kB / 0.8006 GB, free: 160.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008354/2.016, allocations: 4.64 MB / 0.8051 GB, free: 159.6 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00756/2.023, allocations: 1.305 MB / 0.8064 GB, free: 159.4 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03964/2.063, allocations: 19.67 MB / 0.8256 GB, free: 151.6 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01173/2.075, allocations: 6.845 MB / 0.8323 GB, free: 149.1 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.007631/2.082, allocations: 1.935 MB / 0.8342 GB, free: 147.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002082/2.085, allocations: 386.8 kB / 0.8346 GB, free: 147.6 MB / 478.1 MB Notification: Performance of SimCode: time 1.233e-06/2.085, allocations: 3.938 kB / 0.8346 GB, free: 147.6 MB / 478.1 MB Notification: Performance of Templates: time 0.1352/2.22, allocations: 85.72 MB / 0.9183 GB, free: 66.41 MB / 478.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1)