Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.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.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.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.001152/0.001152, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 195.8 kB / 16.53 MB, free: 6.391 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.419/1.419, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.001396/0.001397, allocations: 47.94 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2508, allocations: 46.64 MB / 325.3 MB, free: 1.84 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.0176/0.2684, allocations: 16.53 MB / 341.9 MB, free: 3.301 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01175/0.2802, allocations: 4.654 MB / 346.5 MB, free: 14.63 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003674/0.284, allocations: 111.7 kB / 346.6 MB, free: 14.52 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01554/0.2996, allocations: 7.157 MB / 353.8 MB, free: 7.336 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007876/0.3074, allocations: 1.877 MB / 355.7 MB, free: 5.449 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005083/0.3125, allocations: 1.621 MB / 357.3 MB, free: 3.824 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01207/0.3246, allocations: 9.33 MB / 366.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03387/0.3585, allocations: 20.92 MB / 387.5 MB, free: 5.391 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008837/0.3674, allocations: 5.226 MB / 392.8 MB, free: 156 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009982/0.3774, allocations: 5.907 MB / 398.7 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004669/0.3821, allocations: 1.359 MB / 400 MB, free: 8.867 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007172/0.3893, allocations: 1.64 MB / 401.7 MB, free: 7.227 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005336/0.3947, allocations: 2.79 MB / 404.5 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01077/0.4055, allocations: 5.362 MB / 409.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02144/0.427, allocations: 18.08 MB / 427.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.427, allocations: 0 / 427.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.427, allocations: 0 / 427.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0006475/0.4277, allocations: 0 / 427.9 MB, free: 12.91 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: 2497 * Number of variables: 2497 Notification: Performance of Generate backend data structure: time 0.0379/0.4656, allocations: 12.19 MB / 440.1 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.4657, allocations: 15.83 kB / 440.1 MB, free: 0.625 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03577/0.5014, allocations: 6.182 MB / 446.3 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0125/0.514, allocations: 5.164 MB / 451.5 MB, free: 5.199 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007851/0.5148, allocations: 0.6743 MB / 452.1 MB, free: 4.523 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004112/0.5189, allocations: 0.8788 MB / 453 MB, free: 3.645 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2267/0.7456, allocations: 14.71 MB / 467.7 MB, free: 96.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002825/0.746, allocations: 9.938 kB / 467.7 MB, free: 96.97 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002124/0.7481, allocations: 375.9 kB / 468.1 MB, free: 96.69 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005794/0.7487, allocations: 493.1 kB / 468.6 MB, free: 96.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02245/0.7712, allocations: 13.52 MB / 482.1 MB, free: 88.54 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06226/0.8335, allocations: 44.61 MB / 0.5144 GB, free: 43.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01517/0.8487, allocations: 11.63 MB / 0.5257 GB, free: 30.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006539/0.8553, allocations: 3.147 MB / 0.5288 GB, free: 27.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006387/0.8559, allocations: 179.5 kB / 0.529 GB, free: 27.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001239/0.8561, allocations: 86.5 kB / 0.529 GB, free: 27.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=409): time 1.908e-05/0.8561, allocations: 3.984 kB / 0.529 GB, free: 27.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=409): time 0.03056/0.8867, allocations: 9.592 MB / 0.5384 GB, free: 17.61 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.111e-05/0.8868, allocations: 121.1 kB / 0.5385 GB, free: 17.47 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007361/0.8942, allocations: 3.16 MB / 0.5416 GB, free: 14.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009309/0.8951, allocations: 89.7 kB / 0.5417 GB, free: 14.2 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002623/0.8978, allocations: 3.694 MB / 0.5453 GB, free: 10.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002569/0.9004, allocations: 1.396 MB / 0.5467 GB, free: 9.098 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004795/0.9052, allocations: 1.124 MB / 0.5478 GB, free: 7.961 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.093e-05/0.9053, allocations: 305.1 kB / 0.5481 GB, free: 7.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005934/0.9113, allocations: 2.838 MB / 0.5508 GB, free: 4.816 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005974/0.9173, allocations: 4.901 MB / 0.5556 GB, free: 14.97 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01076/0.9281, allocations: 8.255 MB / 0.5637 GB, free: 5.781 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.236e-05/0.9282, allocations: 20 kB / 0.5637 GB, free: 5.762 MB / 398.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.02099/0.9492, allocations: 9.097 MB / 0.5726 GB, free: 12.65 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001097/0.9493, allocations: 39.94 kB / 0.5726 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001742/0.9495, allocations: 64 kB / 0.5727 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004048/0.9536, allocations: 1.157 MB / 0.5738 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005456/0.959, allocations: 1.295 MB / 0.5751 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01703/0.9761, allocations: 10.83 MB / 0.5856 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005989/0.9822, allocations: 0.7317 MB / 0.5864 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001501/0.9837, allocations: 280 kB / 0.5866 GB, free: 13.97 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 303 * 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 (675): * Single equations (assignments): 671 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,24,100.0%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008634/0.9923, allocations: 3.423 MB / 0.59 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001544/0.9939, allocations: 343.7 kB / 0.5903 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01525/1.009, allocations: 6.928 MB / 0.5971 GB, free: 3.242 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01155/1.021, allocations: 5.742 MB / 0.6027 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-05/1.021, allocations: 12 kB / 0.6027 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-05/1.021, allocations: 19.92 kB / 0.6027 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2797/1.301, allocations: 15.32 MB / 0.6177 GB, free: 144.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-05/1.301, allocations: 16.31 kB / 0.6177 GB, free: 144.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003293/1.304, allocations: 0.7944 MB / 0.6185 GB, free: 144.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003169/1.307, allocations: 1.068 MB / 0.6195 GB, free: 144.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000664/1.308, allocations: 105.3 kB / 0.6196 GB, free: 144.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01283/1.321, allocations: 10.56 MB / 0.6299 GB, free: 140.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.588e-06/1.321, allocations: 15.72 kB / 0.6299 GB, free: 140.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01444/1.335, allocations: 10.68 MB / 0.6404 GB, free: 135.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002084/1.337, allocations: 0.9938 MB / 0.6413 GB, free: 135.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005537/1.338, allocations: 94.55 kB / 0.6414 GB, free: 135.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00209/1.34, allocations: 283.4 kB / 0.6417 GB, free: 135 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006859/1.341, allocations: 336 kB / 0.642 GB, free: 135 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002269/1.341, allocations: 140 kB / 0.6421 GB, free: 134.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002739/1.344, allocations: 2.129 MB / 0.6442 GB, free: 134.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/1.344, allocations: 0 / 0.6442 GB, free: 134.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006013/1.35, allocations: 2.229 MB / 0.6464 GB, free: 133.5 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * Number of states: 2 (sineVoltage_m.plug_p.reference.gamma,sineVoltage_e.plug_p.reference.gamma) * 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 (415): * Single equations (assignments): 411 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,24,91.7%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006821/1.35, allocations: 307.2 kB / 0.6467 GB, free: 133.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01914/1.37, allocations: 11.27 MB / 0.6577 GB, free: 126.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.026e-05/1.37, allocations: 2.531 kB / 0.6577 GB, free: 126.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006392/1.376, allocations: 3.657 MB / 0.6613 GB, free: 123 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004981/1.381, allocations: 0.7984 MB / 0.6621 GB, free: 122.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02497/1.406, allocations: 16.14 MB / 0.6778 GB, free: 107.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00577/1.412, allocations: 5.938 MB / 0.6836 GB, free: 101.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00537/1.417, allocations: 2.156 MB / 0.6857 GB, free: 99.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001006/1.418, allocations: 319.4 kB / 0.686 GB, free: 99.12 MB / 446.1 MB Notification: Performance of SimCode: time 1.503e-06/1.418, allocations: 0 / 0.686 GB, free: 99.12 MB / 446.1 MB Notification: Performance of Templates: time 0.09574/1.514, allocations: 60.62 MB / 0.7452 GB, free: 38.51 MB / 446.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1)