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.001407/0.001407, allocations: 105.6 kB / 16.5 MB, free: 6.645 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.001524/0.001524, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.422/1.422, allocations: 205.1 MB / 223.3 MB, free: 12.46 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.001153/0.001153, allocations: 47.92 kB / 279.3 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1272, allocations: 46.62 MB / 326 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01759/0.1448, allocations: 16.26 MB / 342.2 MB, free: 4.547 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0121/0.157, allocations: 4.639 MB / 346.9 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003388/0.1604, allocations: 103.7 kB / 347 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01428/0.1748, allocations: 6.795 MB / 353.8 MB, free: 8.973 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007283/0.1821, allocations: 1.696 MB / 355.5 MB, free: 7.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004199/0.1863, allocations: 1.535 MB / 357 MB, free: 5.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01232/0.1986, allocations: 9.5 MB / 366.5 MB, free: 12.19 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2724/0.471, allocations: 17.62 MB / 384.1 MB, free: 15.42 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008926/0.48, allocations: 4.663 MB / 388.8 MB, free: 15.03 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01366/0.4937, allocations: 5.719 MB / 394.5 MB, free: 14.13 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005037/0.4988, allocations: 1.008 MB / 395.5 MB, free: 14.13 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005545/0.5043, allocations: 1.284 MB / 396.8 MB, free: 14.13 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002959/0.5073, allocations: 2.429 MB / 399.2 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007517/0.5148, allocations: 4.972 MB / 404.2 MB, free: 12.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0143/0.5291, allocations: 17.83 MB / 422 MB, free: 1.129 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.786e-06/0.5292, allocations: 4 kB / 422 MB, free: 1.125 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.078e-06/0.5292, allocations: 0 / 422 MB, free: 1.125 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0005599/0.5298, allocations: 0 / 422 MB, free: 1.125 MB / 318.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.03948/0.5693, allocations: 12.22 MB / 434.2 MB, free: 5.391 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.234e-05/0.5694, allocations: 8.031 kB / 434.3 MB, free: 5.383 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03425/0.6036, allocations: 6.193 MB / 440.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01333/0.617, allocations: 5.148 MB / 445.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007387/0.6178, allocations: 0.6722 MB / 446.3 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004548/0.6223, allocations: 0.8782 MB / 447.1 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04352/0.6659, allocations: 14.75 MB / 461.9 MB, free: 10 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003378/0.6663, allocations: 7.906 kB / 461.9 MB, free: 9.996 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002505/0.6688, allocations: 377.8 kB / 462.3 MB, free: 9.637 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005531/0.6694, allocations: 0.4912 MB / 462.8 MB, free: 9.145 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02707/0.6964, allocations: 13.55 MB / 476.3 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0769/0.7734, allocations: 44.61 MB / 0.5087 GB, free: 14.64 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01252/0.786, allocations: 11.72 MB / 0.5202 GB, free: 1.832 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004549/0.7906, allocations: 3.229 MB / 0.5233 GB, free: 14.6 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003496/0.7909, allocations: 177.5 kB / 0.5235 GB, free: 14.42 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.904e-05/0.791, allocations: 78.55 kB / 0.5236 GB, free: 14.33 MB / 446.1 MB Notification: Performance of pre-optimization done (n=421): time 6.211e-06/0.791, allocations: 4 kB / 0.5236 GB, free: 14.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=421): time 0.01924/0.8103, allocations: 9.722 MB / 0.533 GB, free: 4.605 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.978e-05/0.8104, allocations: 121.1 kB / 0.5332 GB, free: 4.469 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005012/0.8154, allocations: 3.148 MB / 0.5362 GB, free: 1.301 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006139/0.816, allocations: 93.7 kB / 0.5363 GB, free: 1.203 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2347/1.051, allocations: 3.676 MB / 0.5399 GB, free: 146.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002152/1.053, allocations: 1.426 MB / 0.5413 GB, free: 145.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0024/1.055, allocations: 1.138 MB / 0.5424 GB, free: 145.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.825e-05/1.055, allocations: 311.5 kB / 0.5427 GB, free: 145.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004853/1.06, allocations: 2.91 MB / 0.5456 GB, free: 145.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00587/1.066, allocations: 4.977 MB / 0.5504 GB, free: 141.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009997/1.076, allocations: 8.407 MB / 0.5586 GB, free: 136.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.041e-05/1.076, allocations: 19.81 kB / 0.5587 GB, free: 136.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01345/1.09, allocations: 9.238 MB / 0.5677 GB, free: 132.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.77e-05/1.09, allocations: 35.5 kB / 0.5677 GB, free: 132.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.058e-05/1.09, allocations: 67.03 kB / 0.5678 GB, free: 132.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002708/1.093, allocations: 1.118 MB / 0.5689 GB, free: 132.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00379/1.096, allocations: 1.295 MB / 0.5701 GB, free: 132.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0112/1.108, allocations: 9.922 MB / 0.5798 GB, free: 126.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004211/1.112, allocations: 0.7477 MB / 0.5805 GB, free: 126.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004415/1.112, allocations: 275.4 kB / 0.5808 GB, free: 126.2 MB / 446.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.005594/1.118, allocations: 3.429 MB / 0.5842 GB, free: 124.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008823/1.119, allocations: 350.2 kB / 0.5845 GB, free: 124.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009855/1.129, allocations: 7.044 MB / 0.5914 GB, free: 119.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007965/1.137, allocations: 5.868 MB / 0.5971 GB, free: 114.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-05/1.137, allocations: 15.94 kB / 0.5971 GB, free: 114.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.594e-05/1.137, allocations: 25.12 kB / 0.5971 GB, free: 114.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02094/1.158, allocations: 15.54 MB / 0.6123 GB, free: 98.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.9e-05/1.158, allocations: 12 kB / 0.6123 GB, free: 98.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002632/1.16, allocations: 0.7878 MB / 0.6131 GB, free: 97.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002606/1.163, allocations: 1.036 MB / 0.6141 GB, free: 96.85 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002492/1.163, allocations: 108 kB / 0.6142 GB, free: 96.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01044/1.174, allocations: 9.69 MB / 0.6237 GB, free: 86.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.071e-05/1.174, allocations: 19.94 kB / 0.6237 GB, free: 86.78 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0126/1.186, allocations: 10.93 MB / 0.6344 GB, free: 75.63 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002444/1.189, allocations: 0.9952 MB / 0.6353 GB, free: 74.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004986/1.189, allocations: 99.98 kB / 0.6354 GB, free: 74.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001906/1.191, allocations: 275.8 kB / 0.6357 GB, free: 74.24 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006704/1.192, allocations: 343.2 kB / 0.636 GB, free: 73.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002431/1.192, allocations: 148 kB / 0.6362 GB, free: 73.76 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002635/1.195, allocations: 2.117 MB / 0.6382 GB, free: 71.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.91e-07/1.195, allocations: 4 kB / 0.6382 GB, free: 71.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005955/1.201, allocations: 2.231 MB / 0.6404 GB, free: 69.4 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.0006723/1.201, allocations: 286.8 kB / 0.6407 GB, free: 69.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0103/1.212, allocations: 7.58 MB / 0.6481 GB, free: 61.51 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.678e-05/1.212, allocations: 8.062 kB / 0.6481 GB, free: 61.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004985/1.217, allocations: 3.729 MB / 0.6517 GB, free: 57.76 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004062/1.221, allocations: 0.7588 MB / 0.6525 GB, free: 57.01 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02512/1.246, allocations: 19.98 MB / 0.672 GB, free: 36.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005/1.251, allocations: 5.938 MB / 0.6778 GB, free: 30.87 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005323/1.256, allocations: 2.154 MB / 0.6799 GB, free: 28.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008653/1.257, allocations: 319.4 kB / 0.6802 GB, free: 28.39 MB / 446.1 MB Notification: Performance of SimCode: time 1.132e-06/1.257, allocations: 0 / 0.6802 GB, free: 28.39 MB / 446.1 MB Notification: Performance of Templates: time 0.3035/1.561, allocations: 59.5 MB / 0.7383 GB, free: 118.1 MB / 446.1 MB 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)