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.001162/0.001162, allocations: 108 kB / 15.61 MB, free: 152 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.001089/0.001088, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.331/1.331, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.001146/0.001146, allocations: 55.92 kB / 278.7 MB, free: 12.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2919, allocations: 46.64 MB / 325.3 MB, free: 1.879 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01824/0.3102, allocations: 16.54 MB / 341.9 MB, free: 3.32 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01266/0.3229, allocations: 4.654 MB / 346.5 MB, free: 14.65 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004682/0.3277, allocations: 111.7 kB / 346.6 MB, free: 14.54 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01746/0.3452, allocations: 7.161 MB / 353.8 MB, free: 7.352 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00947/0.3547, allocations: 1.873 MB / 355.7 MB, free: 5.469 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005407/0.3601, allocations: 1.621 MB / 357.3 MB, free: 3.844 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01335/0.3735, allocations: 9.33 MB / 366.6 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03596/0.4095, allocations: 20.92 MB / 387.5 MB, free: 5.414 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008703/0.4182, allocations: 5.226 MB / 392.8 MB, free: 180 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01233/0.4306, allocations: 5.903 MB / 398.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0057/0.4364, allocations: 1.359 MB / 400 MB, free: 8.891 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007675/0.4441, allocations: 1.644 MB / 401.7 MB, free: 7.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00641/0.4506, allocations: 2.798 MB / 404.5 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01354/0.4641, allocations: 5.354 MB / 409.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.025/0.4892, allocations: 18.09 MB / 427.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.147e-06/0.4892, allocations: 0 / 427.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.4893, allocations: 0 / 427.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0006623/0.4899, allocations: 7.938 kB / 427.9 MB, free: 12.93 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.04406/0.534, allocations: 12.18 MB / 440.1 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.01e-05/0.5341, allocations: 11.89 kB / 440.1 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03763/0.5717, allocations: 6.186 MB / 446.3 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01446/0.5862, allocations: 5.16 MB / 451.4 MB, free: 5.223 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008596/0.5871, allocations: 0.6743 MB / 452.1 MB, free: 4.547 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004549/0.5917, allocations: 0.8788 MB / 453 MB, free: 3.668 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.458/1.05, allocations: 14.71 MB / 467.7 MB, free: 94.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005187/1.05, allocations: 12.09 kB / 467.7 MB, free: 94.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00397/1.054, allocations: 374.8 kB / 468.1 MB, free: 94.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005559/1.055, allocations: 499.3 kB / 468.6 MB, free: 94.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03395/1.089, allocations: 13.52 MB / 482.1 MB, free: 86.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08654/1.175, allocations: 44.6 MB / 0.5144 GB, free: 41.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01214/1.188, allocations: 11.63 MB / 0.5257 GB, free: 28.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004634/1.192, allocations: 3.157 MB / 0.5288 GB, free: 25.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004884/1.193, allocations: 175.4 kB / 0.529 GB, free: 25.37 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.749e-05/1.193, allocations: 78.56 kB / 0.529 GB, free: 25.28 MB / 382.1 MB Notification: Performance of pre-optimization done (n=409): time 7.525e-06/1.193, allocations: 0 / 0.529 GB, free: 25.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=409): time 0.02198/1.215, allocations: 9.587 MB / 0.5384 GB, free: 15.65 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.252e-05/1.215, allocations: 125.1 kB / 0.5385 GB, free: 15.51 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006019/1.221, allocations: 3.156 MB / 0.5416 GB, free: 12.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005179/1.222, allocations: 85.7 kB / 0.5417 GB, free: 12.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002162/1.224, allocations: 3.698 MB / 0.5453 GB, free: 8.523 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001389/1.225, allocations: 1.391 MB / 0.5467 GB, free: 7.145 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00274/1.228, allocations: 1.132 MB / 0.5478 GB, free: 6 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.559e-05/1.228, allocations: 305.1 kB / 0.5481 GB, free: 5.699 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004205/1.232, allocations: 2.834 MB / 0.5508 GB, free: 2.859 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005741/1.238, allocations: 4.901 MB / 0.5556 GB, free: 13.01 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01132/1.249, allocations: 8.251 MB / 0.5637 GB, free: 3.828 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.011e-05/1.249, allocations: 23.94 kB / 0.5637 GB, free: 3.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01743/1.267, allocations: 9.094 MB / 0.5726 GB, free: 10.69 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.48e-05/1.267, allocations: 39.94 kB / 0.5726 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001274/1.267, allocations: 68.03 kB / 0.5727 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003632/1.271, allocations: 1.161 MB / 0.5738 GB, free: 9.418 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005184/1.276, allocations: 1.291 MB / 0.5751 GB, free: 8.125 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01789/1.294, allocations: 10.82 MB / 0.5856 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006423/1.3, allocations: 0.7359 MB / 0.5864 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001605/1.302, allocations: 276 kB / 0.5866 GB, free: 12.02 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.007672/1.31, allocations: 3.435 MB / 0.59 GB, free: 8.57 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001402/1.311, allocations: 343.7 kB / 0.5903 GB, free: 8.23 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01436/1.325, allocations: 6.913 MB / 0.597 GB, free: 1.293 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01002/1.335, allocations: 5.749 MB / 0.6027 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-05/1.336, allocations: 8 kB / 0.6027 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.737e-05/1.336, allocations: 27.91 kB / 0.6027 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2851/1.621, allocations: 15.32 MB / 0.6177 GB, free: 143.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.594e-05/1.621, allocations: 13.41 kB / 0.6177 GB, free: 143.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003465/1.624, allocations: 0.8 MB / 0.6185 GB, free: 143.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003421/1.628, allocations: 1.064 MB / 0.6195 GB, free: 143.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006889/1.628, allocations: 109.3 kB / 0.6196 GB, free: 143.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01259/1.641, allocations: 10.56 MB / 0.6299 GB, free: 138.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-05/1.641, allocations: 18.97 kB / 0.6299 GB, free: 138.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0149/1.656, allocations: 10.68 MB / 0.6404 GB, free: 133.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001925/1.658, allocations: 0.9942 MB / 0.6413 GB, free: 133.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005032/1.658, allocations: 98.73 kB / 0.6414 GB, free: 133.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00202/1.66, allocations: 277.3 kB / 0.6417 GB, free: 133.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008118/1.661, allocations: 346.1 kB / 0.642 GB, free: 133.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002381/1.662, allocations: 139.9 kB / 0.6422 GB, free: 133.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002714/1.664, allocations: 2.126 MB / 0.6442 GB, free: 132.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/1.664, allocations: 0 / 0.6442 GB, free: 132.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006463/1.671, allocations: 2.226 MB / 0.6464 GB, free: 131.7 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.0006809/1.671, allocations: 294 kB / 0.6467 GB, free: 131.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01814/1.69, allocations: 11.28 MB / 0.6577 GB, free: 122.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.156e-05/1.69, allocations: 4 kB / 0.6577 GB, free: 122.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005301/1.695, allocations: 3.646 MB / 0.6613 GB, free: 119.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004249/1.699, allocations: 0.8044 MB / 0.662 GB, free: 119.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02856/1.728, allocations: 16.13 MB / 0.6778 GB, free: 103.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009497/1.737, allocations: 5.934 MB / 0.6836 GB, free: 97.81 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.006986/1.744, allocations: 2.158 MB / 0.6857 GB, free: 95.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001733/1.746, allocations: 319.4 kB / 0.686 GB, free: 95.33 MB / 446.1 MB Notification: Performance of SimCode: time 1.052e-06/1.746, allocations: 3.938 kB / 0.686 GB, free: 95.33 MB / 446.1 MB Notification: Performance of Templates: time 0.09834/1.844, allocations: 60.63 MB / 0.7452 GB, free: 34.71 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)