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.001608/0.001608, 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.001887/0.001887, allocations: 195.5 kB / 16.25 MB, free: 6.629 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.343/1.343, allocations: 205.1 MB / 222.1 MB, free: 4.754 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.001232/0.001232, allocations: 47.94 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2175, allocations: 46.62 MB / 324.8 MB, free: 1.926 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL): time 0.0184/0.2359, allocations: 19.23 MB / 344.1 MB, free: 0.8008 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01196/0.2479, allocations: 5.597 MB / 349.7 MB, free: 11.19 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003845/0.2519, allocations: 99.56 kB / 349.8 MB, free: 11.09 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00439/0.2563, allocations: 1.115 MB / 350.9 MB, free: 9.969 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008066/0.2644, allocations: 1.702 MB / 352.6 MB, free: 8.258 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003977/0.2684, allocations: 1.08 MB / 353.7 MB, free: 7.176 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.009081/0.2775, allocations: 6.569 MB / 360.2 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007985/0.2855, allocations: 5.329 MB / 365.6 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004396/0.2899, allocations: 2.854 MB / 368.4 MB, free: 8.297 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005319/0.2953, allocations: 3.484 MB / 371.9 MB, free: 4.801 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002261/0.2976, allocations: 0.7969 MB / 372.7 MB, free: 4.004 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003381/0.301, allocations: 1.082 MB / 373.8 MB, free: 2.922 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002799/0.3038, allocations: 1.971 MB / 375.8 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005932/0.3097, allocations: 3.423 MB / 379.2 MB, free: 13.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0129/0.3227, allocations: 10.5 MB / 389.7 MB, free: 2.969 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.3227, allocations: 0 / 389.7 MB, free: 2.969 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3227, allocations: 0 / 389.7 MB, free: 2.969 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0004003/0.3231, allocations: 0 / 389.7 MB, free: 2.969 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.02653/0.3497, allocations: 6.698 MB / 396.4 MB, free: 12.19 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.3497, allocations: 12.02 kB / 396.4 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005916/0.3557, allocations: 1.067 MB / 397.5 MB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006915/0.3626, allocations: 3.389 MB / 400.9 MB, free: 7.637 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004099/0.363, allocations: 394.6 kB / 401.2 MB, free: 7.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00168/0.3647, allocations: 0.5039 MB / 401.7 MB, free: 6.746 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01646/0.3812, allocations: 6.957 MB / 408.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002295/0.3815, allocations: 7.906 kB / 408.7 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001229/0.3827, allocations: 208 kB / 408.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002569/0.383, allocations: 238.1 kB / 409.1 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.013/0.396, allocations: 5.915 MB / 415.1 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04174/0.4378, allocations: 21.39 MB / 436.4 MB, free: 3.477 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008397/0.4462, allocations: 8.692 MB / 445.1 MB, free: 9.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004009/0.4503, allocations: 2.366 MB / 447.5 MB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01263/0.4629, allocations: 6.136 MB / 453.6 MB, free: 1.219 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.94e-05/0.463, allocations: 60.56 kB / 453.7 MB, free: 1.152 MB / 382.1 MB Notification: Performance of pre-optimization done (n=219): time 5.099e-06/0.463, allocations: 0 / 453.7 MB, free: 1.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=238): time 0.1976/0.6607, allocations: 11.29 MB / 465 MB, free: 104.4 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.6607, allocations: 76.97 kB / 465.1 MB, free: 104.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003936/0.6647, allocations: 2.992 MB / 468.1 MB, free: 103.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002433/0.665, allocations: 65.33 kB / 468.1 MB, free: 103.1 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001034/0.666, allocations: 2.31 MB / 470.4 MB, free: 101.4 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005273/0.6665, allocations: 0.8043 MB / 471.2 MB, free: 100.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006466/0.6672, allocations: 0.5098 MB / 471.7 MB, free: 100.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.887e-05/0.6672, allocations: 303.6 kB / 472 MB, free: 100.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001699/0.6689, allocations: 1.354 MB / 473.4 MB, free: 99.72 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001927/0.6709, allocations: 2.137 MB / 475.5 MB, free: 98.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00371/0.6746, allocations: 3.688 MB / 479.2 MB, free: 95.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.287e-05/0.6746, allocations: 8 kB / 479.2 MB, free: 95.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=367) (initialization): time 0.006498/0.6811, allocations: 4.664 MB / 483.9 MB, free: 90.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.069e-05/0.6812, allocations: 16 kB / 483.9 MB, free: 90.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.581e-05/0.6812, allocations: 24 kB / 483.9 MB, free: 90.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001569/0.6828, allocations: 0.7604 MB / 484.7 MB, free: 89.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002031/0.6849, allocations: 0.6406 MB / 485.3 MB, free: 89.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009309/0.6942, allocations: 14.53 MB / 499.9 MB, free: 73.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002923/0.6971, allocations: 159.8 kB / 0.4883 GB, free: 73.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002961/0.6975, allocations: 124.1 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.002697/0.7002, allocations: 1.598 MB / 0.49 GB, free: 71.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007303/0.7009, allocations: 328.1 kB / 0.4903 GB, free: 71.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00578/0.7067, allocations: 4.196 MB / 0.4944 GB, free: 67.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/0.7067, allocations: 24 kB / 0.4944 GB, free: 67.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.391e-05/0.7068, allocations: 8 kB / 0.4944 GB, free: 67.08 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.988e-05/0.7068, allocations: 15.94 kB / 0.4944 GB, free: 67.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01213/0.7189, allocations: 9.121 MB / 0.5033 GB, free: 57.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/0.719, allocations: 7.938 kB / 0.5033 GB, free: 57.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00149/0.7204, allocations: 379.9 kB / 0.5037 GB, free: 57.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002134/0.7226, allocations: 0.9303 MB / 0.5046 GB, free: 56.49 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001808/0.7228, allocations: 71.95 kB / 0.5047 GB, free: 56.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01206/0.7349, allocations: 18.01 MB / 0.5223 GB, free: 37.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.7349, allocations: 7.984 kB / 0.5223 GB, free: 37.33 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007934/0.7428, allocations: 6.048 MB / 0.5282 GB, free: 31.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001431/0.7443, allocations: 0.6924 MB / 0.5289 GB, free: 30.44 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004665/0.7448, allocations: 63.92 kB / 0.5289 GB, free: 30.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001454/0.7462, allocations: 131.9 kB / 0.5291 GB, free: 30.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004285/0.7467, allocations: 200.4 kB / 0.5292 GB, free: 30.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001358/0.7468, allocations: 71.97 kB / 0.5293 GB, free: 29.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002426/0.7493, allocations: 2.045 MB / 0.5313 GB, free: 27.94 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.7493, allocations: 0 / 0.5313 GB, free: 27.94 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00302/0.7523, allocations: 0.9713 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.0004996/0.7528, allocations: 251.1 kB / 0.5325 GB, free: 26.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.009707/0.7625, allocations: 6.114 MB / 0.5385 GB, free: 20.47 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.7626, allocations: 0 / 0.5385 GB, free: 20.47 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003553/0.7661, allocations: 3.053 MB / 0.5415 GB, free: 17.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00409/0.7702, allocations: 0.9003 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.01466/0.7849, allocations: 12.18 MB / 0.5542 GB, free: 4.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00246/0.7874, allocations: 3.426 MB / 0.5576 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002763/0.7902, allocations: 0.7737 MB / 0.5583 GB, free: 15.93 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007386/0.791, allocations: 211.4 kB / 0.5585 GB, free: 15.72 MB / 398.1 MB Notification: Performance of SimCode: time 1.232e-06/0.791, allocations: 3.938 kB / 0.5585 GB, free: 15.71 MB / 398.1 MB Notification: Performance of Templates: time 0.2546/1.046, allocations: 51.21 MB / 0.6085 GB, free: 139.9 MB / 430.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)