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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 92.62 kB / 16.31 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.001243/0.001243, allocations: 185.8 kB / 17.21 MB, free: 5.902 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.516/1.516, allocations: 205.4 MB / 223.4 MB, free: 5.547 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.0004721/0.0004721, allocations: 12 kB / 280.1 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2709, allocations: 47.59 MB / 327.7 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL): time 0.01889/0.2898, allocations: 17.19 MB / 344.9 MB, free: 2.27 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01525/0.3051, allocations: 5.346 MB / 350.3 MB, free: 12.91 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004603/0.3098, allocations: 99.56 kB / 350.4 MB, free: 12.81 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004138/0.3139, allocations: 0.959 MB / 351.3 MB, free: 11.85 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006734/0.3207, allocations: 1.577 MB / 352.9 MB, free: 10.26 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003183/0.3239, allocations: 0.7915 MB / 353.7 MB, free: 9.469 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.009872/0.3338, allocations: 6.522 MB / 360.2 MB, free: 2.918 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006701/0.3405, allocations: 3.543 MB / 363.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004292/0.3448, allocations: 2.078 MB / 365.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005253/0.3501, allocations: 2.751 MB / 368.6 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001485/0.3516, allocations: 336 kB / 368.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004047/0.3557, allocations: 0.5622 MB / 369.5 MB, free: 9.578 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002005/0.3577, allocations: 1.417 MB / 370.9 MB, free: 8.156 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002053/0.3598, allocations: 1.163 MB / 372.1 MB, free: 6.984 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009462/0.3693, allocations: 8.636 MB / 380.7 MB, free: 14.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.3693, allocations: 0 / 380.7 MB, free: 14.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.3693, allocations: 0 / 380.7 MB, free: 14.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003045/0.3696, allocations: 0 / 380.7 MB, free: 14.32 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1348 * Number of variables: 1348 Notification: Performance of Generate backend data structure: time 0.01333/0.383, allocations: 5.673 MB / 386.4 MB, free: 8.57 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.383, allocations: 8.031 kB / 386.4 MB, free: 8.562 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004866/0.3879, allocations: 1.086 MB / 387.5 MB, free: 7.469 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005662/0.3936, allocations: 3.293 MB / 390.8 MB, free: 4.102 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003294/0.3939, allocations: 390.3 kB / 391.1 MB, free: 3.719 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007473/0.3947, allocations: 0.5037 MB / 391.6 MB, free: 3.215 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01141/0.4061, allocations: 6.922 MB / 398.6 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.782e-05/0.4062, allocations: 11.89 kB / 398.6 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004505/0.4067, allocations: 212 kB / 398.8 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002154/0.4069, allocations: 238.2 kB / 399 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01042/0.4173, allocations: 5.892 MB / 404.9 MB, free: 5.859 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04321/0.4605, allocations: 21.48 MB / 426.4 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00937/0.47, allocations: 8.7 MB / 435.1 MB, free: 6.266 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004284/0.4743, allocations: 2.366 MB / 437.5 MB, free: 3.895 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01203/0.4863, allocations: 6.155 MB / 443.6 MB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.026e-05/0.4864, allocations: 60.56 kB / 443.7 MB, free: 13.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=219): time 4.648e-06/0.4865, allocations: 0 / 443.7 MB, free: 13.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=238): time 0.02587/0.5123, allocations: 11.43 MB / 455.1 MB, free: 1.898 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.065e-05/0.5125, allocations: 81.41 kB / 455.2 MB, free: 1.805 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2137/0.7261, allocations: 2.957 MB / 458.1 MB, free: 106.1 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006056/0.7268, allocations: 69.19 kB / 458.2 MB, free: 106 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001682/0.7285, allocations: 2.305 MB / 460.5 MB, free: 105 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008121/0.7293, allocations: 0.8151 MB / 461.3 MB, free: 104.4 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/0.7295, allocations: 55.53 kB / 461.4 MB, free: 104.4 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.7297, allocations: 421.2 kB / 461.8 MB, free: 104 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002189/0.7319, allocations: 1.355 MB / 463.1 MB, free: 103.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00254/0.7344, allocations: 2.128 MB / 465.3 MB, free: 102.1 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002303/0.7367, allocations: 1.708 MB / 467 MB, free: 101.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.559e-05/0.7368, allocations: 7.906 kB / 467 MB, free: 101.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=367) (initialization): time 0.006722/0.7435, allocations: 4.647 MB / 471.6 MB, free: 99.33 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.918e-05/0.7435, allocations: 14.59 kB / 471.7 MB, free: 99.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.513e-05/0.7436, allocations: 27.16 kB / 471.7 MB, free: 99.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001594/0.7452, allocations: 0.7582 MB / 472.4 MB, free: 99.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00206/0.7473, allocations: 0.6389 MB / 473.1 MB, free: 99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009182/0.7565, allocations: 13.39 MB / 486.5 MB, free: 87.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002754/0.7593, allocations: 157.7 kB / 486.6 MB, free: 87.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003354/0.7596, allocations: 117.3 kB / 486.7 MB, free: 87.64 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 106 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (324): * Single equations (assignments): 314 * 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: 7 * 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: 7 {(1,100.0%) 8,(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003059/0.7627, allocations: 1.604 MB / 488.3 MB, free: 86.53 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000768/0.7635, allocations: 320.1 kB / 488.6 MB, free: 86.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005736/0.7692, allocations: 4.204 MB / 492.9 MB, free: 81.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.52e-05/0.7692, allocations: 28 kB / 492.9 MB, free: 81.9 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-05/0.7693, allocations: 12 kB / 492.9 MB, free: 81.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.1e-05/0.7693, allocations: 11.95 kB / 492.9 MB, free: 81.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01266/0.782, allocations: 9.131 MB / 0.4903 GB, free: 72.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/0.782, allocations: 4 kB / 0.4903 GB, free: 72.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001354/0.7834, allocations: 387.8 kB / 0.4906 GB, free: 72.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002077/0.7855, allocations: 0.9155 MB / 0.4915 GB, free: 71.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001628/0.7856, allocations: 67.97 kB / 0.4916 GB, free: 71.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01177/0.7974, allocations: 16.5 MB / 0.5077 GB, free: 53.72 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.7975, allocations: 11.92 kB / 0.5077 GB, free: 53.71 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007779/0.8052, allocations: 6.064 MB / 0.5136 GB, free: 47.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001651/0.8069, allocations: 0.704 MB / 0.5143 GB, free: 46.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004485/0.8074, allocations: 63.97 kB / 0.5144 GB, free: 46.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001301/0.8087, allocations: 139.9 kB / 0.5145 GB, free: 46.6 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004009/0.8091, allocations: 193.6 kB / 0.5147 GB, free: 46.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001299/0.8092, allocations: 75.97 kB / 0.5148 GB, free: 46.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0026/0.8119, allocations: 2.014 MB / 0.5167 GB, free: 44.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8119, allocations: 0 / 0.5167 GB, free: 44.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003284/0.8151, allocations: 0.9791 MB / 0.5177 GB, free: 43.35 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 14 (aimcM.inertiaRotor.w,aimcM.stator.zeroInductor.i0,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,aimcE.inertiaRotor.w,aimcE.i_0_s,aimcE.idq_sr[1],aimcE.idq_sr[2],aimcE.idq_rr[1],aimcE.idq_rr[2],quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 1,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004625/0.8156, allocations: 207 kB / 0.5179 GB, free: 43.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005663/0.8213, allocations: 4.58 MB / 0.5224 GB, free: 38.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.8213, allocations: 3.938 kB / 0.5224 GB, free: 38.4 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003566/0.8249, allocations: 3.057 MB / 0.5254 GB, free: 35.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003977/0.8289, allocations: 0.8739 MB / 0.5262 GB, free: 34.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01559/0.8445, allocations: 11.84 MB / 0.5378 GB, free: 22.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002589/0.8471, allocations: 3.438 MB / 0.5411 GB, free: 18.97 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002786/0.8499, allocations: 0.7659 MB / 0.5419 GB, free: 18.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005491/0.8505, allocations: 207.4 kB / 0.5421 GB, free: 18 MB / 382.1 MB Notification: Performance of SimCode: time 9.22e-07/0.8505, allocations: 0 / 0.5421 GB, free: 18 MB / 382.1 MB Notification: Performance of Templates: time 0.08088/0.9314, allocations: 47.55 MB / 0.5885 GB, free: 2.379 MB / 414.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe 2>&1)