Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001098/0.001098, allocations: 182.8 kB / 18.04 MB, free: 3.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.439/1.439, allocations: 205.4 MB / 224.2 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008778/0.0008779, allocations: 88.98 kB / 272.5 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003859/0.0003861, allocations: 16 kB / 330.8 MB, free: 13.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2282, allocations: 47.56 MB / 378.4 MB, free: 46.05 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3644/0.5926, allocations: 168 MB / 0.5336 GB, free: 63.58 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/0.5929, allocations: 112 kB / 0.5337 GB, free: 63.56 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.9/3.493, allocations: 0.854 GB / 1.388 GB, free: 31.83 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.314e-06/3.493, allocations: 0 / 1.388 GB, free: 31.83 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.003356/3.496, allocations: 489.3 kB / 1.388 GB, free: 31.77 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5875 * Number of variables: 5875 Notification: Performance of Generate backend data structure: time 0.0905/3.587, allocations: 20.5 MB / 1.408 GB, free: 25.41 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/3.587, allocations: 10.66 kB / 1.408 GB, free: 25.41 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05697/3.644, allocations: 10.38 MB / 1.418 GB, free: 24.22 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04535/3.689, allocations: 15.35 MB / 1.433 GB, free: 22.23 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002671/3.692, allocations: 1.548 MB / 1.435 GB, free: 22.18 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01056/3.703, allocations: 2.01 MB / 1.437 GB, free: 22.17 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1041/3.807, allocations: 36.11 MB / 1.472 GB, free: 19.74 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001252/3.808, allocations: 39.84 kB / 1.472 GB, free: 19.73 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00955/3.818, allocations: 0.8628 MB / 1.473 GB, free: 19.73 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001751/3.819, allocations: 1.39 MB / 1.474 GB, free: 19.68 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07687/3.896, allocations: 32.7 MB / 1.506 GB, free: 0 / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.558/4.454, allocations: 112.3 MB / 1.616 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05116/4.505, allocations: 44.26 MB / 1.659 GB, free: 19.88 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02972/4.535, allocations: 16.55 MB / 1.675 GB, free: 13 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1293/4.665, allocations: 51.56 MB / 1.726 GB, free: 0.8711 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000209/4.665, allocations: 182.2 kB / 1.726 GB, free: 0.6836 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=1578): time 2.772e-05/4.665, allocations: 6.531 kB / 1.726 GB, free: 0.6797 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1590): time 0.5225/5.187, allocations: 70.39 MB / 1.794 GB, free: 84.89 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/5.188, allocations: 216.8 kB / 1.795 GB, free: 84.78 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01108/5.199, allocations: 6.726 MB / 1.801 GB, free: 84.33 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.003182/5.202, allocations: 245 kB / 1.801 GB, free: 84.3 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.005038/5.207, allocations: 7.356 MB / 1.809 GB, free: 80.71 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.006959/5.214, allocations: 5.213 MB / 1.814 GB, free: 77.32 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00328/5.217, allocations: 254.8 kB / 1.814 GB, free: 77.32 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.001612/5.219, allocations: 0.9034 MB / 1.815 GB, free: 76.98 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01787/5.237, allocations: 10.34 MB / 1.825 GB, free: 76.95 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02215/5.259, allocations: 12.59 MB / 1.837 GB, free: 74.64 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04224/5.301, allocations: 24.17 MB / 1.861 GB, free: 62.65 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001098/5.301, allocations: 16.16 kB / 1.861 GB, free: 62.65 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1867) (initialization): time 0.06588/5.367, allocations: 31.68 MB / 1.892 GB, free: 49.36 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001211/5.367, allocations: 26.09 kB / 1.892 GB, free: 49.36 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001784/5.368, allocations: 51.81 kB / 1.892 GB, free: 49.36 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02987/5.398, allocations: 14.74 MB / 1.906 GB, free: 39.05 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009773/5.407, allocations: 2.089 MB / 1.908 GB, free: 37.43 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.377/5.784, allocations: 35.81 MB / 1.943 GB, free: 87.65 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0122/5.797, allocations: 0.6294 MB / 1.944 GB, free: 87.65 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003971/5.801, allocations: 0.5228 MB / 1.944 GB, free: 87.65 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 230 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep1QS[1].y,booleanStep1QS[2].y,booleanStep1QS[3].y,booleanStep2QS[1].y,booleanStep2QS[2].y,booleanStep2QS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1060): * Single equations (assignments): 1020 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 29 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 8,(3,88.9%) 25,(1,100.0%) 13,(1,100.0%) 1} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,66 432} Notification: Performance of prepare postOptimizeDAE: time 0.0181/5.819, allocations: 7.902 MB / 1.952 GB, free: 87.54 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003239/5.822, allocations: 1.008 MB / 1.953 GB, free: 87.54 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06537/5.887, allocations: 32.27 MB / 1.985 GB, free: 86.72 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004166/5.888, allocations: 385.9 kB / 1.985 GB, free: 86.72 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-05/5.888, allocations: 13.31 kB / 1.985 GB, free: 86.72 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002391/5.888, allocations: 65.3 kB / 1.985 GB, free: 86.72 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1116/6, allocations: 60.66 MB / 2.044 GB, free: 73.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001422/6, allocations: 4.844 kB / 2.044 GB, free: 73.12 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007338/6.007, allocations: 1.622 MB / 2.046 GB, free: 73.07 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02638/6.034, allocations: 14.89 MB / 2.06 GB, free: 69.05 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003249/6.037, allocations: 342.7 kB / 2.061 GB, free: 68.85 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04363/6.081, allocations: 40.07 MB / 2.1 GB, free: 38.52 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/6.081, allocations: 9 kB / 2.1 GB, free: 38.51 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3786/6.459, allocations: 49.01 MB / 2.148 GB, free: 79.54 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009713/6.469, allocations: 3.497 MB / 2.151 GB, free: 79.44 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004614/6.474, allocations: 246.2 kB / 2.151 GB, free: 79.44 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009213/6.483, allocations: 0.6263 MB / 2.152 GB, free: 79.44 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004493/6.487, allocations: 1.166 MB / 2.153 GB, free: 79.43 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002441/6.49, allocations: 421.7 kB / 2.154 GB, free: 79.43 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.008108/6.498, allocations: 4.602 MB / 2.158 GB, free: 79.21 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.91e-07/6.498, allocations: 0.7812 kB / 2.158 GB, free: 79.21 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01809/6.516, allocations: 3.898 MB / 2.162 GB, free: 79.21 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 12 (imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.zeroInductor.i0,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 12 (booleanStep1QS[1].y,booleanStep1QS[2].y,booleanStep1QS[3].y,booleanStep2QS[1].y,booleanStep2QS[2].y,booleanStep2QS[3].y,booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (822): * Single equations (assignments): 781 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 29 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(2,100.0%) 26,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,66 432} Notification: Performance of Backend phase and start with SimCode phase: time 0.004537/6.521, allocations: 0.7995 MB / 2.163 GB, free: 79.12 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.05023/6.571, allocations: 26.51 MB / 2.189 GB, free: 77.96 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/6.571, allocations: 1.906 kB / 2.189 GB, free: 77.96 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.02799/6.599, allocations: 15.14 MB / 2.203 GB, free: 76.74 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02069/6.62, allocations: 2.503 MB / 2.206 GB, free: 76.71 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09641/6.716, allocations: 53.77 MB / 2.258 GB, free: 58.61 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02792/6.744, allocations: 13.55 MB / 2.272 GB, free: 57.2 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0136/6.758, allocations: 3.094 MB / 2.275 GB, free: 56.87 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004041/6.762, allocations: 0.6417 MB / 2.275 GB, free: 56.86 MB / 0.5573 GB Notification: Performance of SimCode: time 5.42e-07/6.762, allocations: 0 / 2.275 GB, free: 56.86 MB / 0.5573 GB Notification: Performance of Templates: time 0.7327/7.495, allocations: 285.1 MB / 2.554 GB, free: 5.227 MB / 0.5886 GB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -nls=newton -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1)