Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_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.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001041/0.001042, allocations: 182.7 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.398/1.398, allocations: 194.3 MB / 208.4 MB, free: 6.699 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001654/0.001654, allocations: 112.7 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.375e-05/3.379e-05, allocations: 8 kB / 304.9 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1171, allocations: 44.5 MB / 349.4 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3826/0.4998, allocations: 114 MB / 463.4 MB, free: 14.06 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/0.5001, allocations: 78.45 kB / 463.5 MB, free: 14.02 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5889/1.089, allocations: 160.2 MB / 0.6091 GB, free: 63.8 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.004e-06/1.089, allocations: 0 / 0.6091 GB, free: 63.8 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002782/1.089, allocations: 103.5 kB / 0.6092 GB, free: 63.79 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01024/1.1, allocations: 3.892 MB / 0.613 GB, free: 61.89 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/1.1, allocations: 10.91 kB / 0.613 GB, free: 61.89 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005555/1.105, allocations: 0.9158 MB / 0.6139 GB, free: 61.59 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0105/1.116, allocations: 3.8 MB / 0.6176 GB, free: 59.74 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003001/1.116, allocations: 303 kB / 0.6179 GB, free: 59.6 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001284/1.117, allocations: 394.7 kB / 0.6183 GB, free: 59.47 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008565/1.126, allocations: 4.999 MB / 0.6232 GB, free: 55.8 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.783e-05/1.126, allocations: 4 kB / 0.6232 GB, free: 55.8 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003707/1.126, allocations: 175 kB / 0.6233 GB, free: 55.63 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001398/1.127, allocations: 168 kB / 0.6235 GB, free: 55.47 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006243/1.133, allocations: 4.014 MB / 0.6274 GB, free: 51.45 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02297/1.156, allocations: 16.89 MB / 0.6439 GB, free: 34.26 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004983/1.161, allocations: 8.253 MB / 0.652 GB, free: 25 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002126/1.163, allocations: 1.626 MB / 0.6535 GB, free: 23.38 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00723/1.17, allocations: 4.822 MB / 0.6583 GB, free: 18.43 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/1.17, allocations: 47.88 kB / 0.6583 GB, free: 18.37 MB / 394.7 MB Notification: Performance of pre-optimization done (n=149): time 3.657e-06/1.17, allocations: 0 / 0.6583 GB, free: 18.37 MB / 394.7 MB Notification: Performance of matching and sorting (n=152): time 0.006558/1.177, allocations: 4.475 MB / 0.6627 GB, free: 13.79 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/1.177, allocations: 76.61 kB / 0.6627 GB, free: 13.71 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002786/1.18, allocations: 1.968 MB / 0.6647 GB, free: 11.71 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000112/1.18, allocations: 49.7 kB / 0.6647 GB, free: 11.66 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009205/1.181, allocations: 1.843 MB / 0.6665 GB, free: 9.797 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003448/1.181, allocations: 0.522 MB / 0.667 GB, free: 9.277 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.649e-05/1.181, allocations: 43.94 kB / 0.6671 GB, free: 9.234 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/1.181, allocations: 386 kB / 0.6674 GB, free: 8.852 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001005/1.182, allocations: 0.746 MB / 0.6682 GB, free: 8.102 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001184/1.184, allocations: 1.426 MB / 0.6696 GB, free: 6.352 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/1.185, allocations: 1.008 MB / 0.6705 GB, free: 5.344 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.859e-06/1.185, allocations: 8 kB / 0.6705 GB, free: 5.336 MB / 394.7 MB Notification: Performance of matching and sorting (n=264) (initialization): time 0.003398/1.188, allocations: 2.636 MB / 0.6731 GB, free: 2.668 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/1.188, allocations: 16 kB / 0.6731 GB, free: 2.652 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.942e-05/1.188, allocations: 20 kB / 0.6732 GB, free: 2.633 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002801/1.189, allocations: 129.6 kB / 0.6733 GB, free: 2.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001763/1.19, allocations: 0.5309 MB / 0.6738 GB, free: 1.969 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001206/1.192, allocations: 1.81 MB / 0.6756 GB, free: 24 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00181/1.193, allocations: 115.8 kB / 0.6757 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001519/1.194, allocations: 91.98 kB / 0.6758 GB, free: 15.82 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (258): * Single equations (assignments): 256 * 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: 1 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003712/1.194, allocations: 244.3 kB / 0.676 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003358/1.194, allocations: 241 kB / 0.6762 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004079/1.198, allocations: 2.265 MB / 0.6784 GB, free: 13.01 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.459e-05/1.198, allocations: 16 kB / 0.6785 GB, free: 13 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/1.198, allocations: 4 kB / 0.6785 GB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/1.198, allocations: 3.984 kB / 0.6785 GB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009587/1.208, allocations: 5.528 MB / 0.6839 GB, free: 7.355 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/1.208, allocations: 0 / 0.6839 GB, free: 7.355 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001248/1.209, allocations: 279.9 kB / 0.6841 GB, free: 7.082 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008501/1.21, allocations: 318.3 kB / 0.6844 GB, free: 6.762 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001163/1.21, allocations: 47.94 kB / 0.6845 GB, free: 6.715 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006424/1.217, allocations: 6.293 MB / 0.6906 GB, free: 28 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.217, allocations: 0 / 0.6906 GB, free: 28 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2504/1.467, allocations: 3.387 MB / 0.6939 GB, free: 81.08 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001638/1.469, allocations: 492.6 kB / 0.6944 GB, free: 80.99 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004167/1.469, allocations: 35.09 kB / 0.6944 GB, free: 80.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/1.471, allocations: 89.31 kB / 0.6945 GB, free: 80.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003812/1.471, allocations: 119.9 kB / 0.6946 GB, free: 80.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001139/1.471, allocations: 43.69 kB / 0.6947 GB, free: 80.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002855/1.474, allocations: 1.486 MB / 0.6961 GB, free: 80.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.5e-07/1.474, allocations: 0.8438 kB / 0.6961 GB, free: 80.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003545/1.477, allocations: 0.7209 MB / 0.6968 GB, free: 80.82 MB / 410.7 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.excitation.electroMagneticConverter.Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,mechanicalSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009551/1.478, allocations: 444.7 kB / 0.6973 GB, free: 80.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003922/1.482, allocations: 2.059 MB / 0.6993 GB, free: 80.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/1.482, allocations: 1.156 kB / 0.6993 GB, free: 80.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00228/1.485, allocations: 1.343 MB / 0.7006 GB, free: 80.15 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003595/1.488, allocations: 0.5592 MB / 0.7011 GB, free: 80.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01236/1.501, allocations: 5.51 MB / 0.7065 GB, free: 78.87 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002347/1.503, allocations: 2.727 MB / 0.7092 GB, free: 78.11 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002388/1.506, allocations: 0.5451 MB / 0.7097 GB, free: 78.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000478/1.506, allocations: 161 kB / 0.7099 GB, free: 78.04 MB / 410.7 MB Notification: Performance of SimCode: time 1.413e-06/1.506, allocations: 0 / 0.7099 GB, free: 78.04 MB / 410.7 MB Notification: Performance of Templates: time 0.05717/1.563, allocations: 33.51 MB / 0.7426 GB, free: 76.14 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe 2>&1)