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.004843/0.004843, allocations: 101.8 kB / 15.73 MB, free: 5.492 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.001052/0.001052, allocations: 186.8 kB / 16.67 MB, free: 5.422 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.41/1.41, allocations: 205.1 MB / 222.5 MB, free: 12.21 MB / 190.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.001469/0.00147, allocations: 55.92 kB / 326.6 MB, free: 3.266 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1114, allocations: 46.62 MB / 373.2 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.2335/0.3449, allocations: 16.58 MB / 389.8 MB, free: 3.84 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01207/0.357, allocations: 5.435 MB / 395.2 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004973/0.3621, allocations: 91.44 kB / 395.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005912/0.368, allocations: 1.254 MB / 396.5 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00818/0.3762, allocations: 1.596 MB / 398.1 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004261/0.3805, allocations: 1.07 MB / 399.2 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009776/0.3903, allocations: 5.107 MB / 404.3 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007109/0.3975, allocations: 3.841 MB / 408.2 MB, free: 9.148 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00442/0.4019, allocations: 2.168 MB / 410.3 MB, free: 7.973 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005403/0.4074, allocations: 2.598 MB / 412.9 MB, free: 6.207 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001696/0.4091, allocations: 0.6129 MB / 413.5 MB, free: 6.207 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003326/0.4124, allocations: 0.8305 MB / 414.4 MB, free: 6.098 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002134/0.4146, allocations: 1.424 MB / 415.8 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004872/0.4195, allocations: 2.635 MB / 418.4 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01006/0.4295, allocations: 8.069 MB / 426.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.4296, allocations: 4 kB / 426.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.4296, allocations: 0 / 426.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003365/0.43, allocations: 3.938 kB / 426.5 MB, free: 10.36 MB / 350.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.01645/0.4464, allocations: 5.378 MB / 431.9 MB, free: 4.906 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.4465, allocations: 8.031 kB / 431.9 MB, free: 4.898 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005544/0.4521, allocations: 0.9869 MB / 432.9 MB, free: 3.906 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007264/0.4593, allocations: 2.804 MB / 435.7 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002738/0.4597, allocations: 300.5 kB / 436 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001254/0.4609, allocations: 407.9 kB / 436.4 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01056/0.4715, allocations: 5.213 MB / 441.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.968e-05/0.4716, allocations: 7.844 kB / 441.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004289/0.4721, allocations: 168 kB / 441.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000159/0.4722, allocations: 168 kB / 441.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008283/0.4805, allocations: 4.443 MB / 446.4 MB, free: 6.25 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02987/0.5104, allocations: 16.59 MB / 463 MB, free: 5.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007895/0.5184, allocations: 8.412 MB / 471.4 MB, free: 11.73 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002946/0.5213, allocations: 1.686 MB / 473.1 MB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00836/0.5297, allocations: 4.946 MB / 478 MB, free: 4.902 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.96e-05/0.5298, allocations: 59.81 kB / 478.1 MB, free: 4.836 MB / 398.1 MB Notification: Performance of pre-optimization done (n=156): time 4.659e-06/0.5298, allocations: 0 / 478.1 MB, free: 4.836 MB / 398.1 MB Notification: Performance of matching and sorting (n=159): time 0.01196/0.5418, allocations: 6.119 MB / 484.2 MB, free: 14.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.5418, allocations: 64.72 kB / 484.2 MB, free: 14.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003691/0.5455, allocations: 2.29 MB / 486.5 MB, free: 12.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001079/0.5457, allocations: 53.7 kB / 486.6 MB, free: 12.1 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001303/0.547, allocations: 1.848 MB / 488.4 MB, free: 10.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004642/0.5474, allocations: 0.5508 MB / 489 MB, free: 9.668 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005845/0.548, allocations: 395.6 kB / 489.4 MB, free: 9.273 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.707e-05/0.5481, allocations: 301.1 kB / 489.7 MB, free: 8.977 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001493/0.5496, allocations: 0.8397 MB / 490.5 MB, free: 8.133 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002036/0.5517, allocations: 1.56 MB / 492.1 MB, free: 6.242 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003542/0.5552, allocations: 2.559 MB / 494.6 MB, free: 3.363 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.497e-05/0.5553, allocations: 4 kB / 494.6 MB, free: 3.359 MB / 414.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005186/0.5605, allocations: 2.872 MB / 497.5 MB, free: 464 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.567e-05/0.5605, allocations: 24.03 kB / 497.5 MB, free: 440 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-05/0.5606, allocations: 24 kB / 497.5 MB, free: 416 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003796/0.5609, allocations: 125.6 kB / 497.7 MB, free: 284 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002033/0.563, allocations: 0.5421 MB / 498.2 MB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001887/0.5649, allocations: 1.986 MB / 0.4885 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00188/0.5668, allocations: 115.9 kB / 0.4886 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001718/0.567, allocations: 96 kB / 0.4887 GB, free: 13.41 MB / 430.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.002159/0.5691, allocations: 1.192 MB / 0.4898 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006079/0.5697, allocations: 248.9 kB / 0.4901 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004764/0.5745, allocations: 2.433 MB / 0.4924 GB, free: 9.465 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.496e-05/0.5746, allocations: 16 kB / 0.4925 GB, free: 9.449 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.772e-05/0.5746, allocations: 8 kB / 0.4925 GB, free: 9.441 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.634e-05/0.5746, allocations: 7.969 kB / 0.4925 GB, free: 9.434 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01048/0.5851, allocations: 5.768 MB / 0.4981 GB, free: 3.531 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/0.5851, allocations: 7.938 kB / 0.4981 GB, free: 3.523 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001337/0.5865, allocations: 283.6 kB / 0.4984 GB, free: 3.246 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008592/0.5873, allocations: 317.7 kB / 0.4987 GB, free: 2.93 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000118/0.5875, allocations: 39.98 kB / 0.4987 GB, free: 2.891 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006817/0.5943, allocations: 6.962 MB / 0.5055 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.5943, allocations: 0 / 0.5055 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006029/0.6004, allocations: 3.552 MB / 0.509 GB, free: 7.863 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001313/0.6017, allocations: 0.5018 MB / 0.5095 GB, free: 7.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005277/0.6022, allocations: 32 kB / 0.5095 GB, free: 7.309 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001337/0.6036, allocations: 87.92 kB / 0.5096 GB, free: 7.223 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002826/0.6039, allocations: 113.1 kB / 0.5097 GB, free: 7.109 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/0.604, allocations: 47.98 kB / 0.5098 GB, free: 7.062 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002721/0.6067, allocations: 1.549 MB / 0.5113 GB, free: 5.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.513e-06/0.6067, allocations: 0 / 0.5113 GB, free: 5.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002521/0.6093, allocations: 0.6679 MB / 0.5119 GB, free: 4.832 MB / 446.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.000372/0.6096, allocations: 178.8 kB / 0.5121 GB, free: 4.648 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003847/0.6135, allocations: 2.274 MB / 0.5143 GB, free: 2.352 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.6135, allocations: 0 / 0.5143 GB, free: 2.352 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002301/0.6158, allocations: 1.445 MB / 0.5157 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003093/0.6189, allocations: 0.5978 MB / 0.5163 GB, free: 272 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01391/0.6329, allocations: 6.876 MB / 0.523 GB, free: 9.34 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003382/0.6363, allocations: 2.661 MB / 0.5256 GB, free: 6.656 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002178/0.6385, allocations: 0.5552 MB / 0.5262 GB, free: 6.098 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006399/0.6391, allocations: 163.4 kB / 0.5263 GB, free: 5.938 MB / 462.1 MB Notification: Performance of SimCode: time 7.91e-07/0.6392, allocations: 4 kB / 0.5263 GB, free: 5.934 MB / 462.1 MB Notification: Performance of Templates: time 0.2455/0.8846, allocations: 30.8 MB / 0.5564 GB, free: 150.1 MB / 478.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)