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.001068/0.001068, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001186/0.001186, allocations: 191 kB / 16.14 MB, free: 6.707 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.377/1.377, allocations: 205.1 MB / 222 MB, free: 4.766 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.001458/0.001458, allocations: 51.94 kB / 278.1 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2552, allocations: 46.62 MB / 324.7 MB, free: 1.941 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01843/0.2736, allocations: 16.26 MB / 341 MB, free: 3.836 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01224/0.2859, allocations: 4.631 MB / 345.6 MB, free: 15.19 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004815/0.2908, allocations: 107.7 kB / 345.7 MB, free: 15.09 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01641/0.3073, allocations: 6.787 MB / 352.5 MB, free: 8.273 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008696/0.3161, allocations: 1.704 MB / 354.2 MB, free: 6.562 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005091/0.3212, allocations: 1.539 MB / 355.7 MB, free: 5.02 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0139/0.3351, allocations: 9.489 MB / 365.2 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02741/0.3625, allocations: 17.63 MB / 382.8 MB, free: 9.723 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007762/0.3703, allocations: 4.663 MB / 387.5 MB, free: 5.047 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009996/0.3804, allocations: 5.719 MB / 393.2 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003519/0.3839, allocations: 1.004 MB / 394.2 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005043/0.389, allocations: 1.285 MB / 395.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002543/0.3916, allocations: 2.427 MB / 397.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008113/0.3997, allocations: 4.975 MB / 402.9 MB, free: 5.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01982/0.4195, allocations: 17.83 MB / 420.7 MB, free: 3.707 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.4196, allocations: 0 / 420.7 MB, free: 3.707 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4196, allocations: 0 / 420.7 MB, free: 3.707 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000518/0.4201, allocations: 0 / 420.7 MB, free: 3.707 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.03926/0.4594, allocations: 12.22 MB / 433 MB, free: 7.398 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.409e-05/0.4595, allocations: 8.031 kB / 433 MB, free: 7.391 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03558/0.4951, allocations: 6.186 MB / 439.2 MB, free: 1.188 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01359/0.5087, allocations: 5.16 MB / 444.3 MB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009246/0.5097, allocations: 0.6704 MB / 445 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004827/0.5145, allocations: 0.8749 MB / 445.9 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.451/0.9655, allocations: 14.74 MB / 460.6 MB, free: 94.74 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005395/0.9661, allocations: 10.53 kB / 460.6 MB, free: 94.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004424/0.9706, allocations: 378.9 kB / 461 MB, free: 94.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00152/0.9721, allocations: 495.9 kB / 461.5 MB, free: 94.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03436/1.007, allocations: 13.56 MB / 475 MB, free: 88.76 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08191/1.088, allocations: 44.61 MB / 0.5075 GB, free: 47.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01167/1.1, allocations: 11.71 MB / 0.5189 GB, free: 35.14 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00463/1.105, allocations: 3.23 MB / 0.5221 GB, free: 31.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005113/1.105, allocations: 180.1 kB / 0.5222 GB, free: 31.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.649e-05/1.106, allocations: 74.56 kB / 0.5223 GB, free: 31.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=421): time 1.003e-05/1.106, allocations: 4 kB / 0.5223 GB, free: 31.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=421): time 0.01992/1.125, allocations: 9.726 MB / 0.5318 GB, free: 21.88 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.994e-05/1.126, allocations: 121.1 kB / 0.5319 GB, free: 21.74 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005939/1.132, allocations: 3.156 MB / 0.535 GB, free: 18.56 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004901/1.132, allocations: 89.7 kB / 0.5351 GB, free: 18.47 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002108/1.134, allocations: 3.679 MB / 0.5387 GB, free: 14.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001533/1.136, allocations: 1.435 MB / 0.5401 GB, free: 13.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002626/1.138, allocations: 1.14 MB / 0.5412 GB, free: 12.19 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.783e-05/1.138, allocations: 305.1 kB / 0.5415 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004181/1.143, allocations: 2.908 MB / 0.5443 GB, free: 8.977 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005235/1.148, allocations: 4.984 MB / 0.5492 GB, free: 3.051 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01118/1.159, allocations: 8.412 MB / 0.5574 GB, free: 9.676 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.698e-05/1.159, allocations: 20 kB / 0.5574 GB, free: 9.656 MB / 398.1 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01685/1.176, allocations: 9.235 MB / 0.5664 GB, free: 376 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.498e-05/1.176, allocations: 36 kB / 0.5665 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001446/1.176, allocations: 64 kB / 0.5665 GB, free: 276 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003645/1.18, allocations: 1.118 MB / 0.5676 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004852/1.185, allocations: 1.299 MB / 0.5689 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01468/1.2, allocations: 9.915 MB / 0.5786 GB, free: 3.664 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005767/1.205, allocations: 0.7395 MB / 0.5793 GB, free: 2.918 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001416/1.207, allocations: 276 kB / 0.5796 GB, free: 2.648 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.008382/1.215, allocations: 3.431 MB / 0.5829 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001356/1.217, allocations: 347.8 kB / 0.5832 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01474/1.231, allocations: 7.047 MB / 0.5901 GB, free: 7.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01008/1.241, allocations: 5.878 MB / 0.5959 GB, free: 1.824 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.294e-05/1.241, allocations: 15.98 kB / 0.5959 GB, free: 1.809 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.225e-05/1.242, allocations: 23.92 kB / 0.5959 GB, free: 1.785 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03638/1.278, allocations: 15.54 MB / 0.6111 GB, free: 2.039 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.796e-05/1.278, allocations: 15.94 kB / 0.6111 GB, free: 2.023 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0031/1.281, allocations: 0.7958 MB / 0.6119 GB, free: 1.227 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003175/1.284, allocations: 1.027 MB / 0.6129 GB, free: 196 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005039/1.285, allocations: 111.9 kB / 0.613 GB, free: 84 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2624/1.547, allocations: 9.663 MB / 0.6224 GB, free: 142 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.332e-05/1.547, allocations: 26.03 kB / 0.6224 GB, free: 142 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01388/1.561, allocations: 10.92 MB / 0.6331 GB, free: 137.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001946/1.563, allocations: 1.018 MB / 0.6341 GB, free: 136.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004575/1.564, allocations: 94.66 kB / 0.6342 GB, free: 136.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001865/1.566, allocations: 272.7 kB / 0.6344 GB, free: 136.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006743/1.566, allocations: 351.3 kB / 0.6348 GB, free: 136.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002401/1.566, allocations: 139.7 kB / 0.6349 GB, free: 136.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002589/1.569, allocations: 2.125 MB / 0.637 GB, free: 135.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.569, allocations: 0 / 0.637 GB, free: 135.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006034/1.575, allocations: 2.225 MB / 0.6392 GB, free: 135.2 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.0006421/1.576, allocations: 307.8 kB / 0.6395 GB, free: 135 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01053/1.586, allocations: 7.57 MB / 0.6468 GB, free: 132.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.988e-06/1.586, allocations: 7.906 kB / 0.6469 GB, free: 132.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004912/1.591, allocations: 3.717 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.0043/1.596, allocations: 0.7672 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.0321/1.628, allocations: 19.96 MB / 0.6707 GB, free: 110.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009215/1.637, allocations: 5.932 MB / 0.6765 GB, free: 104.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.006871/1.644, allocations: 2.154 MB / 0.6786 GB, free: 102.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001687/1.646, allocations: 319.4 kB / 0.6789 GB, free: 102 MB / 446.1 MB Notification: Performance of SimCode: time 1.954e-06/1.646, allocations: 4 kB / 0.6789 GB, free: 102 MB / 446.1 MB Notification: Performance of Templates: time 0.09298/1.739, allocations: 59.53 MB / 0.7371 GB, free: 42.5 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)