Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_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.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001262, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 194.6 kB / 16.53 MB, free: 6.699 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.401/1.401, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.001168/0.001168, allocations: 56.39 kB / 278.7 MB, free: 12.37 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2253, allocations: 46.64 MB / 325.3 MB, free: 1.973 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.01858/0.2439, allocations: 16.57 MB / 341.9 MB, free: 3.395 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01128/0.2552, allocations: 5.447 MB / 347.3 MB, free: 13.93 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003602/0.2589, allocations: 91.62 kB / 347.4 MB, free: 13.84 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003421/0.2624, allocations: 1.25 MB / 348.7 MB, free: 12.58 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006367/0.2687, allocations: 1.596 MB / 350.3 MB, free: 10.98 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003231/0.272, allocations: 1.064 MB / 351.3 MB, free: 9.91 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.007955/0.28, allocations: 5.102 MB / 356.4 MB, free: 4.789 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006299/0.2863, allocations: 3.826 MB / 360.3 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003817/0.2901, allocations: 2.169 MB / 362.4 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004475/0.2946, allocations: 2.592 MB / 365 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00166/0.2963, allocations: 0.6133 MB / 365.6 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003235/0.2996, allocations: 0.8435 MB / 366.5 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002337/0.3019, allocations: 1.422 MB / 367.9 MB, free: 9.223 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00451/0.3064, allocations: 2.633 MB / 370.5 MB, free: 6.578 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008688/0.3151, allocations: 8.011 MB / 378.6 MB, free: 14.54 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.3152, allocations: 0 / 378.6 MB, free: 14.54 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3152, allocations: 0 / 378.6 MB, free: 14.54 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000228/0.3154, allocations: 0 / 378.6 MB, free: 14.54 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: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.01344/0.3289, allocations: 5.378 MB / 383.9 MB, free: 9.082 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.3289, allocations: 12.03 kB / 383.9 MB, free: 9.07 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004953/0.3339, allocations: 0.9948 MB / 384.9 MB, free: 8.07 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004874/0.3388, allocations: 2.765 MB / 387.7 MB, free: 5.25 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000243/0.339, allocations: 312.2 kB / 388 MB, free: 4.941 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000564/0.3396, allocations: 395.9 kB / 388.4 MB, free: 4.555 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008129/0.3478, allocations: 5.213 MB / 393.6 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-05/0.3479, allocations: 7.938 kB / 393.6 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003529/0.3482, allocations: 168 kB / 393.8 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001521/0.3484, allocations: 176 kB / 393.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007146/0.3555, allocations: 4.439 MB / 398.4 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02419/0.3797, allocations: 16.79 MB / 415.2 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007395/0.3872, allocations: 8.411 MB / 423.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002756/0.39, allocations: 1.71 MB / 425.3 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007953/0.3979, allocations: 4.969 MB / 430.3 MB, free: 8.859 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/0.398, allocations: 47.88 kB / 430.3 MB, free: 8.801 MB / 366.1 MB Notification: Performance of pre-optimization done (n=156): time 2.965e-06/0.398, allocations: 0 / 430.3 MB, free: 8.801 MB / 366.1 MB Notification: Performance of matching and sorting (n=159): time 0.01125/0.4093, allocations: 6.1 MB / 436.4 MB, free: 2.543 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.4094, allocations: 72.7 kB / 436.5 MB, free: 2.461 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003042/0.4124, allocations: 2.29 MB / 438.8 MB, free: 148 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001332/0.4126, allocations: 53.7 kB / 438.8 MB, free: 88 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001195/0.4138, allocations: 1.852 MB / 440.7 MB, free: 14.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004201/0.4142, allocations: 0.5391 MB / 441.2 MB, free: 13.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005494/0.4147, allocations: 395.6 kB / 441.6 MB, free: 13.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.102e-05/0.4148, allocations: 309.1 kB / 441.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001377/0.4162, allocations: 0.8397 MB / 442.8 MB, free: 12.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001797/0.418, allocations: 1.56 MB / 444.3 MB, free: 10.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003295/0.4213, allocations: 2.551 MB / 446.9 MB, free: 7.359 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.596e-05/0.4214, allocations: 11.94 kB / 446.9 MB, free: 7.348 MB / 382.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004586/0.426, allocations: 2.888 MB / 449.8 MB, free: 4.426 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/0.426, allocations: 14.5 kB / 449.8 MB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.358e-05/0.4261, allocations: 24 kB / 449.8 MB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002912/0.4264, allocations: 125.6 kB / 449.9 MB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001927/0.4283, allocations: 0.5384 MB / 450.5 MB, free: 3.723 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001672/0.43, allocations: 1.997 MB / 452.5 MB, free: 1.578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001702/0.4317, allocations: 111.8 kB / 452.6 MB, free: 1.469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001429/0.4318, allocations: 99.98 kB / 452.7 MB, free: 1.371 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 104 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * Single equations (assignments): 267 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001891/0.4337, allocations: 1.2 MB / 453.9 MB, free: 164 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.1614/0.5951, allocations: 245 kB / 454.1 MB, free: 109.4 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004901/0.6001, allocations: 2.432 MB / 456.5 MB, free: 108.8 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/0.6001, allocations: 17.25 kB / 456.6 MB, free: 108.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.6001, allocations: 5.344 kB / 456.6 MB, free: 108.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.571e-05/0.6001, allocations: 7.969 kB / 456.6 MB, free: 108.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008308/0.6084, allocations: 5.778 MB / 462.3 MB, free: 106.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.6085, allocations: 0 / 462.3 MB, free: 106.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001171/0.6097, allocations: 288.8 kB / 462.6 MB, free: 106.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007186/0.6104, allocations: 319.9 kB / 462.9 MB, free: 106 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.355e-05/0.6105, allocations: 39.67 kB / 463 MB, free: 106 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004877/0.6154, allocations: 6.948 MB / 469.9 MB, free: 100.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.217e-06/0.6154, allocations: 6.719 kB / 469.9 MB, free: 100.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004812/0.6202, allocations: 3.543 MB / 473.5 MB, free: 98.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001137/0.6214, allocations: 0.489 MB / 474 MB, free: 98.42 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003202/0.6217, allocations: 35.06 kB / 474 MB, free: 98.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/0.6228, allocations: 86.88 kB / 474.1 MB, free: 98.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002718/0.6231, allocations: 124.1 kB / 474.2 MB, free: 98.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.007e-05/0.6232, allocations: 41.94 kB / 474.2 MB, free: 98.33 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001945/0.6252, allocations: 1.553 MB / 475.8 MB, free: 97.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.51e-07/0.6252, allocations: 0 / 475.8 MB, free: 97.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001997/0.6272, allocations: 0.673 MB / 476.5 MB, free: 97.42 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smee.excitation.electroMagneticConverter.Phi.re,mechanicalSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,8,100.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000314/0.6275, allocations: 170.4 kB / 476.6 MB, free: 97.29 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005132/0.6327, allocations: 2.897 MB / 479.5 MB, free: 94.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.6327, allocations: 0 / 479.5 MB, free: 94.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001807/0.6345, allocations: 1.44 MB / 481 MB, free: 93.33 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002601/0.6371, allocations: 0.591 MB / 481.6 MB, free: 92.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009175/0.6463, allocations: 6.981 MB / 488.5 MB, free: 85.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001633/0.648, allocations: 2.669 MB / 491.2 MB, free: 83.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001795/0.6498, allocations: 0.5552 MB / 491.8 MB, free: 82.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003974/0.6502, allocations: 163.4 kB / 491.9 MB, free: 82.38 MB / 382.1 MB Notification: Performance of SimCode: time 6.32e-07/0.6502, allocations: 0 / 491.9 MB, free: 82.38 MB / 382.1 MB Notification: Performance of Templates: time 0.04555/0.6957, allocations: 32.23 MB / 0.5119 GB, free: 50.12 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe 2>&1)