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.001384/0.001384, allocations: 99.09 kB / 16.5 MB, free: 6.656 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.001567/0.001567, allocations: 195.1 kB / 17.42 MB, free: 6.062 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.314/1.314, allocations: 205.1 MB / 223.3 MB, free: 12.47 MB / 190.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.0011/0.001101, allocations: 47.94 kB / 279.3 MB, free: 3.574 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08049/0.0816, allocations: 46.62 MB / 326 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL): time 0.01808/0.09973, allocations: 19.23 MB / 345.2 MB, free: 1.559 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009486/0.1093, allocations: 5.629 MB / 350.8 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003329/0.1127, allocations: 99.56 kB / 350.9 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003799/0.1165, allocations: 1.103 MB / 352 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006588/0.1231, allocations: 1.729 MB / 353.8 MB, free: 8.965 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003083/0.1262, allocations: 1.088 MB / 354.8 MB, free: 7.875 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008432/0.1346, allocations: 7.107 MB / 361.9 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005122/0.1398, allocations: 4.442 MB / 366.4 MB, free: 12.21 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003253/0.1431, allocations: 2.421 MB / 368.8 MB, free: 9.781 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004759/0.1479, allocations: 3.257 MB / 372.1 MB, free: 6.512 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001468/0.1493, allocations: 480 kB / 372.5 MB, free: 6.043 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002733/0.1521, allocations: 0.7574 MB / 373.3 MB, free: 5.285 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001842/0.154, allocations: 1.631 MB / 374.9 MB, free: 3.648 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005036/0.159, allocations: 3.071 MB / 378 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.156/0.315, allocations: 10.24 MB / 388.2 MB, free: 25.21 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.315, allocations: 1.312 kB / 388.2 MB, free: 25.21 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3151, allocations: 0 / 388.2 MB, free: 25.21 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003471/0.3154, allocations: 3.469 kB / 388.2 MB, free: 25.21 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.0215/0.3369, allocations: 6.694 MB / 394.9 MB, free: 22.46 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.337, allocations: 10.59 kB / 394.9 MB, free: 22.46 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006529/0.3435, allocations: 1.067 MB / 396 MB, free: 22.02 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007671/0.3512, allocations: 3.397 MB / 399.4 MB, free: 20.82 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004075/0.3517, allocations: 386.8 kB / 399.8 MB, free: 20.81 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00244/0.3541, allocations: 0.5051 MB / 400.3 MB, free: 20.64 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01585/0.37, allocations: 6.953 MB / 407.3 MB, free: 16.57 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001322/0.3701, allocations: 19.27 kB / 407.3 MB, free: 16.56 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005016/0.3706, allocations: 205.7 kB / 407.5 MB, free: 16.41 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001661/0.3708, allocations: 236.7 kB / 407.7 MB, free: 16.37 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01142/0.3822, allocations: 5.922 MB / 413.6 MB, free: 13.27 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03839/0.4207, allocations: 21.37 MB / 435 MB, free: 8.285 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008865/0.4296, allocations: 8.701 MB / 443.7 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004192/0.4338, allocations: 2.365 MB / 446.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01162/0.4455, allocations: 6.138 MB / 452.2 MB, free: 6.148 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.927e-05/0.4455, allocations: 56.55 kB / 452.3 MB, free: 6.086 MB / 350.1 MB Notification: Performance of pre-optimization done (n=219): time 4.628e-06/0.4456, allocations: 0 / 452.3 MB, free: 6.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=238): time 0.02603/0.4716, allocations: 11.28 MB / 463.5 MB, free: 10.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.09e-05/0.4717, allocations: 81.41 kB / 463.6 MB, free: 10.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006278/0.478, allocations: 2.986 MB / 466.6 MB, free: 7.551 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005795/0.4786, allocations: 65.7 kB / 466.7 MB, free: 7.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001812/0.4804, allocations: 2.305 MB / 469 MB, free: 5.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001165/0.4816, allocations: 0.8128 MB / 469.8 MB, free: 4.352 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001471/0.4831, allocations: 0.5059 MB / 470.3 MB, free: 3.836 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.991e-05/0.4832, allocations: 301.1 kB / 470.6 MB, free: 3.539 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002197/0.4854, allocations: 1.36 MB / 471.9 MB, free: 2.176 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002616/0.488, allocations: 2.13 MB / 474.1 MB, free: 15.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00493/0.493, allocations: 3.696 MB / 477.8 MB, free: 11.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.598e-05/0.493, allocations: 8 kB / 477.8 MB, free: 11.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=367) (initialization): time 0.00799/0.501, allocations: 4.654 MB / 482.4 MB, free: 7.164 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.844e-05/0.5011, allocations: 16 kB / 482.4 MB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-05/0.5011, allocations: 24 kB / 482.5 MB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001924/0.5031, allocations: 0.7631 MB / 483.2 MB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002544/0.5056, allocations: 0.6343 MB / 483.9 MB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01254/0.5182, allocations: 13.41 MB / 497.3 MB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003126/0.5214, allocations: 154.5 kB / 497.4 MB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005641/0.522, allocations: 124 kB / 497.6 MB, free: 7.203 MB / 398.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[3],idealCloser.control[2],idealCloser.control[1]) * 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 (not torn): 3 * 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): 3 systems {(2,100.0%), (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,8,100.0%), (2,12,100.0%), (1,1,100.0%), (1,13,100.0%), (1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003675/0.5256, allocations: 1.598 MB / 499.1 MB, free: 5.637 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001074/0.5267, allocations: 324.1 kB / 499.5 MB, free: 5.316 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008262/0.535, allocations: 4.198 MB / 0.4919 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.03e-05/0.5351, allocations: 24 kB / 0.4919 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.661e-05/0.5351, allocations: 11.94 kB / 0.4919 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.759e-05/0.5351, allocations: 11.95 kB / 0.4919 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01776/0.5529, allocations: 9.133 MB / 0.5008 GB, free: 7.836 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.309e-05/0.553, allocations: 8.094 kB / 0.5008 GB, free: 7.828 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001743/0.5547, allocations: 376.6 kB / 0.5012 GB, free: 7.477 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00267/0.5574, allocations: 0.9312 MB / 0.5021 GB, free: 6.523 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002767/0.5577, allocations: 63.97 kB / 0.5022 GB, free: 6.461 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01621/0.5739, allocations: 16.52 MB / 0.5183 GB, free: 4.965 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/0.574, allocations: 8.062 kB / 0.5183 GB, free: 4.957 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1751/0.7491, allocations: 6.047 MB / 0.5242 GB, free: 143 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002195/0.7513, allocations: 0.696 MB / 0.5249 GB, free: 142.9 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001174/0.7525, allocations: 58.89 kB / 0.5249 GB, free: 142.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002079/0.7546, allocations: 135.5 kB / 0.5251 GB, free: 142.9 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005195/0.7551, allocations: 192.8 kB / 0.5253 GB, free: 142.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001607/0.7553, allocations: 75.47 kB / 0.5253 GB, free: 142.9 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002892/0.7582, allocations: 2.043 MB / 0.5273 GB, free: 142.7 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7582, allocations: 0.5 kB / 0.5273 GB, free: 142.7 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003656/0.7619, allocations: 0.9745 MB / 0.5283 GB, free: 142.7 MB / 430.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 (not torn): 1 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 8 systems {(2,12,100.0%), (1,1,100.0%), (1,8,100.0%), (2,1,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,100.0%), (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.0006237/0.7625, allocations: 242.5 kB / 0.5285 GB, free: 142.6 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005796/0.7683, allocations: 4.57 MB / 0.533 GB, free: 141.2 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.7683, allocations: 1.719 kB / 0.533 GB, free: 141.2 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003782/0.7721, allocations: 3.046 MB / 0.5359 GB, free: 139.5 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004015/0.7762, allocations: 0.8529 MB / 0.5368 GB, free: 139.2 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01493/0.7911, allocations: 12.18 MB / 0.5487 GB, free: 132.3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002571/0.7937, allocations: 3.433 MB / 0.552 GB, free: 131 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002507/0.7962, allocations: 0.768 MB / 0.5528 GB, free: 130.8 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000553/0.7968, allocations: 208 kB / 0.553 GB, free: 130.8 MB / 430.1 MB Notification: Performance of SimCode: time 6.51e-07/0.7968, allocations: 0 / 0.553 GB, free: 130.8 MB / 430.1 MB Notification: Performance of Templates: time 0.06577/0.8626, allocations: 49.42 MB / 0.6012 GB, free: 82.71 MB / 430.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)