Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001097/0.001097, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001217/0.001217, allocations: 195.2 kB / 16.14 MB, free: 6.66 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.461/1.461, allocations: 205.1 MB / 222 MB, free: 4.738 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.001179/0.001179, allocations: 47.94 kB / 278.1 MB, free: 12.73 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2721, allocations: 46.63 MB / 324.7 MB, free: 1.953 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01702/0.2891, allocations: 16.24 MB / 340.9 MB, free: 3.844 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009961/0.2991, allocations: 4.639 MB / 345.6 MB, free: 15.19 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004052/0.3032, allocations: 107.7 kB / 345.7 MB, free: 15.09 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01405/0.3174, allocations: 6.799 MB / 352.5 MB, free: 8.262 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006685/0.3241, allocations: 1.7 MB / 354.2 MB, free: 6.555 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004262/0.3283, allocations: 1.539 MB / 355.7 MB, free: 5.012 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0118/0.3401, allocations: 9.493 MB / 365.2 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03121/0.3714, allocations: 17.62 MB / 382.8 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009868/0.3813, allocations: 4.659 MB / 387.5 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01004/0.3914, allocations: 5.723 MB / 393.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004181/0.3956, allocations: 1.004 MB / 394.2 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005769/0.4014, allocations: 1.289 MB / 395.5 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00414/0.4056, allocations: 2.415 MB / 397.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009733/0.4154, allocations: 4.987 MB / 402.9 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02238/0.4378, allocations: 17.83 MB / 420.7 MB, free: 3.699 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.4378, allocations: 0 / 420.7 MB, free: 3.699 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.4378, allocations: 4 kB / 420.7 MB, free: 3.695 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000618/0.4384, allocations: 0 / 420.7 MB, free: 3.695 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: 2497 * Number of variables: 2497 Notification: Performance of Generate backend data structure: time 0.04003/0.4785, allocations: 12.22 MB / 433 MB, free: 7.391 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.924e-05/0.4786, allocations: 16.03 kB / 433 MB, free: 7.375 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03609/0.5147, allocations: 6.178 MB / 439.2 MB, free: 1.18 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01541/0.5301, allocations: 5.164 MB / 444.3 MB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009982/0.5311, allocations: 0.6704 MB / 445 MB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004442/0.5356, allocations: 0.8788 MB / 445.9 MB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4241/0.9597, allocations: 14.74 MB / 460.6 MB, free: 94.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004768/0.9602, allocations: 6.469 kB / 460.6 MB, free: 94.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003206/0.9635, allocations: 374.9 kB / 461 MB, free: 94.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000826/0.9643, allocations: 0.4917 MB / 461.5 MB, free: 94.4 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02925/0.9936, allocations: 13.56 MB / 475 MB, free: 88.78 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07537/1.069, allocations: 44.6 MB / 0.5075 GB, free: 47.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01142/1.08, allocations: 11.71 MB / 0.5189 GB, free: 35.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004342/1.085, allocations: 3.229 MB / 0.522 GB, free: 31.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004542/1.085, allocations: 180.2 kB / 0.5222 GB, free: 31.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.712e-05/1.085, allocations: 82.5 kB / 0.5223 GB, free: 31.62 MB / 382.1 MB Notification: Performance of pre-optimization done (n=421): time 7.634e-06/1.085, allocations: 0 / 0.5223 GB, free: 31.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=421): time 0.01874/1.104, allocations: 9.719 MB / 0.5318 GB, free: 21.86 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/1.104, allocations: 125.1 kB / 0.5319 GB, free: 21.72 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00589/1.11, allocations: 3.152 MB / 0.535 GB, free: 18.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004772/1.111, allocations: 93.7 kB / 0.5351 GB, free: 18.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001862/1.113, allocations: 3.675 MB / 0.5387 GB, free: 14.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001629/1.114, allocations: 1.439 MB / 0.5401 GB, free: 13.33 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002479/1.117, allocations: 1.136 MB / 0.5412 GB, free: 12.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.837e-05/1.117, allocations: 309.1 kB / 0.5415 GB, free: 11.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003937/1.121, allocations: 2.92 MB / 0.5443 GB, free: 8.949 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004954/1.126, allocations: 4.976 MB / 0.5492 GB, free: 3.031 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.012/1.138, allocations: 8.4 MB / 0.5574 GB, free: 9.672 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.232e-05/1.138, allocations: 24 kB / 0.5574 GB, free: 9.648 MB / 398.1 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.0198/1.158, allocations: 9.235 MB / 0.5664 GB, free: 368 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.801e-05/1.158, allocations: 32 kB / 0.5665 GB, free: 336 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001672/1.158, allocations: 68 kB / 0.5665 GB, free: 268 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003395/1.161, allocations: 1.122 MB / 0.5676 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004946/1.166, allocations: 1.291 MB / 0.5689 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0144/1.181, allocations: 9.931 MB / 0.5786 GB, free: 3.645 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004764/1.185, allocations: 0.7395 MB / 0.5793 GB, free: 2.898 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001187/1.187, allocations: 276 kB / 0.5796 GB, free: 2.629 MB / 414.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 (681): * Single equations (assignments): 671 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.007764/1.194, allocations: 3.428 MB / 0.5829 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001289/1.196, allocations: 355.6 kB / 0.5832 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01556/1.211, allocations: 7.039 MB / 0.5901 GB, free: 7.734 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01054/1.222, allocations: 5.878 MB / 0.5959 GB, free: 1.809 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.437e-05/1.222, allocations: 12 kB / 0.5959 GB, free: 1.797 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.809e-05/1.222, allocations: 23.91 kB / 0.5959 GB, free: 1.773 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03447/1.257, allocations: 15.54 MB / 0.6111 GB, free: 2.012 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.377e-05/1.257, allocations: 16.94 kB / 0.6111 GB, free: 1.996 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003495/1.26, allocations: 0.7879 MB / 0.6119 GB, free: 1.207 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003325/1.263, allocations: 1.027 MB / 0.6129 GB, free: 176 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009041/1.264, allocations: 115.9 kB / 0.613 GB, free: 60 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2401/1.505, allocations: 9.663 MB / 0.6224 GB, free: 142.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.811e-05/1.505, allocations: 21.25 kB / 0.6224 GB, free: 142.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01589/1.521, allocations: 10.93 MB / 0.6331 GB, free: 137.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002206/1.523, allocations: 1.007 MB / 0.6341 GB, free: 137 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005392/1.523, allocations: 96.59 kB / 0.6342 GB, free: 136.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001973/1.525, allocations: 278.5 kB / 0.6344 GB, free: 136.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007453/1.526, allocations: 346.3 kB / 0.6348 GB, free: 136.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002515/1.526, allocations: 142.2 kB / 0.6349 GB, free: 136.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002763/1.529, allocations: 2.12 MB / 0.637 GB, free: 136 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.529, allocations: 0 / 0.637 GB, free: 136 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006424/1.536, allocations: 2.229 MB / 0.6392 GB, free: 135.3 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 (421): * Single equations (assignments): 411 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 Backend phase and start with SimCode phase: time 0.0006332/1.536, allocations: 299.7 kB / 0.6394 GB, free: 135.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01127/1.547, allocations: 7.58 MB / 0.6468 GB, free: 132.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.056e-05/1.548, allocations: 3.844 kB / 0.6468 GB, free: 132.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005269/1.553, allocations: 3.725 MB / 0.6505 GB, free: 129.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003956/1.557, allocations: 0.7641 MB / 0.6512 GB, free: 128.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0249/1.582, allocations: 19.97 MB / 0.6707 GB, free: 110.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005734/1.587, allocations: 5.934 MB / 0.6765 GB, free: 104.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005352/1.593, allocations: 2.154 MB / 0.6786 GB, free: 102.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000972/1.594, allocations: 319.4 kB / 0.6789 GB, free: 102 MB / 446.1 MB Notification: Performance of SimCode: time 1.413e-06/1.594, allocations: 4 kB / 0.6789 GB, free: 102 MB / 446.1 MB Notification: Performance of Templates: time 0.09036/1.684, allocations: 59.53 MB / 0.7371 GB, free: 42.48 MB / 446.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1)