Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001023/0.001023, allocations: 199 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.19/1.19, allocations: 227.2 MB / 245 MB, free: 5.879 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009157/0.0009159, allocations: 107.9 kB / 297.3 MB, free: 5.953 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002053/0.0002052, allocations: 11.98 kB / 358 MB, free: 9.285 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1771, allocations: 51.49 MB / 409.5 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2729/0.4501, allocations: 116 MB / 0.5131 GB, free: 98.02 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/0.4504, allocations: 106 kB / 0.5132 GB, free: 98.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.794/1.244, allocations: 313.8 MB / 0.8197 GB, free: 3.352 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.755e-06/1.244, allocations: 0 / 0.8197 GB, free: 3.352 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0009019/1.245, allocations: 299.2 kB / 0.82 GB, free: 3.062 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3573 * Number of variables: 3573 Notification: Performance of Generate backend data structure: time 0.04407/1.289, allocations: 13.36 MB / 0.833 GB, free: 5.625 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/1.289, allocations: 10.88 kB / 0.833 GB, free: 5.617 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01829/1.308, allocations: 3.32 MB / 0.8363 GB, free: 2.277 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02822/1.336, allocations: 11.18 MB / 0.8472 GB, free: 7.031 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001098/1.337, allocations: 0.9795 MB / 0.8481 GB, free: 6.051 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005004/1.342, allocations: 1.312 MB / 0.8494 GB, free: 4.738 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5037/1.846, allocations: 18.72 MB / 0.8677 GB, free: 34.92 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003365/1.846, allocations: 20.44 kB / 0.8677 GB, free: 34.92 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001934/1.848, allocations: 0.5462 MB / 0.8682 GB, free: 34.92 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003618/1.849, allocations: 0.6098 MB / 0.8688 GB, free: 34.89 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0323/1.881, allocations: 16.08 MB / 0.8845 GB, free: 34.78 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09979/1.981, allocations: 59.66 MB / 0.9428 GB, free: 16.98 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0306/2.011, allocations: 34.34 MB / 0.9763 GB, free: 4.98 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03846/2.05, allocations: 19.37 MB / 0.9953 GB, free: 10.89 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.666e-05/2.05, allocations: 97.66 kB / 0.9954 GB, free: 10.8 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=613): time 7.765e-06/2.05, allocations: 0 / 0.9954 GB, free: 10.8 MB / 0.4949 GB Notification: Performance of matching and sorting (n=725): time 0.07665/2.127, allocations: 34.7 MB / 1.029 GB, free: 9.551 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.309e-05/2.127, allocations: 127.7 kB / 1.029 GB, free: 9.414 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01005/2.137, allocations: 5.643 MB / 1.035 GB, free: 4.613 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001062/2.138, allocations: 149.7 kB / 1.035 GB, free: 4.461 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.2427/2.381, allocations: 5.531 MB / 1.04 GB, free: 81.77 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002929/2.384, allocations: 2.438 MB / 1.043 GB, free: 81.63 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005964/2.384, allocations: 157.8 kB / 1.043 GB, free: 81.63 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003718/2.385, allocations: 0.6063 MB / 1.044 GB, free: 81.32 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0056/2.39, allocations: 4.014 MB / 1.047 GB, free: 81.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006019/2.396, allocations: 5.74 MB / 1.053 GB, free: 79.45 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006045/2.402, allocations: 5.096 MB / 1.058 GB, free: 79.36 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.475e-05/2.402, allocations: 14.28 kB / 1.058 GB, free: 79.36 MB / 0.5105 GB Notification: Performance of matching and sorting (n=997) (initialization): time 0.01911/2.421, allocations: 13.43 MB / 1.071 GB, free: 78.54 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.916e-05/2.422, allocations: 29.16 kB / 1.071 GB, free: 78.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.728e-05/2.422, allocations: 55.27 kB / 1.071 GB, free: 78.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006036/2.428, allocations: 3.049 MB / 1.074 GB, free: 78.37 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005069/2.433, allocations: 1.391 MB / 1.076 GB, free: 78.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03925/2.472, allocations: 45.59 MB / 1.12 GB, free: 58.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005723/2.478, allocations: 333.4 kB / 1.12 GB, free: 58.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000696/2.479, allocations: 305 kB / 1.121 GB, free: 58.28 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 223 * Number of states: 0 () * Number of discrete variables: 5 (booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (764): * Single equations (assignments): 746 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 15 {(8,67.2%) 47,(6,88.9%) 53,(1,100.0%) 1,(3,100.0%) 23,(1,100.0%) 2,(1,100.0%) 2,(4,68.8%) 25,(1,100.0%) 1,(3,100.0%) 23,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 1,(3,100.0%) 23,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007535/2.486, allocations: 4.472 MB / 1.125 GB, free: 56.11 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001396/2.487, allocations: 0.7273 MB / 1.126 GB, free: 55.73 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01798/2.505, allocations: 12.34 MB / 1.138 GB, free: 50.51 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.254e-05/2.506, allocations: 69.66 kB / 1.138 GB, free: 50.51 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.326e-05/2.506, allocations: 41.12 kB / 1.138 GB, free: 50.51 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.377e-05/2.506, allocations: 37.92 kB / 1.138 GB, free: 50.51 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03849/2.544, allocations: 27.18 MB / 1.165 GB, free: 38.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.441e-05/2.544, allocations: 7.438 kB / 1.165 GB, free: 38.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003715/2.548, allocations: 0.8891 MB / 1.165 GB, free: 38.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006781/2.555, allocations: 3.341 MB / 1.169 GB, free: 37.71 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008458/2.556, allocations: 205.5 kB / 1.169 GB, free: 37.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.042/2.598, allocations: 46.75 MB / 1.215 GB, free: 0.9453 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/2.598, allocations: 13.58 kB / 1.215 GB, free: 0.9375 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2813/2.879, allocations: 19.07 MB / 1.233 GB, free: 83.79 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006121/2.885, allocations: 1.799 MB / 1.235 GB, free: 83.7 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001785/2.887, allocations: 182.3 kB / 1.235 GB, free: 83.7 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003689/2.891, allocations: 347 kB / 1.235 GB, free: 83.7 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001178/2.892, allocations: 0.5819 MB / 1.236 GB, free: 83.69 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000394/2.892, allocations: 204.4 kB / 1.236 GB, free: 83.69 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.005976/2.898, allocations: 4.313 MB / 1.24 GB, free: 83.47 MB / 0.5262 GB Notification: Performance of sort global known variables: time 3.81e-07/2.898, allocations: 0 / 1.24 GB, free: 83.47 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.009541/2.908, allocations: 2.727 MB / 1.243 GB, free: 83.47 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 22 (aimc0.inertiaRotor.w,aimc0.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re,aimc0.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,aimc0.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc0.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,aimc0.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[4].Phi.re,aimc0.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[4].Phi.im,quadraticLoadTorque0.phi,aimcH.inertiaRotor.w,aimcH.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re,aimcH.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,aimcH.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimcH.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,aimcH.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[4].Phi.re,aimcH.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[4].Phi.im,quadraticLoadTorqueH.phi,aimc1.inertiaRotor.w,aimc1.stator.core.Phi.re,aimc1.stator.core.Phi.im,aimc1.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.re,aimc1.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.im,quadraticLoadTorque1.phi) * Number of discrete variables: 5 (booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (452): * Single equations (assignments): 440 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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: 12 {(7,85.7%) 48,(3,100.0%) 22,(8,82.8%) 51,(3,100.0%) 22,(1,100.0%) 1,(6,75.0%) 51,(1,100.0%) 9,(1,100.0%) 1,(1,100.0%) 9,(1,100.0%) 1,(3,100.0%) 23,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001283/2.909, allocations: 0.6694 MB / 1.244 GB, free: 83.37 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.01663/2.926, allocations: 13.19 MB / 1.257 GB, free: 81.07 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.123e-05/2.926, allocations: 5.5 kB / 1.257 GB, free: 81.07 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.01119/2.937, allocations: 8.375 MB / 1.265 GB, free: 79.45 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007827/2.945, allocations: 1.83 MB / 1.267 GB, free: 79.43 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04913/2.994, allocations: 30.98 MB / 1.297 GB, free: 67.31 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01271/3.007, allocations: 8.532 MB / 1.305 GB, free: 66.2 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.007893/3.015, allocations: 1.877 MB / 1.307 GB, free: 65.98 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001791/3.017, allocations: 466.7 kB / 1.307 GB, free: 65.98 MB / 0.5262 GB Notification: Performance of SimCode: time 1.693e-06/3.017, allocations: 2.625 kB / 1.307 GB, free: 65.98 MB / 0.5262 GB Notification: Performance of Templates: time 0.4059/3.422, allocations: 134.2 MB / 1.438 GB, free: 74.58 MB / 0.5262 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.pipe 2>&1)