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.0007585/0.0007585, allocations: 91.88 kB / 16.65 MB, free: 6.586 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.0008161/0.0008162, allocations: 182 kB / 17.56 MB, free: 6.203 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.317/1.317, allocations: 205.4 MB / 223.7 MB, free: 13.08 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.000466/0.0004654, allocations: 8 kB / 280.7 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09531/0.09578, allocations: 47.59 MB / 328.3 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL): time 0.0188/0.1146, allocations: 18.42 MB / 346.7 MB, free: 1.254 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01184/0.1265, allocations: 5.578 MB / 352.3 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003809/0.1304, allocations: 95.56 kB / 352.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004829/0.1352, allocations: 1.096 MB / 353.5 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006977/0.1422, allocations: 1.729 MB / 355.2 MB, free: 8.727 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003699/0.146, allocations: 1.072 MB / 356.3 MB, free: 7.652 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009022/0.155, allocations: 7.103 MB / 363.4 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006728/0.1618, allocations: 4.395 MB / 367.8 MB, free: 12.04 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003383/0.1652, allocations: 2.12 MB / 369.9 MB, free: 9.906 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004427/0.1696, allocations: 2.867 MB / 372.8 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001345/0.171, allocations: 336 kB / 373.1 MB, free: 6.699 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002623/0.1736, allocations: 0.6207 MB / 373.7 MB, free: 6.078 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002024/0.1757, allocations: 1.425 MB / 375.2 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00371/0.1794, allocations: 2.835 MB / 378 MB, free: 1.793 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1664/0.3458, allocations: 9.915 MB / 387.9 MB, free: 23.91 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.3458, allocations: 0 / 387.9 MB, free: 23.91 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3458, allocations: 2.297 kB / 387.9 MB, free: 23.91 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002975/0.3461, allocations: 0 / 387.9 MB, free: 23.91 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.01497/0.3611, allocations: 5.622 MB / 393.5 MB, free: 20.85 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.3612, allocations: 8.125 kB / 393.6 MB, free: 20.85 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006465/0.3676, allocations: 1.076 MB / 394.6 MB, free: 20.39 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007005/0.3747, allocations: 3.394 MB / 398 MB, free: 19.2 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003835/0.3751, allocations: 386 kB / 398.4 MB, free: 19.19 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001653/0.3768, allocations: 0.5067 MB / 398.9 MB, free: 19.18 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01578/0.3926, allocations: 6.964 MB / 405.9 MB, free: 17.57 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001909/0.3928, allocations: 14.66 kB / 405.9 MB, free: 17.57 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001102/0.3939, allocations: 209.3 kB / 406.1 MB, free: 17.57 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002171/0.3942, allocations: 238.4 kB / 406.3 MB, free: 17.54 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01271/0.4069, allocations: 5.932 MB / 412.3 MB, free: 14.66 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03678/0.4437, allocations: 21.49 MB / 433.7 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008608/0.4523, allocations: 8.696 MB / 442.4 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004165/0.4565, allocations: 2.385 MB / 444.8 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01133/0.4679, allocations: 6.15 MB / 451 MB, free: 7.965 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.727e-05/0.468, allocations: 64.55 kB / 451 MB, free: 7.895 MB / 350.1 MB Notification: Performance of pre-optimization done (n=219): time 4.589e-06/0.468, allocations: 0 / 451 MB, free: 7.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=238): time 0.02427/0.4923, allocations: 11.41 MB / 462.5 MB, free: 12.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.4923, allocations: 73.41 kB / 462.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004895/0.4972, allocations: 2.99 MB / 465.5 MB, free: 9.234 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000507/0.4978, allocations: 79.67 kB / 465.6 MB, free: 9.156 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001633/0.4994, allocations: 2.298 MB / 467.9 MB, free: 6.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008298/0.5003, allocations: 0.816 MB / 468.7 MB, free: 6.031 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003442/0.5006, allocations: 235.6 kB / 468.9 MB, free: 5.793 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.478e-05/0.5007, allocations: 305.1 kB / 469.2 MB, free: 5.492 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002253/0.503, allocations: 1.364 MB / 470.6 MB, free: 4.125 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002683/0.5057, allocations: 2.144 MB / 472.7 MB, free: 1.664 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005073/0.5107, allocations: 3.706 MB / 476.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-05/0.5108, allocations: 8 kB / 476.5 MB, free: 13.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=367) (initialization): time 0.007795/0.5186, allocations: 4.683 MB / 481.1 MB, free: 9.062 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.611e-05/0.5187, allocations: 20.12 kB / 481.2 MB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.403e-05/0.5187, allocations: 24 kB / 481.2 MB, free: 9.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001787/0.5205, allocations: 0.7456 MB / 481.9 MB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002343/0.5228, allocations: 0.6449 MB / 482.6 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01191/0.5348, allocations: 13.41 MB / 496 MB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003055/0.5379, allocations: 167.7 kB / 496.1 MB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003404/0.5382, allocations: 120.1 kB / 496.3 MB, free: 9.09 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.003327/0.5416, allocations: 1.593 MB / 497.9 MB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007943/0.5424, allocations: 320.2 kB / 498.2 MB, free: 7.207 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007428/0.5498, allocations: 4.219 MB / 0.4906 GB, free: 2.938 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.57e-05/0.5498, allocations: 20 kB / 0.4906 GB, free: 2.918 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.448e-05/0.5499, allocations: 22.33 kB / 0.4907 GB, free: 2.898 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.256e-05/0.5499, allocations: 7.969 kB / 0.4907 GB, free: 2.891 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01517/0.5651, allocations: 9.148 MB / 0.4996 GB, free: 9.699 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/0.5651, allocations: 4 kB / 0.4996 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00165/0.5668, allocations: 377.3 kB / 0.5 GB, free: 9.344 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002473/0.5693, allocations: 0.9239 MB / 0.5009 GB, free: 8.398 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000197/0.5695, allocations: 75.95 kB / 0.5009 GB, free: 8.324 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01544/0.5849, allocations: 16.52 MB / 0.5171 GB, free: 6.816 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.585, allocations: 6.688 kB / 0.5171 GB, free: 6.812 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009681/0.5947, allocations: 6.083 MB / 0.523 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.1861/0.7808, allocations: 0.6975 MB / 0.5237 GB, free: 144.3 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001887/0.7828, allocations: 57.67 kB / 0.5238 GB, free: 144.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002171/0.785, allocations: 138.9 kB / 0.5239 GB, free: 144.3 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00051/0.7855, allocations: 200.5 kB / 0.5241 GB, free: 144.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001634/0.7857, allocations: 70 kB / 0.5241 GB, free: 144.3 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003403/0.7891, allocations: 2.045 MB / 0.5261 GB, free: 144.1 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7891, allocations: 0 / 0.5261 GB, free: 144.1 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005226/0.7943, allocations: 0.9732 MB / 0.5271 GB, free: 144.1 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.0005845/0.7949, allocations: 249.6 kB / 0.5273 GB, free: 144 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006575/0.8015, allocations: 4.582 MB / 0.5318 GB, free: 142.6 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/0.8015, allocations: 0 / 0.5318 GB, free: 142.6 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004342/0.8059, allocations: 3.067 MB / 0.5348 GB, free: 140.9 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005929/0.8118, allocations: 0.8639 MB / 0.5356 GB, free: 140.6 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0156/0.8274, allocations: 12.4 MB / 0.5477 GB, free: 133.6 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002939/0.8304, allocations: 3.436 MB / 0.5511 GB, free: 132.2 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002868/0.8333, allocations: 0.7706 MB / 0.5519 GB, free: 132.1 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006004/0.8339, allocations: 208 kB / 0.5521 GB, free: 132.1 MB / 430.1 MB Notification: Performance of SimCode: time 1.022e-06/0.8339, allocations: 3.969 kB / 0.5521 GB, free: 132.1 MB / 430.1 MB Notification: Performance of Templates: time 0.07146/0.9054, allocations: 48.76 MB / 0.5997 GB, free: 84.36 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)