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.001448/0.001448, allocations: 184 kB / 8.354 MB, free: 0.7305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.536/1.536, allocations: 194.3 MB / 203.1 MB, free: 13.03 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.001704/0.001704, allocations: 119.1 kB / 248.1 MB, free: 36 kB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.895e-05/1.897e-05, allocations: 4 kB / 298.1 MB, free: 35.5 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0862/0.08624, allocations: 44.5 MB / 342.6 MB, free: 6.977 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4096/0.4959, allocations: 113.3 MB / 455.9 MB, free: 6.973 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/0.4962, allocations: 87.5 kB / 456 MB, free: 6.926 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5491/1.045, allocations: 158.1 MB / 0.5997 GB, free: 64.46 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.923e-06/1.045, allocations: 3.562 kB / 0.5997 GB, free: 64.46 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002726/1.046, allocations: 100.5 kB / 0.5998 GB, free: 64.45 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.01149/1.057, allocations: 3.89 MB / 0.6036 GB, free: 62.89 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/1.057, allocations: 11.19 kB / 0.6036 GB, free: 62.89 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005614/1.063, allocations: 0.9091 MB / 0.6045 GB, free: 62.65 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008613/1.072, allocations: 3.798 MB / 0.6082 GB, free: 61.17 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001644/1.072, allocations: 129.1 kB / 0.6083 GB, free: 61.17 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009136/1.073, allocations: 244.1 kB / 0.6085 GB, free: 61.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007071/1.08, allocations: 3.766 MB / 0.6122 GB, free: 59.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008763/1.089, allocations: 4.42 MB / 0.6165 GB, free: 57.51 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.971e-05/1.089, allocations: 11.12 kB / 0.6166 GB, free: 57.51 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000332/1.089, allocations: 3.625 kB / 0.6166 GB, free: 57.51 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001416/1.089, allocations: 174.1 kB / 0.6167 GB, free: 57.49 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02686/1.116, allocations: 16.14 MB / 0.6325 GB, free: 47.36 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005859/1.122, allocations: 8.17 MB / 0.6405 GB, free: 38.5 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002502/1.124, allocations: 1.547 MB / 0.642 GB, free: 37.09 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007823/1.132, allocations: 4.708 MB / 0.6466 GB, free: 32.92 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/1.132, allocations: 51.86 kB / 0.6466 GB, free: 32.86 MB / 394.7 MB Notification: Performance of pre-optimization done (n=151): time 3.596e-06/1.132, allocations: 0 / 0.6466 GB, free: 32.86 MB / 394.7 MB Notification: Performance of matching and sorting (n=154): time 0.007992/1.14, allocations: 4.693 MB / 0.6512 GB, free: 28.06 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.676e-05/1.14, allocations: 76.59 kB / 0.6513 GB, free: 27.98 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002158/1.143, allocations: 1.64 MB / 0.6529 GB, free: 26.3 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000101/1.143, allocations: 33.7 kB / 0.6529 GB, free: 26.27 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008047/1.144, allocations: 1.85 MB / 0.6547 GB, free: 24.39 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003068/1.144, allocations: 0.5043 MB / 0.6552 GB, free: 23.88 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.25e-05/1.144, allocations: 0 / 0.6552 GB, free: 23.88 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001151/1.144, allocations: 382 kB / 0.6556 GB, free: 23.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008967/1.145, allocations: 0.707 MB / 0.6563 GB, free: 22.79 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001066/1.146, allocations: 1.381 MB / 0.6576 GB, free: 21.1 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0016/1.148, allocations: 1.126 MB / 0.6587 GB, free: 19.97 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.141e-05/1.148, allocations: 8 kB / 0.6587 GB, free: 19.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=266) (initialization): time 0.003642/1.151, allocations: 2.58 MB / 0.6612 GB, free: 17.35 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/1.151, allocations: 12 kB / 0.6613 GB, free: 17.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.197e-05/1.151, allocations: 24 kB / 0.6613 GB, free: 17.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002712/1.152, allocations: 125.7 kB / 0.6614 GB, free: 17.19 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00178/1.153, allocations: 0.5384 MB / 0.6619 GB, free: 16.65 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001127/1.155, allocations: 1.733 MB / 0.6636 GB, free: 14.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/1.156, allocations: 83.78 kB / 0.6637 GB, free: 14.72 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001291/1.156, allocations: 95.7 kB / 0.6638 GB, free: 14.63 MB / 394.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 (260): * Single equations (assignments): 258 * 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.000264/1.157, allocations: 168.2 kB / 0.6639 GB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002475/1.157, allocations: 229.2 kB / 0.6642 GB, free: 14.23 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003408/1.16, allocations: 2.239 MB / 0.6663 GB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/1.16, allocations: 16 kB / 0.6664 GB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/1.16, allocations: 4 kB / 0.6664 GB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/1.16, allocations: 7.969 kB / 0.6664 GB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007215/1.168, allocations: 5.024 MB / 0.6713 GB, free: 6.797 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/1.168, allocations: 3.984 kB / 0.6713 GB, free: 6.793 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/1.169, allocations: 283.6 kB / 0.6716 GB, free: 6.516 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007073/1.17, allocations: 308.1 kB / 0.6719 GB, free: 6.207 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.07e-05/1.17, allocations: 15.98 kB / 0.6719 GB, free: 6.191 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004471/1.174, allocations: 6.062 MB / 0.6778 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/1.174, allocations: 4 kB / 0.6778 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005708/1.18, allocations: 3.387 MB / 0.6811 GB, free: 12.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001327/1.181, allocations: 470.2 kB / 0.6815 GB, free: 11.78 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003688/1.182, allocations: 8 kB / 0.6816 GB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/1.183, allocations: 67.92 kB / 0.6816 GB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002981/1.183, allocations: 121.1 kB / 0.6817 GB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.813e-05/1.183, allocations: 43.98 kB / 0.6818 GB, free: 11.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002156/1.185, allocations: 1.211 MB / 0.683 GB, free: 10.31 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.2e-07/1.185, allocations: 0 / 0.683 GB, free: 10.31 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002597/1.188, allocations: 0.617 MB / 0.6836 GB, free: 9.699 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 (126): * Single equations (assignments): 123 * 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.0005829/1.189, allocations: 396.7 kB / 0.6839 GB, free: 9.348 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002958/1.191, allocations: 1.953 MB / 0.6858 GB, free: 7.363 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.192, allocations: 0 / 0.6858 GB, free: 7.363 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001944/1.193, allocations: 1.302 MB / 0.6871 GB, free: 6.035 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002288/1.196, allocations: 422.6 kB / 0.6875 GB, free: 5.625 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01012/1.206, allocations: 5.405 MB / 0.6928 GB, free: 196 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2/1.406, allocations: 2.72 MB / 0.6955 GB, free: 85.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001962/1.408, allocations: 0.5242 MB / 0.696 GB, free: 85 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004537/1.408, allocations: 144.1 kB / 0.6961 GB, free: 85 MB / 410.7 MB Notification: Performance of SimCode: time 1.232e-06/1.408, allocations: 0 / 0.6961 GB, free: 85 MB / 410.7 MB Notification: Performance of Templates: time 0.04664/1.455, allocations: 25.14 MB / 0.7207 GB, free: 83.86 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)