Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001261/0.001261, allocations: 112.1 kB / 17.06 MB, free: 6 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.00112/0.00112, allocations: 200 kB / 18 MB, free: 5.078 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.399/1.399, allocations: 205.1 MB / 223.9 MB, free: 12.28 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.001306/0.001306, allocations: 51.91 kB / 327.9 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09036/0.09167, allocations: 46.62 MB / 374.5 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.2475/0.3393, allocations: 16.53 MB / 391 MB, free: 3.414 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01277/0.3521, allocations: 4.659 MB / 395.7 MB, free: 328 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004202/0.3563, allocations: 116.6 kB / 395.8 MB, free: 304 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01741/0.3738, allocations: 7.168 MB / 403 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008901/0.3827, allocations: 1.86 MB / 404.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004651/0.3874, allocations: 1.632 MB / 406.5 MB, free: 9.848 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0147/0.4021, allocations: 9.396 MB / 415.9 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03227/0.4344, allocations: 20.84 MB / 436.7 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009849/0.4443, allocations: 5.253 MB / 441.9 MB, free: 12.05 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01093/0.4553, allocations: 5.856 MB / 447.8 MB, free: 6.176 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004394/0.4597, allocations: 1.363 MB / 449.2 MB, free: 4.812 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006912/0.4666, allocations: 1.644 MB / 450.8 MB, free: 3.168 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004549/0.4712, allocations: 2.79 MB / 453.6 MB, free: 380 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01148/0.4827, allocations: 5.358 MB / 459 MB, free: 10.99 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02551/0.5083, allocations: 18.19 MB / 477.1 MB, free: 8.754 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.558e-06/0.5083, allocations: 4 kB / 477.2 MB, free: 8.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.806e-06/0.5083, allocations: 0 / 477.2 MB, free: 8.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005687/0.5089, allocations: 0 / 477.2 MB, free: 8.75 MB / 398.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.04416/0.5531, allocations: 12.13 MB / 489.3 MB, free: 12.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.724e-05/0.5532, allocations: 15.88 kB / 489.3 MB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03804/0.5912, allocations: 6.237 MB / 495.5 MB, free: 6.27 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01856/0.6098, allocations: 5.168 MB / 0.489 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006818/0.6106, allocations: 0.6704 MB / 0.4896 GB, free: 376 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004227/0.6148, allocations: 0.8827 MB / 0.4905 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04298/0.6578, allocations: 14.71 MB / 0.5048 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004559/0.6583, allocations: 7.891 kB / 0.5048 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003854/0.6621, allocations: 372 kB / 0.5052 GB, free: 360 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005883/0.6628, allocations: 499.3 kB / 0.5057 GB, free: 15.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03332/0.6961, allocations: 13.53 MB / 0.5189 GB, free: 2.305 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.602/1.298, allocations: 44.06 MB / 0.5619 GB, free: 120.8 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01499/1.313, allocations: 11.64 MB / 0.5733 GB, free: 114 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005211/1.318, allocations: 3.163 MB / 0.5764 GB, free: 114 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003983/1.319, allocations: 174.5 kB / 0.5765 GB, free: 113.9 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.093e-05/1.319, allocations: 84.34 kB / 0.5766 GB, free: 113.9 MB / 478.1 MB Notification: Performance of pre-optimization done (n=409): time 7.925e-06/1.319, allocations: 0 / 0.5766 GB, free: 113.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=409): time 0.02045/1.339, allocations: 9.591 MB / 0.586 GB, free: 112.4 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.901e-05/1.339, allocations: 123.9 kB / 0.5861 GB, free: 112.3 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004445/1.344, allocations: 3.156 MB / 0.5892 GB, free: 111.2 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002393/1.344, allocations: 88.83 kB / 0.5893 GB, free: 111.2 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002205/1.346, allocations: 3.699 MB / 0.5929 GB, free: 108.4 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009714/1.347, allocations: 1.39 MB / 0.5942 GB, free: 107.3 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001446/1.349, allocations: 1.125 MB / 0.5953 GB, free: 106.8 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.626e-05/1.349, allocations: 312.9 kB / 0.5956 GB, free: 106.5 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00338/1.352, allocations: 2.839 MB / 0.5984 GB, free: 105.5 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00446/1.357, allocations: 4.897 MB / 0.6032 GB, free: 101.8 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00793/1.365, allocations: 8.258 MB / 0.6113 GB, free: 96.47 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.137e-05/1.365, allocations: 18.56 kB / 0.6113 GB, free: 96.47 MB / 478.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01237/1.377, allocations: 9.103 MB / 0.6202 GB, free: 91.7 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.198e-05/1.377, allocations: 37.78 kB / 0.6202 GB, free: 91.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.843e-05/1.377, allocations: 65.53 kB / 0.6203 GB, free: 91.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002937/1.38, allocations: 1.158 MB / 0.6214 GB, free: 90.62 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004115/1.384, allocations: 1.287 MB / 0.6226 GB, free: 89.33 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01308/1.397, allocations: 10.81 MB / 0.6332 GB, free: 78.26 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004953/1.402, allocations: 0.7355 MB / 0.6339 GB, free: 77.52 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005199/1.403, allocations: 280 kB / 0.6342 GB, free: 77.25 MB / 478.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.005665/1.409, allocations: 3.432 MB / 0.6375 GB, free: 73.8 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006992/1.409, allocations: 343.7 kB / 0.6379 GB, free: 73.46 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009587/1.419, allocations: 6.905 MB / 0.6446 GB, free: 66.53 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007181/1.426, allocations: 5.737 MB / 0.6502 GB, free: 60.78 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.782e-05/1.426, allocations: 12 kB / 0.6502 GB, free: 60.77 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.583e-05/1.426, allocations: 23.86 kB / 0.6502 GB, free: 60.74 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03237/1.459, allocations: 15.22 MB / 0.6651 GB, free: 45.38 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.897e-05/1.459, allocations: 12.97 kB / 0.6651 GB, free: 45.36 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003169/1.462, allocations: 0.7991 MB / 0.6659 GB, free: 44.57 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003322/1.465, allocations: 1.063 MB / 0.6669 GB, free: 43.5 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007632/1.466, allocations: 108 kB / 0.667 GB, free: 43.39 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01323/1.479, allocations: 10.56 MB / 0.6774 GB, free: 32.57 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-05/1.479, allocations: 23.94 kB / 0.6774 GB, free: 32.54 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01796/1.497, allocations: 10.69 MB / 0.6878 GB, free: 21.62 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00337/1.501, allocations: 0.9875 MB / 0.6888 GB, free: 20.61 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001227/1.502, allocations: 95.98 kB / 0.6889 GB, free: 20.52 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003109/1.505, allocations: 271.7 kB / 0.6891 GB, free: 20.25 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009744/1.506, allocations: 343.2 kB / 0.6895 GB, free: 19.91 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005025/1.507, allocations: 140 kB / 0.6896 GB, free: 19.78 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004315/1.511, allocations: 2.125 MB / 0.6917 GB, free: 17.65 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.91e-07/1.511, allocations: 0 / 0.6917 GB, free: 17.65 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.008954/1.52, allocations: 2.228 MB / 0.6938 GB, free: 15.41 MB / 478.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.001261/1.521, allocations: 296.7 kB / 0.6941 GB, free: 15.13 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01326/1.535, allocations: 7.454 MB / 0.7014 GB, free: 7.656 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.661e-05/1.535, allocations: 0 / 0.7014 GB, free: 7.656 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006469/1.541, allocations: 3.657 MB / 0.705 GB, free: 3.984 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006592/1.548, allocations: 0.7973 MB / 0.7058 GB, free: 3.199 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03941/1.587, allocations: 15.95 MB / 0.7213 GB, free: 3.051 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01434/1.602, allocations: 5.93 MB / 0.7271 GB, free: 13.08 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.007819/1.609, allocations: 2.158 MB / 0.7292 GB, free: 10.91 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001941/1.611, allocations: 319.4 kB / 0.7295 GB, free: 10.6 MB / 0.4982 GB Notification: Performance of SimCode: time 2.164e-06/1.611, allocations: 0 / 0.7295 GB, free: 10.6 MB / 0.4982 GB Notification: Performance of Templates: time 0.3815/1.993, allocations: 58.58 MB / 0.7867 GB, free: 136.1 MB / 0.4982 GB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1)