Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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.1_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.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01021/0.01021, allocations: 102.4 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002267/0.002267, allocations: 198.5 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.454/1.454, allocations: 205.1 MB / 222.5 MB, free: 4.496 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001276, allocations: 54.52 kB / 326.6 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08401/0.0853, allocations: 46.63 MB / 373.2 MB, free: 1.273 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase): time 0.02406/0.1094, allocations: 23.69 MB / 396.9 MB, free: 9.477 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01429/0.1237, allocations: 6.496 MB / 403.4 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004481/0.1283, allocations: 139.4 kB / 403.5 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005409/0.1337, allocations: 1.646 MB / 405.2 MB, free: 1.168 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008746/0.1425, allocations: 2.291 MB / 407.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004872/0.1474, allocations: 1.431 MB / 408.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01275/0.1602, allocations: 9.873 MB / 418.8 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0113/0.1715, allocations: 7.98 MB / 426.7 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006964/0.1785, allocations: 4.666 MB / 431.4 MB, free: 6.75 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008236/0.1868, allocations: 5.27 MB / 436.7 MB, free: 1.461 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003209/0.19, allocations: 1.305 MB / 438 MB, free: 160 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004842/0.1949, allocations: 1.504 MB / 439.5 MB, free: 14.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00457/0.1995, allocations: 2.941 MB / 442.4 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008861/0.2084, allocations: 5.411 MB / 447.8 MB, free: 6.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2199/0.4283, allocations: 17.01 MB / 464.8 MB, free: 32.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.035e-05/0.4284, allocations: 1.188 kB / 464.8 MB, free: 32.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.416e-06/0.4284, allocations: 0 / 464.8 MB, free: 32.01 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0008797/0.4293, allocations: 2.625 kB / 464.9 MB, free: 32.01 MB / 382.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.04383/0.4732, allocations: 10.56 MB / 475.4 MB, free: 27.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.4732, allocations: 12.95 kB / 475.4 MB, free: 27.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01442/0.4877, allocations: 2.036 MB / 477.5 MB, free: 26.63 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0135/0.5012, allocations: 5.581 MB / 483 MB, free: 24.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006598/0.5019, allocations: 0.5917 MB / 483.6 MB, free: 24.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003786/0.5057, allocations: 0.7892 MB / 484.4 MB, free: 23.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03195/0.5377, allocations: 11.33 MB / 495.7 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002577/0.538, allocations: 15.47 kB / 495.8 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003125/0.5411, allocations: 326.8 kB / 496.1 MB, free: 16.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003/0.5414, allocations: 378.7 kB / 496.5 MB, free: 16.92 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02246/0.5639, allocations: 9.877 MB / 0.4945 GB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08297/0.6469, allocations: 34.04 MB / 0.5277 GB, free: 6.477 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02238/0.6693, allocations: 19.9 MB / 0.5471 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007435/0.6768, allocations: 3.667 MB / 0.5507 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02343/0.7003, allocations: 9.487 MB / 0.56 GB, free: 3.418 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.256e-05/0.7004, allocations: 80.3 kB / 0.5601 GB, free: 3.332 MB / 446.1 MB Notification: Performance of pre-optimization done (n=321): time 6.071e-06/0.7004, allocations: 0 / 0.5601 GB, free: 3.332 MB / 446.1 MB Notification: Performance of matching and sorting (n=327): time 0.0402/0.7406, allocations: 15.19 MB / 0.5749 GB, free: 3.879 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.497e-05/0.7407, allocations: 85.98 kB / 0.575 GB, free: 3.781 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009282/0.75, allocations: 4.408 MB / 0.5793 GB, free: 15.36 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007041/0.7507, allocations: 85.7 kB / 0.5794 GB, free: 15.27 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002917/0.7537, allocations: 3.545 MB / 0.5828 GB, free: 11.7 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001505/0.7552, allocations: 1.108 MB / 0.5839 GB, free: 10.61 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002271/0.7575, allocations: 0.6966 MB / 0.5846 GB, free: 9.902 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.7576, allocations: 301.1 kB / 0.5849 GB, free: 9.605 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003815/0.7615, allocations: 1.843 MB / 0.5867 GB, free: 7.762 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004425/0.7659, allocations: 2.921 MB / 0.5895 GB, free: 4.402 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007517/0.7734, allocations: 5.003 MB / 0.5944 GB, free: 15.06 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.725e-05/0.7735, allocations: 8 kB / 0.5944 GB, free: 15.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.01364/0.7872, allocations: 6.118 MB / 0.6004 GB, free: 9.074 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.675e-05/0.7873, allocations: 20.16 kB / 0.6004 GB, free: 9.055 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-05/0.7874, allocations: 36 kB / 0.6004 GB, free: 9.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002511/0.7899, allocations: 0.8503 MB / 0.6013 GB, free: 8.145 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00402/0.794, allocations: 0.8236 MB / 0.6021 GB, free: 7.371 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01651/0.8105, allocations: 16.27 MB / 0.618 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004219/0.8148, allocations: 175.8 kB / 0.6181 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009029/0.8157, allocations: 176 kB / 0.6183 GB, free: 5.859 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 148 * Number of states: 0 () * Number of discrete variables: 8 (idealCloser3.control[3],idealCloser3.control[2],idealCloser3.control[1],idealCloserM.control[5],idealCloserM.control[4],idealCloserM.control[3],idealCloserM.control[2],idealCloserM.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (439): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,5,100.0%), (1,1,100.0%), (3,23,100.0%), (1,1,100.0%), (1,2,100.0%), (1,2,100.0%), (4,22,56.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005865/0.8216, allocations: 2.582 MB / 0.6208 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001359/0.823, allocations: 470.4 kB / 0.6213 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01119/0.8342, allocations: 5.685 MB / 0.6268 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.993e-05/0.8342, allocations: 32 kB / 0.6269 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-05/0.8343, allocations: 26.52 kB / 0.6269 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.104e-05/0.8344, allocations: 19.88 kB / 0.6269 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03269/0.8671, allocations: 12.68 MB / 0.6393 GB, free: 296 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.811e-05/0.8671, allocations: 7.938 kB / 0.6393 GB, free: 288 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.233/1.1, allocations: 385.1 kB / 0.6397 GB, free: 189.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004154/1.104, allocations: 1.444 MB / 0.6411 GB, free: 189.5 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004637/1.105, allocations: 93.08 kB / 0.6412 GB, free: 189.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02248/1.127, allocations: 26.43 MB / 0.667 GB, free: 171.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/1.127, allocations: 7.781 kB / 0.667 GB, free: 171.8 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01208/1.139, allocations: 8.159 MB / 0.6749 GB, free: 168.3 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002605/1.142, allocations: 0.9526 MB / 0.6759 GB, free: 167.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008863/1.143, allocations: 81.67 kB / 0.676 GB, free: 167.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001937/1.145, allocations: 173.5 kB / 0.6761 GB, free: 167.8 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007353/1.146, allocations: 321 kB / 0.6764 GB, free: 167.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001956/1.146, allocations: 93.14 kB / 0.6765 GB, free: 167.7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00439/1.15, allocations: 3.023 MB / 0.6795 GB, free: 166.6 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.61e-07/1.15, allocations: 0 / 0.6795 GB, free: 166.6 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005316/1.156, allocations: 1.443 MB / 0.6809 GB, free: 166.5 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (idealCloserM.control[1],idealCloserM.control[2],idealCloserM.control[3],idealCloserM.control[4],idealCloserM.control[5],idealCloser3.control[1],idealCloser3.control[2],idealCloser3.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (197): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(1,1,100.0%), (1,13,100.0%), (1,5,100.0%), (1,8,100.0%), (2,12,100.0%), (1,1,100.0%), (3,23,100.0%), (6,46,72.2%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005766/1.156, allocations: 219.4 kB / 0.6811 GB, free: 166.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007593/1.164, allocations: 5.721 MB / 0.6867 GB, free: 161.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.533e-06/1.164, allocations: 0 / 0.6867 GB, free: 161.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005297/1.169, allocations: 4.105 MB / 0.6907 GB, free: 157.6 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00577/1.175, allocations: 1.253 MB / 0.6919 GB, free: 156.6 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02659/1.202, allocations: 14.45 MB / 0.706 GB, free: 142.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005859/1.208, allocations: 5.096 MB / 0.711 GB, free: 137.4 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003642/1.211, allocations: 1.019 MB / 0.712 GB, free: 136.4 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000893/1.212, allocations: 283.4 kB / 0.7123 GB, free: 136.1 MB / 0.5137 GB Notification: Performance of SimCode: time 1.302e-06/1.212, allocations: 3.938 kB / 0.7123 GB, free: 136.1 MB / 0.5137 GB Notification: Performance of Templates: time 0.1107/1.323, allocations: 71.11 MB / 0.7817 GB, free: 64.95 MB / 0.5137 GB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.sim & ./Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe 2>&1)