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.007004/0.007004, allocations: 100.6 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.001533/0.001533, allocations: 188.9 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.521/1.521, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.001234/0.001234, allocations: 49.7 kB / 326.6 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1046, allocations: 46.63 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.01895/0.1236, allocations: 16.58 MB / 389.8 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01411/0.1377, allocations: 5.437 MB / 395.2 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004599/0.1424, allocations: 91.62 kB / 395.3 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00494/0.1474, allocations: 1.246 MB / 396.5 MB, free: 9.844 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007502/0.1549, allocations: 1.607 MB / 398.1 MB, free: 8.227 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00405/0.159, allocations: 1.068 MB / 399.2 MB, free: 7.156 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008002/0.167, allocations: 5.11 MB / 404.3 MB, free: 2.027 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006135/0.1732, allocations: 3.842 MB / 408.2 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003843/0.177, allocations: 2.161 MB / 410.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004812/0.1819, allocations: 2.603 MB / 412.9 MB, free: 9.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002087/0.184, allocations: 0.6094 MB / 413.5 MB, free: 8.711 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003098/0.1871, allocations: 0.8357 MB / 414.4 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002414/0.1896, allocations: 1.414 MB / 415.8 MB, free: 6.457 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005742/0.1953, allocations: 2.637 MB / 418.4 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01594/0.2113, allocations: 8.105 MB / 426.5 MB, free: 11.68 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.127e-05/0.2113, allocations: 0 / 426.5 MB, free: 11.68 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.382e-06/0.2114, allocations: 4 kB / 426.5 MB, free: 11.67 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0005353/0.2119, allocations: 3.938 kB / 426.5 MB, free: 11.67 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.01989/0.2318, allocations: 5.486 MB / 432 MB, free: 6.098 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.2319, allocations: 12.03 kB / 432 MB, free: 6.086 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006376/0.2383, allocations: 1.013 MB / 433.1 MB, free: 5.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00752/0.2458, allocations: 2.818 MB / 435.9 MB, free: 2.199 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003973/0.2462, allocations: 308.2 kB / 436.2 MB, free: 1.895 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001732/0.248, allocations: 400 kB / 436.6 MB, free: 1.504 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01454/0.2625, allocations: 5.205 MB / 441.8 MB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001452/0.2627, allocations: 7.938 kB / 441.8 MB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001007/0.2637, allocations: 168 kB / 441.9 MB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000207/0.264, allocations: 168 kB / 442.1 MB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009906/0.2739, allocations: 4.451 MB / 446.6 MB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2787/0.5526, allocations: 16.61 MB / 463.2 MB, free: 59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00638/0.559, allocations: 8.421 MB / 471.6 MB, free: 51.51 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00296/0.562, allocations: 1.697 MB / 473.3 MB, free: 50.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009813/0.5719, allocations: 4.956 MB / 478.2 MB, free: 47.87 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.613e-05/0.572, allocations: 50.62 kB / 478.3 MB, free: 47.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=156): time 7.083e-06/0.572, allocations: 0 / 478.3 MB, free: 47.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=159): time 0.01307/0.5851, allocations: 6.167 MB / 484.5 MB, free: 44.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.5852, allocations: 73.59 kB / 484.5 MB, free: 44.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003055/0.5882, allocations: 2.293 MB / 486.8 MB, free: 42.89 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001136/0.5884, allocations: 51.95 kB / 486.9 MB, free: 42.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009454/0.5893, allocations: 1.899 MB / 488.8 MB, free: 41.42 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000356/0.5897, allocations: 0.5704 MB / 489.3 MB, free: 40.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004786/0.5902, allocations: 408 kB / 489.7 MB, free: 40.72 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.36e-05/0.5902, allocations: 301.1 kB / 490 MB, free: 40.42 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001156/0.5914, allocations: 0.8438 MB / 490.9 MB, free: 39.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001523/0.5929, allocations: 1.555 MB / 492.4 MB, free: 38.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002612/0.5956, allocations: 2.561 MB / 495 MB, free: 36.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.036e-05/0.5956, allocations: 7.438 kB / 495 MB, free: 36.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004057/0.5996, allocations: 2.889 MB / 497.9 MB, free: 35.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.5997, allocations: 14.88 kB / 497.9 MB, free: 35.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.229e-05/0.5997, allocations: 26.7 kB / 497.9 MB, free: 35.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000315/0.6, allocations: 128.4 kB / 498.1 MB, free: 35.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00174/0.6018, allocations: 0.537 MB / 498.6 MB, free: 34.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00122/0.603, allocations: 2.004 MB / 0.4889 GB, free: 32.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/0.6047, allocations: 103.9 kB / 0.489 GB, free: 32.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/0.6049, allocations: 104 kB / 0.4891 GB, free: 32.34 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.001768/0.6066, allocations: 1.192 MB / 0.4902 GB, free: 31.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003791/0.607, allocations: 253.2 kB / 0.4905 GB, free: 30.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0034/0.6104, allocations: 2.437 MB / 0.4928 GB, free: 28.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.6105, allocations: 16 kB / 0.4929 GB, free: 28.38 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.6105, allocations: 4 kB / 0.4929 GB, free: 28.38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.6105, allocations: 7.969 kB / 0.4929 GB, free: 28.37 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007444/0.6179, allocations: 5.782 MB / 0.4985 GB, free: 22.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.618, allocations: 4 kB / 0.4985 GB, free: 22.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/0.6191, allocations: 283.8 kB / 0.4988 GB, free: 22.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007275/0.6198, allocations: 318.2 kB / 0.4991 GB, free: 21.89 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.176e-05/0.6199, allocations: 39.98 kB / 0.4991 GB, free: 21.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00467/0.6246, allocations: 6.966 MB / 0.5059 GB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.6246, allocations: 0 / 0.5059 GB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004772/0.6294, allocations: 3.557 MB / 0.5094 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001081/0.6305, allocations: 0.4993 MB / 0.5099 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002855/0.6308, allocations: 39.92 kB / 0.5099 GB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/0.6319, allocations: 80.06 kB / 0.51 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002502/0.6321, allocations: 125.1 kB / 0.5101 GB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.465e-05/0.6322, allocations: 43.98 kB / 0.5102 GB, free: 10.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001879/0.6341, allocations: 1.551 MB / 0.5117 GB, free: 8.477 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6341, allocations: 3.938 kB / 0.5117 GB, free: 8.473 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002047/0.6361, allocations: 0.6679 MB / 0.5123 GB, free: 7.805 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.0003268/0.6365, allocations: 175.1 kB / 0.5125 GB, free: 7.629 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003012/0.6395, allocations: 2.273 MB / 0.5147 GB, free: 5.332 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.6395, allocations: 0 / 0.5147 GB, free: 5.332 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001743/0.6413, allocations: 1.447 MB / 0.5161 GB, free: 3.848 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002544/0.6438, allocations: 0.602 MB / 0.5167 GB, free: 3.246 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.011/0.6548, allocations: 6.984 MB / 0.5236 GB, free: 12.2 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002322/0.6572, allocations: 2.665 MB / 0.5262 GB, free: 9.512 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001906/0.6591, allocations: 0.5552 MB / 0.5267 GB, free: 8.953 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004696/0.6596, allocations: 163.4 kB / 0.5269 GB, free: 8.797 MB / 398.1 MB Notification: Performance of SimCode: time 1.132e-06/0.6596, allocations: 0 / 0.5269 GB, free: 8.797 MB / 398.1 MB Notification: Performance of Templates: time 0.05445/0.7141, allocations: 30.82 MB / 0.557 GB, free: 9.98 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)