Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.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.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006578/0.006579, allocations: 99.97 kB / 15.73 MB, free: 6.004 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.001323/0.001323, allocations: 190.3 kB / 16.67 MB, free: 5.922 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.46/1.46, allocations: 205.1 MB / 222.6 MB, free: 4.508 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.001216/0.001216, allocations: 49.91 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08683/0.08805, allocations: 46.63 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.007648/0.09574, allocations: 7.191 MB / 380.4 MB, free: 10.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004097/0.09987, allocations: 2.243 MB / 382.6 MB, free: 7.832 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006615/0.1006, allocations: 47.81 kB / 382.6 MB, free: 7.785 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009017/0.1015, allocations: 448.9 kB / 383.1 MB, free: 7.344 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00214/0.1037, allocations: 0.8664 MB / 384 MB, free: 6.473 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008058/0.1045, allocations: 376.4 kB / 384.3 MB, free: 6.105 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003464/0.1079, allocations: 3.145 MB / 387.5 MB, free: 2.949 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002847/0.1108, allocations: 2.851 MB / 390.3 MB, free: 36 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001798/0.1126, allocations: 1.421 MB / 391.7 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002176/0.1148, allocations: 1.677 MB / 393.4 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005313/0.1154, allocations: 356 kB / 393.8 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001001/0.1164, allocations: 487.8 kB / 394.2 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007485/0.1171, allocations: 0.9037 MB / 395.1 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00175/0.1189, allocations: 1.61 MB / 396.8 MB, free: 9.578 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005113/0.124, allocations: 4.663 MB / 401.4 MB, free: 4.898 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.124, allocations: 0 / 401.4 MB, free: 4.898 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1241, allocations: 0 / 401.4 MB, free: 4.898 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.528e-05/0.1241, allocations: 0 / 401.4 MB, free: 4.898 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.007885/0.132, allocations: 3.695 MB / 405.1 MB, free: 1.137 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.1321, allocations: 12.03 kB / 405.1 MB, free: 1.125 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003463/0.1355, allocations: 0.7016 MB / 405.8 MB, free: 432 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002604/0.1382, allocations: 1.703 MB / 407.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/0.1383, allocations: 193.7 kB / 407.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003545/0.1387, allocations: 272.1 kB / 408 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00553/0.1442, allocations: 3.614 MB / 411.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.948e-05/0.1443, allocations: 0 / 411.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002368/0.1445, allocations: 108 kB / 411.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.223e-05/0.1446, allocations: 105.4 kB / 411.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004718/0.1493, allocations: 3.085 MB / 414.9 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01468/0.164, allocations: 10.39 MB / 425.3 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004764/0.1688, allocations: 4.673 MB / 430 MB, free: 7.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00131/0.1702, allocations: 0.9599 MB / 430.9 MB, free: 6.195 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003464/0.1736, allocations: 2.456 MB / 433.4 MB, free: 3.652 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.1737, allocations: 43.44 kB / 433.4 MB, free: 3.602 MB / 366.1 MB Notification: Performance of pre-optimization done (n=104): time 2.575e-06/0.1737, allocations: 4 kB / 433.4 MB, free: 3.598 MB / 366.1 MB Notification: Performance of matching and sorting (n=104): time 0.006026/0.1797, allocations: 2.704 MB / 436.1 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.1798, allocations: 85.98 kB / 436.2 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001693/0.1815, allocations: 1.382 MB / 437.6 MB, free: 15.35 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.515e-05/0.1816, allocations: 45.7 kB / 437.6 MB, free: 15.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006949/0.1823, allocations: 1.195 MB / 438.8 MB, free: 14.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002472/0.1825, allocations: 380.8 kB / 439.2 MB, free: 13.71 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003345/0.1829, allocations: 222.9 kB / 439.4 MB, free: 13.49 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.183, allocations: 353.9 kB / 439.8 MB, free: 13.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008697/0.1839, allocations: 0.5764 MB / 440.3 MB, free: 12.56 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/0.1849, allocations: 0.8569 MB / 441.2 MB, free: 11.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00194/0.1869, allocations: 1.488 MB / 442.7 MB, free: 9.988 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.1869, allocations: 4 kB / 442.7 MB, free: 9.984 MB / 382.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003103/0.19, allocations: 2 MB / 444.7 MB, free: 7.973 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.19, allocations: 8 kB / 444.7 MB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.1901, allocations: 11.98 kB / 444.7 MB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009529/0.191, allocations: 409.2 kB / 445.1 MB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008124/0.1918, allocations: 219.7 kB / 445.3 MB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007346/0.1992, allocations: 6.656 MB / 452 MB, free: 408 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/0.2003, allocations: 143.1 kB / 452.1 MB, free: 264 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.835e-05/0.2004, allocations: 51.98 kB / 452.2 MB, free: 212 kB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,19,100.0%), (2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.1937/0.3941, allocations: 0.8618 MB / 453 MB, free: 68.88 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005103/0.3946, allocations: 143.6 kB / 453.2 MB, free: 68.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003657/0.3983, allocations: 1.669 MB / 454.8 MB, free: 68.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/0.3983, allocations: 10.41 kB / 454.9 MB, free: 68.79 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/0.3983, allocations: 11.44 kB / 454.9 MB, free: 68.79 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.594e-05/0.3984, allocations: 4.922 kB / 454.9 MB, free: 68.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006888/0.4053, allocations: 3.988 MB / 458.9 MB, free: 67.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/0.4053, allocations: 5.438 kB / 458.9 MB, free: 67.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000606/0.4059, allocations: 135.4 kB / 459 MB, free: 67.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001054/0.407, allocations: 399.7 kB / 459.4 MB, free: 67.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.988e-05/0.4071, allocations: 35.56 kB / 459.4 MB, free: 67.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006619/0.4137, allocations: 6.638 MB / 466.1 MB, free: 63.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.4137, allocations: 6.656 kB / 466.1 MB, free: 63.08 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003642/0.4174, allocations: 2.51 MB / 468.6 MB, free: 62.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004093/0.4178, allocations: 247.8 kB / 468.8 MB, free: 61.85 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001701/0.418, allocations: 38.7 kB / 468.9 MB, free: 61.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007895/0.4188, allocations: 91.44 kB / 468.9 MB, free: 61.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002324/0.419, allocations: 95.83 kB / 469 MB, free: 61.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.855e-05/0.4191, allocations: 33.69 kB / 469.1 MB, free: 61.79 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001248/0.4204, allocations: 0.9626 MB / 470 MB, free: 61.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4204, allocations: 2.422 kB / 470 MB, free: 61.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001844/0.4222, allocations: 0.6827 MB / 470.7 MB, free: 61.3 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (converter_e.singlePhaseElectroMagneticConverter[3].Phi.re,converter_e.singlePhaseElectroMagneticConverter[3].Phi.im,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,21,100.0%), (2,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002725/0.4225, allocations: 163.3 kB / 470.9 MB, free: 61.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002629/0.4251, allocations: 1.817 MB / 472.7 MB, free: 60.42 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.4252, allocations: 0 / 472.7 MB, free: 60.42 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001548/0.4267, allocations: 1.152 MB / 473.8 MB, free: 59.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001396/0.4281, allocations: 302.4 kB / 474.1 MB, free: 59.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005925/0.4341, allocations: 4.653 MB / 478.8 MB, free: 57.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001295/0.4354, allocations: 2.18 MB / 481 MB, free: 55.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008356/0.4362, allocations: 346.6 kB / 481.3 MB, free: 54.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002086/0.4364, allocations: 87.42 kB / 481.4 MB, free: 54.79 MB / 382.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4365, allocations: 3.938 kB / 481.4 MB, free: 54.79 MB / 382.1 MB Notification: Performance of Templates: time 0.02854/0.465, allocations: 21.08 MB / 0.4907 GB, free: 33.7 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1)