Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001078/0.001078, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001105/0.001105, allocations: 190.4 kB / 16.25 MB, free: 6.625 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.361/1.361, allocations: 205.1 MB / 222.1 MB, free: 4.668 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.001336/0.001336, allocations: 55.92 kB / 278.2 MB, free: 12.64 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2266/0.2279, allocations: 46.62 MB / 324.9 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL): time 0.01961/0.2476, allocations: 19.22 MB / 344.1 MB, free: 0.8086 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01236/0.26, allocations: 5.605 MB / 349.7 MB, free: 11.19 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005299/0.2655, allocations: 95.56 kB / 349.8 MB, free: 11.09 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004903/0.2704, allocations: 1.123 MB / 350.9 MB, free: 9.965 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00698/0.2774, allocations: 1.702 MB / 352.6 MB, free: 8.254 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00353/0.281, allocations: 1.076 MB / 353.7 MB, free: 7.176 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.008594/0.2896, allocations: 6.566 MB / 360.2 MB, free: 0.582 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006571/0.2962, allocations: 5.329 MB / 365.6 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004575/0.3008, allocations: 2.858 MB / 368.4 MB, free: 8.297 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005723/0.3065, allocations: 3.48 MB / 371.9 MB, free: 4.805 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002382/0.3089, allocations: 0.7969 MB / 372.7 MB, free: 4.008 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003145/0.3121, allocations: 1.082 MB / 373.8 MB, free: 2.926 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002297/0.3144, allocations: 1.983 MB / 375.8 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005568/0.32, allocations: 3.423 MB / 379.2 MB, free: 13.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01097/0.331, allocations: 10.5 MB / 389.7 MB, free: 2.965 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.3311, allocations: 4 kB / 389.7 MB, free: 2.961 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3311, allocations: 0 / 389.7 MB, free: 2.961 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003621/0.3314, allocations: 0 / 389.7 MB, free: 2.961 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.01903/0.3505, allocations: 6.687 MB / 396.4 MB, free: 12.19 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.3505, allocations: 8.031 kB / 396.4 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005525/0.3561, allocations: 1.083 MB / 397.5 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007303/0.3634, allocations: 3.389 MB / 400.9 MB, free: 7.629 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000343/0.3638, allocations: 390.7 kB / 401.2 MB, free: 7.246 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001529/0.3653, allocations: 0.5117 MB / 401.8 MB, free: 6.734 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01598/0.3813, allocations: 6.945 MB / 408.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001595/0.3815, allocations: 11.91 kB / 408.7 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000664/0.3822, allocations: 208 kB / 408.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002477/0.3824, allocations: 238.2 kB / 409.1 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01201/0.3945, allocations: 5.919 MB / 415.1 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04182/0.4363, allocations: 21.37 MB / 436.4 MB, free: 3.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008282/0.4447, allocations: 8.695 MB / 445.1 MB, free: 9.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003953/0.4486, allocations: 2.373 MB / 447.5 MB, free: 7.465 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01054/0.4592, allocations: 6.136 MB / 453.6 MB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.366e-05/0.4593, allocations: 52.56 kB / 453.7 MB, free: 1.152 MB / 382.1 MB Notification: Performance of pre-optimization done (n=219): time 4.108e-06/0.4593, allocations: 0 / 453.7 MB, free: 1.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=238): time 0.1816/0.6409, allocations: 11.28 MB / 465 MB, free: 104.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.641, allocations: 77.09 kB / 465.1 MB, free: 104.4 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003807/0.6448, allocations: 2.994 MB / 468 MB, free: 103.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001416/0.645, allocations: 66.52 kB / 468.1 MB, free: 103.2 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001025/0.646, allocations: 2.302 MB / 470.4 MB, free: 101.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004404/0.6465, allocations: 0.8151 MB / 471.2 MB, free: 100.9 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006374/0.6471, allocations: 0.5066 MB / 471.7 MB, free: 100.6 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.7e-05/0.6472, allocations: 303.6 kB / 472 MB, free: 100.3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001603/0.6488, allocations: 1.356 MB / 473.4 MB, free: 99.81 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001923/0.6507, allocations: 2.137 MB / 475.5 MB, free: 98.21 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003655/0.6544, allocations: 3.689 MB / 479.2 MB, free: 95.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-05/0.6544, allocations: 8 kB / 479.2 MB, free: 95.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=367) (initialization): time 0.005899/0.6603, allocations: 4.667 MB / 483.9 MB, free: 90.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.827e-05/0.6604, allocations: 16 kB / 483.9 MB, free: 90.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.631e-05/0.6604, allocations: 20 kB / 483.9 MB, free: 90.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001544/0.6619, allocations: 0.7651 MB / 484.7 MB, free: 89.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002002/0.664, allocations: 0.6318 MB / 485.3 MB, free: 89.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008938/0.6729, allocations: 14.54 MB / 499.9 MB, free: 73.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00269/0.6756, allocations: 158.9 kB / 0.4883 GB, free: 73.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002605/0.6759, allocations: 120 kB / 0.4884 GB, free: 73.32 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[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.002525/0.6784, allocations: 1.602 MB / 0.49 GB, free: 71.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006786/0.6791, allocations: 324 kB / 0.4903 GB, free: 71.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005669/0.6848, allocations: 4.194 MB / 0.4944 GB, free: 67.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/0.6848, allocations: 27.98 kB / 0.4944 GB, free: 67.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.407e-05/0.6849, allocations: 8 kB / 0.4944 GB, free: 67.08 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.802e-05/0.6849, allocations: 7.969 kB / 0.4944 GB, free: 67.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01214/0.697, allocations: 9.128 MB / 0.5033 GB, free: 57.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.759e-06/0.6971, allocations: 12 kB / 0.5034 GB, free: 57.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00148/0.6986, allocations: 371.4 kB / 0.5037 GB, free: 57.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00206/0.7006, allocations: 0.9394 MB / 0.5046 GB, free: 56.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001544/0.7008, allocations: 67.97 kB / 0.5047 GB, free: 56.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01232/0.7131, allocations: 18.01 MB / 0.5223 GB, free: 37.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.7132, allocations: 4 kB / 0.5223 GB, free: 37.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008105/0.7213, allocations: 6.051 MB / 0.5282 GB, free: 31.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001583/0.7229, allocations: 0.6923 MB / 0.5289 GB, free: 30.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004996/0.7234, allocations: 59.94 kB / 0.5289 GB, free: 30.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001466/0.7249, allocations: 135.9 kB / 0.529 GB, free: 30.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004449/0.7254, allocations: 197.6 kB / 0.5292 GB, free: 30.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000133/0.7255, allocations: 67.98 kB / 0.5293 GB, free: 29.99 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002367/0.7279, allocations: 2.041 MB / 0.5313 GB, free: 27.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7279, allocations: 3.938 kB / 0.5313 GB, free: 27.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002981/0.7309, allocations: 0.9792 MB / 0.5323 GB, free: 26.97 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 (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.0005139/0.7314, allocations: 247 kB / 0.5325 GB, free: 26.72 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.009772/0.7412, allocations: 6.114 MB / 0.5385 GB, free: 20.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/0.7412, allocations: 8.062 kB / 0.5385 GB, free: 20.47 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003636/0.7449, allocations: 3.041 MB / 0.5414 GB, free: 17.31 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00478/0.7497, allocations: 0.906 MB / 0.5423 GB, free: 16.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02394/0.7736, allocations: 12.18 MB / 0.5542 GB, free: 4.164 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004427/0.7781, allocations: 3.434 MB / 0.5576 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.004359/0.7825, allocations: 0.7698 MB / 0.5583 GB, free: 15.93 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000989/0.7835, allocations: 215.4 kB / 0.5585 GB, free: 15.71 MB / 398.1 MB Notification: Performance of SimCode: time 1.563e-06/0.7836, allocations: 3.938 kB / 0.5585 GB, free: 15.71 MB / 398.1 MB Notification: Performance of Templates: time 0.2901/1.074, allocations: 51.2 MB / 0.6085 GB, free: 139.9 MB / 430.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.sim & ./Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe 2>&1)