Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.004863/0.004863, allocations: 101.5 kB / 15.73 MB, free: 6.008 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.001124/0.001125, allocations: 190.2 kB / 16.67 MB, free: 5.934 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.519/1.519, allocations: 205.1 MB / 222.5 MB, free: 4.363 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.001374/0.001374, allocations: 50.56 kB / 326.6 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1103, allocations: 46.62 MB / 373.2 MB, free: 1.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.0181/0.1284, allocations: 16.58 MB / 389.8 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01181/0.1402, allocations: 5.445 MB / 395.2 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003966/0.1443, allocations: 91.62 kB / 395.3 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004982/0.1493, allocations: 1.278 MB / 396.6 MB, free: 9.773 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008075/0.1574, allocations: 1.643 MB / 398.2 MB, free: 8.121 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004839/0.1623, allocations: 1.057 MB / 399.3 MB, free: 7.062 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009173/0.1715, allocations: 5.122 MB / 404.4 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006874/0.1784, allocations: 3.845 MB / 408.2 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003968/0.1824, allocations: 2.184 MB / 410.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004488/0.1869, allocations: 2.603 MB / 413 MB, free: 9.188 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002072/0.189, allocations: 0.6133 MB / 413.6 MB, free: 8.574 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002726/0.1917, allocations: 0.8279 MB / 414.5 MB, free: 7.746 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00205/0.1938, allocations: 1.422 MB / 415.9 MB, free: 6.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004739/0.1986, allocations: 2.633 MB / 418.5 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01106/0.2096, allocations: 8.081 MB / 426.6 MB, free: 11.57 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.2097, allocations: 0 / 426.6 MB, free: 11.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.2097, allocations: 0 / 426.6 MB, free: 11.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003327/0.21, allocations: 4 kB / 426.6 MB, free: 11.57 MB / 366.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.01829/0.2283, allocations: 5.37 MB / 432 MB, free: 6.117 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.2284, allocations: 12.03 kB / 432 MB, free: 6.105 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006454/0.2349, allocations: 0.9908 MB / 433 MB, free: 5.109 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01105/0.246, allocations: 2.8 MB / 435.8 MB, free: 2.254 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003942/0.2464, allocations: 308.2 kB / 436.1 MB, free: 1.949 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00188/0.2483, allocations: 392 kB / 436.5 MB, free: 1.566 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01516/0.2635, allocations: 5.209 MB / 441.7 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001735/0.2637, allocations: 7.906 kB / 441.7 MB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001072/0.2648, allocations: 167.9 kB / 441.9 MB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002132/0.265, allocations: 176 kB / 442 MB, free: 11.92 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01049/0.2755, allocations: 4.435 MB / 446.5 MB, free: 7.469 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3084/0.584, allocations: 16.58 MB / 463 MB, free: 59.19 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007192/0.5912, allocations: 8.422 MB / 471.5 MB, free: 51.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002992/0.5942, allocations: 1.695 MB / 473.2 MB, free: 51.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009165/0.6034, allocations: 4.95 MB / 478.1 MB, free: 48.15 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.6035, allocations: 52.05 kB / 478.2 MB, free: 48.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=156): time 3.817e-06/0.6035, allocations: 0 / 478.2 MB, free: 48.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=159): time 0.01203/0.6155, allocations: 6.104 MB / 484.3 MB, free: 44.37 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.6156, allocations: 68.47 kB / 484.3 MB, free: 44.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003587/0.6192, allocations: 2.291 MB / 486.6 MB, free: 43.06 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001053/0.6193, allocations: 53.39 kB / 486.7 MB, free: 43.01 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009186/0.6202, allocations: 1.851 MB / 488.5 MB, free: 41.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003263/0.6206, allocations: 0.5425 MB / 489.1 MB, free: 40.92 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006045/0.6212, allocations: 403.8 kB / 489.5 MB, free: 40.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.072e-05/0.6212, allocations: 301.1 kB / 489.8 MB, free: 40.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001335/0.6226, allocations: 0.8351 MB / 490.6 MB, free: 39.95 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0017/0.6243, allocations: 1.564 MB / 492.1 MB, free: 38.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002922/0.6272, allocations: 2.553 MB / 494.7 MB, free: 36.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.869e-05/0.6273, allocations: 7.438 kB / 494.7 MB, free: 36.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004298/0.6316, allocations: 2.883 MB / 497.6 MB, free: 35.06 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.215e-05/0.6316, allocations: 18.81 kB / 497.6 MB, free: 35.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.47e-05/0.6317, allocations: 22.5 kB / 497.6 MB, free: 35.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003351/0.632, allocations: 130 kB / 497.8 MB, free: 34.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001793/0.6338, allocations: 0.537 MB / 498.3 MB, free: 34.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001423/0.6352, allocations: 1.989 MB / 0.4886 GB, free: 32.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001753/0.637, allocations: 115.8 kB / 0.4887 GB, free: 32.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001559/0.6372, allocations: 96.08 kB / 0.4888 GB, free: 32.25 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.00192/0.6391, allocations: 1.2 MB / 0.4899 GB, free: 31.04 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005151/0.6396, allocations: 245 kB / 0.4902 GB, free: 30.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003647/0.6433, allocations: 2.439 MB / 0.4926 GB, free: 28.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/0.6433, allocations: 16 kB / 0.4926 GB, free: 28.29 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/0.6433, allocations: 4 kB / 0.4926 GB, free: 28.28 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/0.6433, allocations: 7.969 kB / 0.4926 GB, free: 28.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009054/0.6524, allocations: 5.762 MB / 0.4982 GB, free: 22.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.6524, allocations: 4 kB / 0.4982 GB, free: 22.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001129/0.6536, allocations: 287.8 kB / 0.4985 GB, free: 22.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007275/0.6543, allocations: 325.9 kB / 0.4988 GB, free: 21.8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000121/0.6544, allocations: 39.98 kB / 0.4988 GB, free: 21.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005211/0.6597, allocations: 6.953 MB / 0.5056 GB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.6597, allocations: 4.094 kB / 0.5056 GB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004857/0.6645, allocations: 3.547 MB / 0.5091 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/0.6656, allocations: 0.4941 MB / 0.5096 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005644/0.6662, allocations: 32 kB / 0.5096 GB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001322/0.6675, allocations: 83.92 kB / 0.5097 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003092/0.6679, allocations: 119.5 kB / 0.5098 GB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001262/0.668, allocations: 48.11 kB / 0.5098 GB, free: 9.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002941/0.671, allocations: 1.549 MB / 0.5114 GB, free: 8.418 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.222e-06/0.671, allocations: 0 / 0.5114 GB, free: 8.418 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002826/0.6738, allocations: 0.674 MB / 0.512 GB, free: 7.746 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.0004351/0.6742, allocations: 173.6 kB / 0.5122 GB, free: 7.574 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003599/0.6779, allocations: 2.275 MB / 0.5144 GB, free: 5.277 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.6779, allocations: 2.062 kB / 0.5144 GB, free: 5.277 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002041/0.6799, allocations: 1.436 MB / 0.5158 GB, free: 3.805 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003345/0.6833, allocations: 0.5993 MB / 0.5164 GB, free: 3.207 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01262/0.6959, allocations: 6.883 MB / 0.5231 GB, free: 12.28 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003288/0.6992, allocations: 2.657 MB / 0.5257 GB, free: 9.602 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002092/0.7014, allocations: 0.5552 MB / 0.5262 GB, free: 9.043 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006371/0.702, allocations: 163.4 kB / 0.5264 GB, free: 8.887 MB / 398.1 MB Notification: Performance of SimCode: time 1.362e-06/0.702, allocations: 0 / 0.5264 GB, free: 8.887 MB / 398.1 MB Notification: Performance of Templates: time 0.05953/0.7616, allocations: 30.83 MB / 0.5565 GB, free: 10.07 MB / 430.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.sim & ./Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe 2>&1)