Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.001046/0.001046, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.00148/0.00148, allocations: 172.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.34/1.34, allocations: 205.4 MB / 222.1 MB, free: 5.508 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.0004458/0.0004458, allocations: 8 kB / 278.9 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.225, allocations: 47.59 MB / 326.5 MB, free: 1.559 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL): time 0.01768/0.2427, allocations: 17.2 MB / 343.7 MB, free: 2.34 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.012/0.2548, allocations: 5.342 MB / 349 MB, free: 12.98 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003025/0.2579, allocations: 99.56 kB / 349.1 MB, free: 12.89 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002649/0.2605, allocations: 0.9551 MB / 350.1 MB, free: 11.93 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004456/0.265, allocations: 1.581 MB / 351.7 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002107/0.2671, allocations: 0.7952 MB / 352.4 MB, free: 9.539 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.008006/0.2751, allocations: 6.522 MB / 359 MB, free: 2.988 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004524/0.2797, allocations: 3.543 MB / 362.5 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003085/0.2828, allocations: 2.074 MB / 364.6 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004009/0.2868, allocations: 2.763 MB / 367.4 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007384/0.2876, allocations: 336 kB / 367.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001739/0.2893, allocations: 0.5583 MB / 368.2 MB, free: 9.645 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001378/0.2907, allocations: 1.406 MB / 369.6 MB, free: 8.234 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00185/0.2926, allocations: 1.171 MB / 370.8 MB, free: 7.055 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009747/0.3023, allocations: 8.633 MB / 379.4 MB, free: 14.4 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.3024, allocations: 0 / 379.4 MB, free: 14.4 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3024, allocations: 0 / 379.4 MB, free: 14.4 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000302/0.3027, allocations: 0 / 379.4 MB, free: 14.4 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.01364/0.3163, allocations: 5.677 MB / 385.1 MB, free: 8.641 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.3164, allocations: 8.031 kB / 385.1 MB, free: 8.633 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0054/0.3218, allocations: 1.078 MB / 386.2 MB, free: 7.547 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00677/0.3286, allocations: 3.297 MB / 389.5 MB, free: 4.176 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003254/0.3289, allocations: 386.3 kB / 389.9 MB, free: 3.797 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001025/0.33, allocations: 0.5037 MB / 390.4 MB, free: 3.293 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01398/0.3439, allocations: 6.926 MB / 397.3 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001101/0.3441, allocations: 19.83 kB / 397.3 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004566/0.3446, allocations: 208 kB / 397.5 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002328/0.3448, allocations: 234.2 kB / 397.8 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01062/0.3554, allocations: 5.896 MB / 403.7 MB, free: 5.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03703/0.3925, allocations: 21.48 MB / 425.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008945/0.4015, allocations: 8.685 MB / 433.8 MB, free: 6.344 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004309/0.4058, allocations: 2.373 MB / 436.2 MB, free: 3.969 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01246/0.4183, allocations: 6.155 MB / 442.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.21e-05/0.4184, allocations: 60.56 kB / 442.4 MB, free: 13.63 MB / 382.1 MB Notification: Performance of pre-optimization done (n=219): time 6.021e-06/0.4184, allocations: 0 / 442.4 MB, free: 13.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=238): time 0.02434/0.4428, allocations: 11.43 MB / 453.8 MB, free: 1.969 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.352e-05/0.4429, allocations: 77.41 kB / 453.9 MB, free: 1.879 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2013/0.6442, allocations: 2.961 MB / 456.9 MB, free: 106.1 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004509/0.6447, allocations: 66.2 kB / 456.9 MB, free: 106.1 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001471/0.6461, allocations: 2.307 MB / 459.3 MB, free: 105 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005421/0.6467, allocations: 0.8155 MB / 460.1 MB, free: 104.4 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001509/0.6469, allocations: 57.12 kB / 460.1 MB, free: 104.4 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.647, allocations: 425.4 kB / 460.5 MB, free: 104 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001986/0.649, allocations: 1.353 MB / 461.9 MB, free: 103.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002299/0.6513, allocations: 2.127 MB / 464 MB, free: 102.1 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002082/0.6534, allocations: 1.707 MB / 465.7 MB, free: 101.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.197e-05/0.6534, allocations: 7.906 kB / 465.7 MB, free: 101.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=367) (initialization): time 0.006218/0.6597, allocations: 4.651 MB / 470.4 MB, free: 99.33 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/0.6597, allocations: 15.41 kB / 470.4 MB, free: 99.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.95e-05/0.6597, allocations: 23.16 kB / 470.4 MB, free: 99.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001485/0.6612, allocations: 0.7675 MB / 471.2 MB, free: 99.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002001/0.6632, allocations: 0.6357 MB / 471.8 MB, free: 99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008696/0.672, allocations: 13.38 MB / 485.2 MB, free: 87.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00254/0.6745, allocations: 166.1 kB / 485.4 MB, free: 87.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000201/0.6747, allocations: 113.4 kB / 485.5 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.002856/0.6776, allocations: 1.606 MB / 487.1 MB, free: 86.58 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00044/0.678, allocations: 320.1 kB / 487.4 MB, free: 86.26 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005243/0.6833, allocations: 4.204 MB / 491.6 MB, free: 81.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.6833, allocations: 24 kB / 491.6 MB, free: 81.95 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.6833, allocations: 8 kB / 491.6 MB, free: 81.95 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.754e-05/0.6834, allocations: 11.95 kB / 491.6 MB, free: 81.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01081/0.6942, allocations: 9.129 MB / 0.489 GB, free: 72.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.919e-06/0.6942, allocations: 4.5 kB / 0.489 GB, free: 72.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001346/0.6955, allocations: 383.4 kB / 0.4894 GB, free: 72.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001809/0.6974, allocations: 0.923 MB / 0.4903 GB, free: 71.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000135/0.6975, allocations: 63.97 kB / 0.4904 GB, free: 71.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01104/0.7086, allocations: 16.51 MB / 0.5065 GB, free: 53.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.7086, allocations: 7.938 kB / 0.5065 GB, free: 53.76 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00717/0.7158, allocations: 6.057 MB / 0.5124 GB, free: 47.58 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0012/0.717, allocations: 0.704 MB / 0.5131 GB, free: 46.85 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003611/0.7173, allocations: 55.98 kB / 0.5132 GB, free: 46.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001258/0.7186, allocations: 147.9 kB / 0.5133 GB, free: 46.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000342/0.719, allocations: 194.5 kB / 0.5135 GB, free: 46.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001257/0.7191, allocations: 71.97 kB / 0.5136 GB, free: 46.39 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002405/0.7215, allocations: 2.022 MB / 0.5155 GB, free: 44.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7215, allocations: 0 / 0.5155 GB, free: 44.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00275/0.7243, allocations: 0.9714 MB / 0.5165 GB, free: 43.41 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.0003738/0.7247, allocations: 215.6 kB / 0.5167 GB, free: 43.19 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005178/0.7298, allocations: 4.58 MB / 0.5212 GB, free: 38.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.7299, allocations: 3.297 kB / 0.5212 GB, free: 38.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003256/0.7331, allocations: 3.054 MB / 0.5241 GB, free: 35.28 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003014/0.7361, allocations: 0.8729 MB / 0.525 GB, free: 34.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01368/0.7498, allocations: 11.85 MB / 0.5366 GB, free: 22.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002475/0.7523, allocations: 3.43 MB / 0.5399 GB, free: 19.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002468/0.7548, allocations: 0.7698 MB / 0.5407 GB, free: 18.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005221/0.7554, allocations: 207.4 kB / 0.5409 GB, free: 18.05 MB / 382.1 MB Notification: Performance of SimCode: time 8.31e-07/0.7554, allocations: 0 / 0.5409 GB, free: 18.05 MB / 382.1 MB Notification: Performance of Templates: time 0.07256/0.8279, allocations: 47.54 MB / 0.5873 GB, free: 2.434 MB / 414.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe 2>&1)