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.001574/0.001574, allocations: 182.2 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.565/1.565, allocations: 194.3 MB / 208.4 MB, free: 6.699 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.001636/0.001636, allocations: 112.7 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.598e-05/2.602e-05, allocations: 0 / 304.9 MB, free: 29.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07061/0.07065, allocations: 44.5 MB / 349.4 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2868/0.3575, allocations: 106.8 MB / 456.2 MB, free: 5.09 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/0.3577, allocations: 82.52 kB / 456.3 MB, free: 5.047 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6008/0.9586, allocations: 183 MB / 0.6244 GB, free: 55.52 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.9586, allocations: 0 / 0.6244 GB, free: 55.52 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0005529/0.9592, allocations: 198.6 kB / 0.6245 GB, free: 55.33 MB / 394.7 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.02097/0.9802, allocations: 7.612 MB / 0.632 GB, free: 47.67 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.9802, allocations: 8.031 kB / 0.632 GB, free: 47.66 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01012/0.9904, allocations: 1.823 MB / 0.6338 GB, free: 45.83 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01496/1.005, allocations: 6.957 MB / 0.6406 GB, free: 38.94 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005015/1.006, allocations: 0.5934 MB / 0.6411 GB, free: 38.34 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002728/1.009, allocations: 0.7849 MB / 0.6419 GB, free: 37.56 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02107/1.03, allocations: 10.78 MB / 0.6524 GB, free: 26.54 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001619/1.03, allocations: 7.984 kB / 0.6524 GB, free: 26.53 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008114/1.031, allocations: 335.7 kB / 0.6528 GB, free: 26.21 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002122/1.031, allocations: 368.3 kB / 0.6531 GB, free: 25.84 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01466/1.046, allocations: 8.998 MB / 0.6619 GB, free: 16.83 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4822/1.528, allocations: 34.55 MB / 0.6956 GB, free: 55.25 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01767/1.546, allocations: 19.67 MB / 0.7149 GB, free: 40.68 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007185/1.553, allocations: 3.611 MB / 0.7184 GB, free: 40.62 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01552/1.568, allocations: 9.42 MB / 0.7276 GB, free: 39.81 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/1.568, allocations: 68.34 kB / 0.7276 GB, free: 39.77 MB / 410.8 MB Notification: Performance of pre-optimization done (n=315): time 4.528e-06/1.568, allocations: 0 / 0.7276 GB, free: 39.77 MB / 410.8 MB Notification: Performance of matching and sorting (n=321): time 0.01577/1.584, allocations: 10.04 MB / 0.7374 GB, free: 38.13 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/1.584, allocations: 82.19 kB / 0.7375 GB, free: 38.06 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005132/1.589, allocations: 3.821 MB / 0.7413 GB, free: 37.75 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003288/1.59, allocations: 86.8 kB / 0.7413 GB, free: 37.71 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001804/1.592, allocations: 3.544 MB / 0.7448 GB, free: 36.19 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008241/1.592, allocations: 1.077 MB / 0.7459 GB, free: 35.5 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001926/1.593, allocations: 77.16 kB / 0.7459 GB, free: 35.5 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001593/1.593, allocations: 457.7 kB / 0.7464 GB, free: 35.2 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002176/1.595, allocations: 1.683 MB / 0.748 GB, free: 35.19 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002518/1.598, allocations: 2.712 MB / 0.7507 GB, free: 34.02 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002627/1.6, allocations: 2.175 MB / 0.7528 GB, free: 33.96 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.622e-05/1.6, allocations: 11.97 kB / 0.7528 GB, free: 33.96 MB / 410.8 MB Notification: Performance of matching and sorting (n=490) (initialization): time 0.0081/1.608, allocations: 5.742 MB / 0.7584 GB, free: 33.42 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.805e-05/1.608, allocations: 17.91 kB / 0.7584 GB, free: 33.42 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-05/1.608, allocations: 37.45 kB / 0.7585 GB, free: 33.42 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001765/1.61, allocations: 0.7916 MB / 0.7592 GB, free: 33.34 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002894/1.613, allocations: 0.8026 MB / 0.76 GB, free: 33.34 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01088/1.624, allocations: 14.81 MB / 0.7745 GB, free: 21.91 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005826/1.63, allocations: 187.1 kB / 0.7746 GB, free: 21.85 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001129/1.631, allocations: 164.7 kB / 0.7748 GB, free: 21.81 MB / 410.8 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.0008461/1.632, allocations: 336.2 kB / 0.7751 GB, free: 21.58 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001552/1.633, allocations: 458.9 kB / 0.7756 GB, free: 21.35 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00837/1.642, allocations: 5.39 MB / 0.7808 GB, free: 19.05 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.156e-05/1.642, allocations: 34.39 kB / 0.7809 GB, free: 19.04 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.902e-05/1.642, allocations: 23 kB / 0.7809 GB, free: 19.04 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.612e-05/1.642, allocations: 16.69 kB / 0.7809 GB, free: 19.04 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01822/1.66, allocations: 12.33 MB / 0.7929 GB, free: 13.82 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.404e-05/1.66, allocations: 3.688 kB / 0.7929 GB, free: 13.82 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001586/1.662, allocations: 375.1 kB / 0.7933 GB, free: 13.8 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003254/1.665, allocations: 1.374 MB / 0.7946 GB, free: 13.38 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002954/1.665, allocations: 89.98 kB / 0.7947 GB, free: 13.33 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0217/1.687, allocations: 23.93 MB / 0.8181 GB, free: 11.45 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/1.687, allocations: 10.72 kB / 0.8181 GB, free: 11.45 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01315/1.7, allocations: 8.165 MB / 0.8261 GB, free: 5.02 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003491/1.704, allocations: 0.9588 MB / 0.827 GB, free: 4.137 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001458/1.705, allocations: 79.09 kB / 0.8271 GB, free: 4.062 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002966/1.708, allocations: 186.4 kB / 0.8273 GB, free: 3.914 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008282/1.709, allocations: 333 kB / 0.8276 GB, free: 3.719 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002504/1.709, allocations: 91.12 kB / 0.8277 GB, free: 3.637 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.006281/1.716, allocations: 2.914 MB / 0.8305 GB, free: 1.016 MB / 426.8 MB Notification: Performance of sort global known variables: time 8.11e-07/1.716, allocations: 0 / 0.8305 GB, free: 1.016 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.01018/1.726, allocations: 1.695 MB / 0.8322 GB, free: 0 / 426.8 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.001281/1.727, allocations: 0.5418 MB / 0.8327 GB, free: 15.56 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.008704/1.736, allocations: 5.362 MB / 0.8379 GB, free: 10.5 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.319e-05/1.736, allocations: 4 kB / 0.8379 GB, free: 10.5 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006354/1.742, allocations: 3.96 MB / 0.8418 GB, free: 6.812 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006034/1.748, allocations: 1.174 MB / 0.843 GB, free: 5.906 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2783/2.027, allocations: 12.67 MB / 0.8553 GB, free: 81.11 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008413/2.035, allocations: 5.236 MB / 0.8604 GB, free: 80.26 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.004947/2.04, allocations: 1.007 MB / 0.8614 GB, free: 80.21 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001094/2.041, allocations: 278.3 kB / 0.8617 GB, free: 80.21 MB / 442.8 MB Notification: Performance of SimCode: time 1.734e-06/2.041, allocations: 1.469 kB / 0.8617 GB, free: 80.21 MB / 442.8 MB Notification: Performance of Templates: time 0.109/2.15, allocations: 72.04 MB / 0.932 GB, free: 67 MB / 442.8 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)