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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001313/0.001313, allocations: 182.3 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.585/1.585, allocations: 194.3 MB / 208.4 MB, free: 6.703 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001714/0.001714, allocations: 116.7 kB / 253.5 MB, free: 9.57 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.894e-05/2.897e-05, allocations: 0 / 305 MB, free: 29.74 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09051/0.09055, allocations: 44.5 MB / 349.5 MB, free: 1.223 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4027/0.4933, allocations: 141 MB / 490.5 MB, free: 3.215 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/0.4936, allocations: 100.8 kB / 490.5 MB, free: 3.16 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.148/1.642, allocations: 351.8 MB / 0.8226 GB, free: 13.22 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.643e-06/1.642, allocations: 0 / 0.8226 GB, free: 13.22 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0008793/1.643, allocations: 247.7 kB / 0.8229 GB, free: 12.98 MB / 410.7 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.04187/1.685, allocations: 10.29 MB / 0.8329 GB, free: 2.594 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/1.685, allocations: 8.031 kB / 0.8329 GB, free: 2.586 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3608/2.046, allocations: 5.368 MB / 0.8382 GB, free: 24.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0256/2.071, allocations: 9.374 MB / 0.8473 GB, free: 24.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001354/2.073, allocations: 0.795 MB / 0.8481 GB, free: 24.31 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005066/2.078, allocations: 1.038 MB / 0.8491 GB, free: 24.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05034/2.128, allocations: 17.72 MB / 0.8664 GB, free: 23.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005066/2.129, allocations: 22.09 kB / 0.8664 GB, free: 23.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004874/2.133, allocations: 451.8 kB / 0.8669 GB, free: 23.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000944/2.134, allocations: 0.7313 MB / 0.8676 GB, free: 23.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03582/2.17, allocations: 16.43 MB / 0.8836 GB, free: 22.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.116/2.286, allocations: 58.33 MB / 0.9406 GB, free: 13.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02615/2.312, allocations: 23.32 MB / 0.9633 GB, free: 11.36 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01434/2.327, allocations: 6.941 MB / 0.9701 GB, free: 6.379 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04855/2.375, allocations: 21.91 MB / 0.9915 GB, free: 4.016 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000128/2.376, allocations: 104.8 kB / 0.9916 GB, free: 3.91 MB / 458.7 MB Notification: Performance of pre-optimization done (n=662): time 1.22e-05/2.376, allocations: 0 / 0.9916 GB, free: 3.91 MB / 458.7 MB Notification: Performance of matching and sorting (n=687): time 0.3801/2.756, allocations: 25.38 MB / 1.016 GB, free: 79.7 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.094e-05/2.756, allocations: 137.6 kB / 1.017 GB, free: 79.6 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008753/2.765, allocations: 3.565 MB / 1.02 GB, free: 79.31 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0016/2.766, allocations: 125.3 kB / 1.02 GB, free: 79.28 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002995/2.769, allocations: 4.235 MB / 1.024 GB, free: 78.57 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003295/2.773, allocations: 2.282 MB / 1.026 GB, free: 77.1 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007764/2.773, allocations: 135.6 kB / 1.027 GB, free: 77.1 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005092/2.774, allocations: 0.5941 MB / 1.027 GB, free: 76.78 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007557/2.781, allocations: 4.441 MB / 1.032 GB, free: 76.77 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009812/2.791, allocations: 5.996 MB / 1.037 GB, free: 75.11 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0087/2.8, allocations: 5.474 MB / 1.043 GB, free: 75 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.89e-05/2.8, allocations: 14.72 kB / 1.043 GB, free: 75 MB / 474.7 MB Notification: Performance of matching and sorting (n=931) (initialization): time 0.0293/2.829, allocations: 13.6 MB / 1.056 GB, free: 74.43 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001278/2.83, allocations: 24.72 kB / 1.056 GB, free: 74.43 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001379/2.83, allocations: 46.78 kB / 1.056 GB, free: 74.43 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008573/2.838, allocations: 3.973 MB / 1.06 GB, free: 74.35 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006411/2.845, allocations: 1.299 MB / 1.061 GB, free: 74.35 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02189/2.867, allocations: 16.72 MB / 1.078 GB, free: 67.77 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007924/2.875, allocations: 353.7 kB / 1.078 GB, free: 67.76 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002078/2.877, allocations: 295.8 kB / 1.078 GB, free: 67.76 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 199 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (667): * Single equations (assignments): 628 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 31 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(8,56.2%) 27,(1,100.0%) 1} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,12 76} Notification: Performance of prepare postOptimizeDAE: time 0.001548/2.878, allocations: 478.9 kB / 1.079 GB, free: 67.62 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001531/2.88, allocations: 0.5344 MB / 1.079 GB, free: 67.34 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02042/2.9, allocations: 13.14 MB / 1.092 GB, free: 64.92 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000145/2.901, allocations: 153.5 kB / 1.092 GB, free: 64.85 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.68e-05/2.901, allocations: 12.7 kB / 1.092 GB, free: 64.85 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001549/2.901, allocations: 28.73 kB / 1.092 GB, free: 64.85 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0476/2.948, allocations: 26.51 MB / 1.118 GB, free: 52.99 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.515e-05/2.948, allocations: 3.906 kB / 1.118 GB, free: 52.99 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004108/2.953, allocations: 0.8495 MB / 1.119 GB, free: 52.96 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008177/2.961, allocations: 3.936 MB / 1.123 GB, free: 51.78 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002037/2.963, allocations: 151.5 kB / 1.123 GB, free: 51.69 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0169/2.98, allocations: 20.67 MB / 1.143 GB, free: 36.33 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/2.98, allocations: 7.406 kB / 1.143 GB, free: 36.33 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02772/3.008, allocations: 19.79 MB / 1.162 GB, free: 20.23 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005187/3.013, allocations: 1.646 MB / 1.164 GB, free: 18.74 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002773/3.016, allocations: 112 kB / 1.164 GB, free: 18.63 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0051/3.021, allocations: 302.5 kB / 1.164 GB, free: 18.41 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002312/3.023, allocations: 0.5054 MB / 1.165 GB, free: 18.09 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001622/3.025, allocations: 189.7 kB / 1.165 GB, free: 17.93 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006315/3.031, allocations: 2.69 MB / 1.168 GB, free: 15.49 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.1e-07/3.031, allocations: 0 / 1.168 GB, free: 15.49 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01081/3.042, allocations: 1.985 MB / 1.17 GB, free: 13.52 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 10 (imcQS.inertiaRotor.phi,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.w,imc.inertiaRotor.phi,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.strayReluctance.Phi.re,imc.stator.strayReluctance.Phi.im,imc.stator.zeroInductor.i0,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (445): * Single equations (assignments): 403 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 31 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(2,100.0%) 12,(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 12} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,12 76} Notification: Performance of Backend phase and start with SimCode phase: time 0.002393/3.044, allocations: 0.6688 MB / 1.17 GB, free: 13 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0212/3.065, allocations: 11.55 MB / 1.182 GB, free: 2.602 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/3.066, allocations: 8.25 kB / 1.182 GB, free: 2.594 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2922/3.358, allocations: 6.638 MB / 1.188 GB, free: 77.66 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007774/3.365, allocations: 1.172 MB / 1.189 GB, free: 77.64 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0429/3.408, allocations: 19.63 MB / 1.208 GB, free: 74.57 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01148/3.42, allocations: 7.118 MB / 1.215 GB, free: 73.54 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006534/3.427, allocations: 1.654 MB / 1.217 GB, free: 73.35 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001515/3.428, allocations: 380.4 kB / 1.217 GB, free: 73.35 MB / 474.7 MB Notification: Performance of SimCode: time 1.353e-06/3.428, allocations: 0 / 1.217 GB, free: 73.35 MB / 474.7 MB Notification: Performance of Templates: time 0.1654/3.593, allocations: 116.1 MB / 1.331 GB, free: 19.46 MB / 474.7 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)