Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.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.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.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.00107/0.00107, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0009669/0.0009668, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.494/1.494, allocations: 205.4 MB / 222.1 MB, free: 5.492 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.000528/0.000528, allocations: 8 kB / 278.9 MB, free: 12.69 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2526, allocations: 47.59 MB / 326.5 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.007044/0.2597, allocations: 6.225 MB / 332.7 MB, free: 12.54 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006934/0.2667, allocations: 2.092 MB / 334.8 MB, free: 10.81 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00223/0.269, allocations: 40.97 kB / 334.8 MB, free: 10.8 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001885/0.2709, allocations: 312.7 kB / 335.1 MB, free: 10.56 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004102/0.2751, allocations: 0.7421 MB / 335.9 MB, free: 9.984 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001758/0.2768, allocations: 269.3 kB / 336.1 MB, free: 9.77 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.006253/0.2831, allocations: 3.163 MB / 339.3 MB, free: 6.594 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003792/0.287, allocations: 1.973 MB / 341.3 MB, free: 4.59 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002767/0.2898, allocations: 1.012 MB / 342.3 MB, free: 3.574 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002474/0.2923, allocations: 1.323 MB / 343.6 MB, free: 2.246 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000348/0.2926, allocations: 156 kB / 343.8 MB, free: 2.094 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00125/0.2939, allocations: 275.8 kB / 344 MB, free: 1.824 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008479/0.2948, allocations: 0.6345 MB / 344.7 MB, free: 1.188 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001137/0.2959, allocations: 0.5432 MB / 345.2 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005666/0.3016, allocations: 3.725 MB / 348.9 MB, free: 12.9 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.508e-06/0.3016, allocations: 0 / 348.9 MB, free: 12.9 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.3017, allocations: 0 / 348.9 MB, free: 12.9 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.000154/0.3018, allocations: 4 kB / 348.9 MB, free: 12.89 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.01158/0.3134, allocations: 3.149 MB / 352.1 MB, free: 9.688 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/0.3135, allocations: 8.031 kB / 352.1 MB, free: 9.68 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006254/0.3198, allocations: 0.6912 MB / 352.8 MB, free: 8.984 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003406/0.3232, allocations: 1.628 MB / 354.4 MB, free: 7.297 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001548/0.3234, allocations: 205.2 kB / 354.6 MB, free: 7.094 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004276/0.3238, allocations: 271.9 kB / 354.9 MB, free: 6.828 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006563/0.3304, allocations: 3.599 MB / 358.5 MB, free: 3.176 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.28e-05/0.3305, allocations: 0 / 358.5 MB, free: 3.176 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002614/0.3307, allocations: 108 kB / 358.6 MB, free: 3.07 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001151/0.3309, allocations: 109.3 kB / 358.7 MB, free: 2.961 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005397/0.3363, allocations: 3.093 MB / 361.8 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01727/0.3536, allocations: 10.56 MB / 372.3 MB, free: 4.949 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005418/0.359, allocations: 4.673 MB / 377 MB, free: 15.62 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001482/0.3605, allocations: 0.957 MB / 378 MB, free: 14.67 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003966/0.3645, allocations: 2.471 MB / 380.4 MB, free: 12.11 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.413e-05/0.3646, allocations: 47.42 kB / 380.5 MB, free: 12.05 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 3.136e-06/0.3646, allocations: 0 / 380.5 MB, free: 12.05 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.006349/0.371, allocations: 2.798 MB / 383.3 MB, free: 9.203 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.468e-05/0.371, allocations: 97.92 kB / 383.4 MB, free: 9.09 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001914/0.373, allocations: 1.363 MB / 384.8 MB, free: 7.715 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.089e-05/0.3731, allocations: 45.7 kB / 384.8 MB, free: 7.664 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008029/0.3739, allocations: 1.164 MB / 386 MB, free: 6.484 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002958/0.3742, allocations: 362.8 kB / 386.3 MB, free: 6.125 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.202e-05/0.3742, allocations: 24 kB / 386.3 MB, free: 6.102 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.3744, allocations: 353.9 kB / 386.7 MB, free: 5.75 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009367/0.3753, allocations: 0.5881 MB / 387.3 MB, free: 5.16 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001126/0.3765, allocations: 0.8647 MB / 388.1 MB, free: 4.184 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.3776, allocations: 0.7264 MB / 388.9 MB, free: 3.453 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.3776, allocations: 4 kB / 388.9 MB, free: 3.449 MB / 318.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003409/0.381, allocations: 2.008 MB / 390.9 MB, free: 1.426 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/0.3811, allocations: 8 kB / 390.9 MB, free: 1.418 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.721e-05/0.3811, allocations: 8 kB / 390.9 MB, free: 1.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009966/0.3821, allocations: 410.4 kB / 391.3 MB, free: 1.004 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008284/0.3829, allocations: 223.6 kB / 391.5 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007342/0.3903, allocations: 6.07 MB / 397.6 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/0.3915, allocations: 162.7 kB / 397.7 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.845e-05/0.3916, allocations: 55.91 kB / 397.8 MB, free: 10.23 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (110): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 19,(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001629/0.3933, allocations: 0.8642 MB / 398.7 MB, free: 9.352 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002944/0.3936, allocations: 134.4 kB / 398.8 MB, free: 9.219 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003058/0.3966, allocations: 1.702 MB / 400.5 MB, free: 7.5 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.3967, allocations: 8 kB / 400.5 MB, free: 7.492 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.3967, allocations: 8 kB / 400.5 MB, free: 7.484 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.304e-05/0.3967, allocations: 7.969 kB / 400.5 MB, free: 7.477 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006495/0.4032, allocations: 4.008 MB / 404.5 MB, free: 3.375 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.4032, allocations: 0 / 404.5 MB, free: 3.375 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005938/0.4038, allocations: 148 kB / 404.7 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001/0.4048, allocations: 385.4 kB / 405 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.601e-05/0.4049, allocations: 35.98 kB / 405.1 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007358/0.4123, allocations: 6.092 MB / 411.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.4124, allocations: 0 / 411.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004284/0.4167, allocations: 2.536 MB / 413.7 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005285/0.4172, allocations: 247.2 kB / 413.9 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001675/0.4174, allocations: 28 kB / 414 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007471/0.4181, allocations: 107.9 kB / 414.1 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002704/0.4184, allocations: 100.6 kB / 414.2 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.248e-05/0.4185, allocations: 35.98 kB / 414.2 MB, free: 9.344 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001421/0.4199, allocations: 0.9474 MB / 415.2 MB, free: 8.391 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4199, allocations: 0 / 415.2 MB, free: 8.391 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001991/0.4219, allocations: 0.6727 MB / 415.8 MB, free: 7.715 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (converter_e.singlePhaseElectroMagneticConverter[3].Phi.re,converter_e.singlePhaseElectroMagneticConverter[3].Phi.im,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im) * 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 (64): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 21,(2,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003371/0.4223, allocations: 155.1 kB / 416 MB, free: 7.555 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003454/0.4257, allocations: 1.821 MB / 417.8 MB, free: 5.707 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.4258, allocations: 4.188 kB / 417.8 MB, free: 5.703 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00197/0.4278, allocations: 1.152 MB / 419 MB, free: 4.523 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001734/0.4295, allocations: 300.4 kB / 419.3 MB, free: 4.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008705/0.4382, allocations: 5.553 MB / 424.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001953/0.4402, allocations: 2.18 MB / 427 MB, free: 12.4 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001136/0.4414, allocations: 343 kB / 427.3 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002282/0.4416, allocations: 83.42 kB / 427.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of SimCode: time 1.323e-06/0.4416, allocations: 0 / 427.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of Templates: time 0.03463/0.4762, allocations: 19.14 MB / 446.5 MB, free: 8.812 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1)