Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.0009059/0.0009055, allocations: 90.47 kB / 16.65 MB, free: 6.535 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.000852/0.0008522, allocations: 174.3 kB / 17.56 MB, free: 6.184 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.356/1.356, allocations: 205.4 MB / 223.7 MB, free: 13.06 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.0004202/0.0004203, allocations: 12 kB / 280.7 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08188/0.08231, allocations: 47.58 MB / 328.3 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.007027/0.08937, allocations: 6.641 MB / 335 MB, free: 13.07 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003948/0.09335, allocations: 2.181 MB / 337.1 MB, free: 10.88 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000854/0.09423, allocations: 47.69 kB / 337.2 MB, free: 10.84 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000998/0.09525, allocations: 378 kB / 337.6 MB, free: 10.46 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002225/0.09749, allocations: 0.7933 MB / 338.3 MB, free: 9.668 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000887/0.09839, allocations: 355.1 kB / 338.7 MB, free: 9.324 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003575/0.102, allocations: 3.433 MB / 342.1 MB, free: 5.875 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002495/0.1045, allocations: 2.365 MB / 344.5 MB, free: 3.449 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001295/0.1058, allocations: 1.031 MB / 345.5 MB, free: 2.414 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001582/0.1074, allocations: 1.392 MB / 346.9 MB, free: 1.016 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002333/0.1076, allocations: 152 kB / 347.1 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006668/0.1083, allocations: 279.9 kB / 347.3 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005336/0.1088, allocations: 0.6383 MB / 348 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001338/0.1102, allocations: 1.35 MB / 349.3 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003677/0.1139, allocations: 4.348 MB / 353.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1139, allocations: 0 / 353.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.1139, allocations: 0 / 353.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.842e-05/0.114, allocations: 0 / 353.7 MB, free: 10.23 MB / 302.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.006957/0.121, allocations: 3.114 MB / 356.8 MB, free: 7.051 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.121, allocations: 8.031 kB / 356.8 MB, free: 7.043 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003691/0.1247, allocations: 0.6882 MB / 357.5 MB, free: 6.352 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002709/0.1274, allocations: 1.682 MB / 359.2 MB, free: 4.609 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001377/0.1276, allocations: 201.7 kB / 359.4 MB, free: 4.41 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004106/0.128, allocations: 264 kB / 359.6 MB, free: 4.152 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00576/0.1338, allocations: 3.63 MB / 363.3 MB, free: 480 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.6e-05/0.1338, allocations: 0 / 363.3 MB, free: 480 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002468/0.1341, allocations: 112 kB / 363.4 MB, free: 368 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.639e-05/0.1342, allocations: 105.3 kB / 363.5 MB, free: 260 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004956/0.1392, allocations: 3.121 MB / 366.6 MB, free: 13.12 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01499/0.1542, allocations: 10.56 MB / 377.1 MB, free: 2.215 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1527/0.3069, allocations: 4.685 MB / 381.8 MB, free: 47.26 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001884/0.3088, allocations: 0.9554 MB / 382.8 MB, free: 47.23 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004519/0.3134, allocations: 2.464 MB / 385.3 MB, free: 46.25 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.3134, allocations: 49.67 kB / 385.3 MB, free: 46.21 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 2.816e-06/0.3134, allocations: 0 / 385.3 MB, free: 46.21 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.006634/0.3201, allocations: 2.756 MB / 388.1 MB, free: 45.34 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.3201, allocations: 92.73 kB / 388.1 MB, free: 45.24 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002251/0.3224, allocations: 1.383 MB / 389.5 MB, free: 44.75 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.857e-05/0.3225, allocations: 46.97 kB / 389.6 MB, free: 44.7 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006278/0.3231, allocations: 1.164 MB / 390.7 MB, free: 43.86 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002167/0.3233, allocations: 358.7 kB / 391.1 MB, free: 43.59 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/0.3235, allocations: 104 kB / 391.2 MB, free: 43.53 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.44e-05/0.3236, allocations: 351.7 kB / 391.5 MB, free: 43.21 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009463/0.3245, allocations: 0.5914 MB / 392.1 MB, free: 43.02 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/0.3256, allocations: 0.8688 MB / 393 MB, free: 42.49 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001921/0.3275, allocations: 1.514 MB / 394.5 MB, free: 41.66 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.447e-05/0.3275, allocations: 5.328 kB / 394.5 MB, free: 41.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003115/0.3307, allocations: 2.02 MB / 396.5 MB, free: 40.89 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.3307, allocations: 8.25 kB / 396.5 MB, free: 40.89 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.859e-05/0.3307, allocations: 12.19 kB / 396.6 MB, free: 40.89 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009344/0.3317, allocations: 403.4 kB / 396.9 MB, free: 40.79 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007994/0.3325, allocations: 227.1 kB / 397.2 MB, free: 40.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005619/0.3381, allocations: 6.099 MB / 403.3 MB, free: 36.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008898/0.339, allocations: 152.9 kB / 403.4 MB, free: 36.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/0.3392, allocations: 45.75 kB / 403.5 MB, free: 36.23 MB / 318.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 (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 {(2,19,100.0%), (2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001161/0.3403, allocations: 0.8695 MB / 404.3 MB, free: 35.66 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003034/0.3406, allocations: 139.4 kB / 404.5 MB, free: 35.59 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002655/0.3433, allocations: 1.696 MB / 406.2 MB, free: 34.63 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.3433, allocations: 11.75 kB / 406.2 MB, free: 34.63 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/0.3433, allocations: 11.88 kB / 406.2 MB, free: 34.63 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/0.3434, allocations: 3.984 kB / 406.2 MB, free: 34.62 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005226/0.3486, allocations: 4.016 MB / 410.2 MB, free: 30.72 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-06/0.3486, allocations: 4 kB / 410.2 MB, free: 30.72 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005213/0.3491, allocations: 139.8 kB / 410.3 MB, free: 30.58 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008325/0.35, allocations: 397.3 kB / 410.7 MB, free: 30.19 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.182e-05/0.3501, allocations: 39.98 kB / 410.8 MB, free: 30.15 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005435/0.3555, allocations: 6.091 MB / 416.9 MB, free: 23.8 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.3555, allocations: 0 / 416.9 MB, free: 23.8 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00315/0.3587, allocations: 2.547 MB / 419.4 MB, free: 21.22 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003243/0.359, allocations: 243.3 kB / 419.7 MB, free: 20.96 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002158/0.3593, allocations: 43.64 kB / 419.7 MB, free: 20.92 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008396/0.3601, allocations: 103.9 kB / 419.8 MB, free: 20.82 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002111/0.3603, allocations: 100.6 kB / 419.9 MB, free: 20.72 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.112e-05/0.3604, allocations: 27.98 kB / 419.9 MB, free: 20.7 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001207/0.3616, allocations: 0.9591 MB / 420.9 MB, free: 19.73 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3616, allocations: 0 / 420.9 MB, free: 19.73 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001765/0.3634, allocations: 0.6727 MB / 421.6 MB, free: 19.05 MB / 318.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 (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 {(2,21,100.0%), (2,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002581/0.3637, allocations: 145 kB / 421.7 MB, free: 18.91 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002617/0.3663, allocations: 1.831 MB / 423.5 MB, free: 17.05 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.3663, allocations: 0 / 423.5 MB, free: 17.05 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001488/0.3678, allocations: 1.165 MB / 424.7 MB, free: 15.86 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001727/0.3695, allocations: 291.3 kB / 425 MB, free: 15.57 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006767/0.3763, allocations: 5.821 MB / 430.8 MB, free: 9.691 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001824/0.3782, allocations: 2.188 MB / 433 MB, free: 7.469 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001104/0.3793, allocations: 340.2 kB / 433.3 MB, free: 7.133 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003249/0.3796, allocations: 87.42 kB / 433.4 MB, free: 7.047 MB / 318.1 MB Notification: Performance of SimCode: time 1.502e-06/0.3796, allocations: 0 / 433.4 MB, free: 7.047 MB / 318.1 MB Notification: Performance of Templates: time 0.03351/0.4132, allocations: 19.58 MB / 453 MB, free: 3.465 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1)