Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.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.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009651/0.0009652, allocations: 187.8 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.262/1.262, allocations: 194.3 MB / 203.1 MB, free: 9.316 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001626/0.001626, allocations: 111 kB / 248.1 MB, free: 6.348 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.241e-05/1.236e-05, allocations: 4 kB / 298.1 MB, free: 8.23 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08667/0.0867, allocations: 44.49 MB / 342.6 MB, free: 11.63 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3056/0.3923, allocations: 106.1 MB / 448.7 MB, free: 6.223 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/0.3927, allocations: 86.64 kB / 448.8 MB, free: 6.18 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.6138/1.007, allocations: 180.7 MB / 0.6148 GB, free: 45.38 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.084e-06/1.007, allocations: 0 / 0.6148 GB, free: 45.38 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0008633/1.007, allocations: 195.3 kB / 0.6149 GB, free: 45.35 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2135 * Number of variables: 2135 Notification: Performance of Generate backend data structure: time 0.02487/1.032, allocations: 7.597 MB / 0.6224 GB, free: 40.08 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/1.032, allocations: 15.98 kB / 0.6224 GB, free: 40.07 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0107/1.043, allocations: 1.824 MB / 0.6242 GB, free: 38.23 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01743/1.061, allocations: 6.959 MB / 0.631 GB, free: 31.3 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004689/1.061, allocations: 260 kB / 0.6312 GB, free: 31.05 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002893/1.064, allocations: 479.8 kB / 0.6317 GB, free: 30.58 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01765/1.082, allocations: 8.514 MB / 0.64 GB, free: 22.06 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.027/1.109, allocations: 9.606 MB / 0.6494 GB, free: 12.21 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004381/1.109, allocations: 11.91 kB / 0.6494 GB, free: 12.2 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002518/1.112, allocations: 7.953 kB / 0.6494 GB, free: 12.19 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003296/1.112, allocations: 368.3 kB / 0.6497 GB, free: 11.83 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3179/1.43, allocations: 32.98 MB / 0.6819 GB, free: 40.53 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01544/1.445, allocations: 19.48 MB / 0.701 GB, free: 26.01 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005082/1.451, allocations: 3.459 MB / 0.7043 GB, free: 25.96 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01577/1.466, allocations: 9.128 MB / 0.7132 GB, free: 24.99 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.305e-05/1.466, allocations: 65.42 kB / 0.7133 GB, free: 24.95 MB / 395.1 MB Notification: Performance of pre-optimization done (n=315): time 5.971e-06/1.466, allocations: 3.344 kB / 0.7133 GB, free: 24.95 MB / 395.1 MB Notification: Performance of matching and sorting (n=321): time 0.02056/1.487, allocations: 10.41 MB / 0.7235 GB, free: 23.03 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/1.487, allocations: 88.59 kB / 0.7236 GB, free: 22.96 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005244/1.492, allocations: 3.138 MB / 0.7266 GB, free: 22.72 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004871/1.493, allocations: 28.66 kB / 0.7267 GB, free: 22.69 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002113/1.495, allocations: 3.541 MB / 0.7301 GB, free: 20.17 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001022/1.496, allocations: 1.029 MB / 0.7311 GB, free: 19.36 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001917/1.496, allocations: 0 / 0.7311 GB, free: 19.36 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/1.496, allocations: 466.3 kB / 0.7316 GB, free: 18.98 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00199/1.498, allocations: 1.613 MB / 0.7331 GB, free: 18.31 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00229/1.501, allocations: 2.613 MB / 0.7357 GB, free: 16.41 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003722/1.504, allocations: 2.401 MB / 0.738 GB, free: 15.51 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-05/1.504, allocations: 10.88 kB / 0.738 GB, free: 15.51 MB / 395.1 MB Notification: Performance of matching and sorting (n=490) (initialization): time 0.008826/1.513, allocations: 5.618 MB / 0.7435 GB, free: 13.43 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.201e-05/1.513, allocations: 18.88 kB / 0.7435 GB, free: 13.43 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-05/1.513, allocations: 31.38 kB / 0.7436 GB, free: 13.43 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00167/1.515, allocations: 0.78 MB / 0.7443 GB, free: 13.16 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002993/1.518, allocations: 0.8074 MB / 0.7451 GB, free: 13.14 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01039/1.529, allocations: 14.26 MB / 0.7591 GB, free: 1.723 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003711/1.532, allocations: 118.1 kB / 0.7592 GB, free: 1.707 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005831/1.533, allocations: 155.7 kB / 0.7593 GB, free: 1.68 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 142 * Number of states: 0 () * Number of discrete variables: 8 (booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (427): * Single equations (assignments): 418 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(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: 7 {(1,100.0%) 5,(1,100.0%) 1,(3,100.0%) 23,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2,(4,56.2%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006631/1.534, allocations: 217.9 kB / 0.7595 GB, free: 1.535 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008072/1.534, allocations: 406.7 kB / 0.7599 GB, free: 1.328 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01003/1.544, allocations: 5.424 MB / 0.7652 GB, free: 15.33 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.812e-05/1.545, allocations: 28.78 kB / 0.7652 GB, free: 15.33 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-05/1.545, allocations: 18.62 kB / 0.7653 GB, free: 15.33 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.874e-05/1.545, allocations: 21.25 kB / 0.7653 GB, free: 15.33 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0214/1.566, allocations: 11.26 MB / 0.7763 GB, free: 10.56 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.33e-05/1.566, allocations: 2.531 kB / 0.7763 GB, free: 10.56 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001601/1.568, allocations: 376.8 kB / 0.7766 GB, free: 10.55 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003355/1.571, allocations: 1.336 MB / 0.7779 GB, free: 10.12 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000307/1.571, allocations: 49.27 kB / 0.778 GB, free: 10.1 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02455/1.596, allocations: 23.11 MB / 0.8006 GB, free: 7.246 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.646e-06/1.596, allocations: 4.562 kB / 0.8006 GB, free: 7.242 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01424/1.61, allocations: 8.131 MB / 0.8085 GB, free: 15.91 MB / 443.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002764/1.613, allocations: 0.8912 MB / 0.8094 GB, free: 15.09 MB / 443.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001035/1.614, allocations: 31.8 kB / 0.8094 GB, free: 15.06 MB / 443.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002175/1.616, allocations: 137.6 kB / 0.8095 GB, free: 14.96 MB / 443.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006801/1.617, allocations: 322.8 kB / 0.8098 GB, free: 14.77 MB / 443.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002239/1.617, allocations: 90.94 kB / 0.8099 GB, free: 14.69 MB / 443.1 MB Notification: Performance of sorting global known variables: time 0.003857/1.621, allocations: 2.342 MB / 0.8122 GB, free: 12.63 MB / 443.1 MB Notification: Performance of sort global known variables: time 3.31e-07/1.621, allocations: 0 / 0.8122 GB, free: 12.63 MB / 443.1 MB Notification: Performance of remove unused functions: time 0.006001/1.627, allocations: 1.294 MB / 0.8135 GB, free: 11.35 MB / 443.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 12 (aimcM.inertiaRotor.w,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.im,quadraticLoadTorqueM.phi,aimc3.inertiaRotor.w,aimc3.stator.core.Phi.re,aimc3.stator.core.Phi.im,aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque3.phi) * Number of discrete variables: 8 (booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (193): * Single equations (assignments): 184 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 12,(1,100.0%) 1,(6,72.2%) 46,(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.0008392/1.628, allocations: 417.4 kB / 0.8139 GB, free: 11.02 MB / 443.1 MB Notification: Performance of simCode: created initialization part: time 0.007345/1.635, allocations: 5.107 MB / 0.8189 GB, free: 6.277 MB / 443.1 MB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/1.635, allocations: 4 kB / 0.8189 GB, free: 6.273 MB / 443.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005709/1.641, allocations: 3.801 MB / 0.8226 GB, free: 2.766 MB / 443.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005096/1.646, allocations: 0.841 MB / 0.8234 GB, free: 2.113 MB / 443.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2448/1.891, allocations: 11.64 MB / 0.8348 GB, free: 81.59 MB / 443.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005123/1.896, allocations: 5.236 MB / 0.8399 GB, free: 80.74 MB / 443.1 MB Notification: Performance of simCode: alias equations: time 0.003451/1.9, allocations: 0.9385 MB / 0.8408 GB, free: 80.64 MB / 443.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007347/1.9, allocations: 252 kB / 0.841 GB, free: 80.64 MB / 443.1 MB Notification: Performance of SimCode: time 7.72e-07/1.9, allocations: 0 / 0.841 GB, free: 80.64 MB / 443.1 MB Notification: Performance of Templates: time 0.1037/2.004, allocations: 56.29 MB / 0.896 GB, free: 77.15 MB / 443.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe 2>&1)