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.001309/0.001309, allocations: 96.03 kB / 16.5 MB, free: 6.641 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.001061/0.001061, allocations: 193.2 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.306/1.306, 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.001174/0.001174, allocations: 51.92 kB / 279.3 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0794/0.08059, allocations: 46.64 MB / 326 MB, free: 4.879 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.007367/0.08799, allocations: 7.151 MB / 333.1 MB, free: 13.68 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003858/0.09189, allocations: 2.216 MB / 335.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000604/0.09255, allocations: 39.81 kB / 335.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008564/0.09341, allocations: 381.9 kB / 335.7 MB, free: 11.04 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001728/0.09515, allocations: 0.8049 MB / 336.5 MB, free: 10.23 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006958/0.09586, allocations: 347.5 kB / 336.9 MB, free: 9.895 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003077/0.09895, allocations: 3.433 MB / 340.3 MB, free: 6.449 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00232/0.1013, allocations: 2.392 MB / 342.7 MB, free: 3.996 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001294/0.1026, allocations: 1.214 MB / 343.9 MB, free: 2.777 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001542/0.1041, allocations: 1.619 MB / 345.5 MB, free: 1.152 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003261/0.1045, allocations: 236 kB / 345.8 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000731/0.1052, allocations: 359.8 kB / 346.1 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005992/0.1058, allocations: 0.767 MB / 346.9 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001305/0.1071, allocations: 1.462 MB / 348.4 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003309/0.1105, allocations: 4.498 MB / 352.9 MB, free: 9.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.1105, allocations: 4 kB / 352.9 MB, free: 9.816 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.31e-07/0.1105, allocations: 4 kB / 352.9 MB, free: 9.812 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.869e-05/0.1105, allocations: 0 / 352.9 MB, free: 9.812 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.007461/0.118, allocations: 3.617 MB / 356.5 MB, free: 6.133 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.1181, allocations: 12.03 kB / 356.5 MB, free: 6.121 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003626/0.1217, allocations: 0.6843 MB / 357.2 MB, free: 5.434 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00263/0.1243, allocations: 1.682 MB / 358.9 MB, free: 3.691 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001284/0.1245, allocations: 193.7 kB / 359 MB, free: 3.5 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003689/0.1249, allocations: 268.1 kB / 359.3 MB, free: 3.238 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005712/0.1306, allocations: 3.611 MB / 362.9 MB, free: 15.57 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.613e-05/0.1307, allocations: 0 / 362.9 MB, free: 15.57 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002409/0.1309, allocations: 115.9 kB / 363 MB, free: 15.46 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.92e-05/0.131, allocations: 109.3 kB / 363.1 MB, free: 15.35 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004884/0.1359, allocations: 3.085 MB / 366.2 MB, free: 12.25 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01494/0.1508, allocations: 10.5 MB / 376.7 MB, free: 1.41 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1363/0.2871, allocations: 4.673 MB / 381.4 MB, free: 47.33 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001655/0.2888, allocations: 0.9503 MB / 382.3 MB, free: 47.3 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004024/0.2929, allocations: 2.458 MB / 384.8 MB, free: 46.04 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.2929, allocations: 48.16 kB / 384.9 MB, free: 46 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 2.955e-06/0.2929, allocations: 0 / 384.9 MB, free: 46 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.006661/0.2996, allocations: 2.695 MB / 387.5 MB, free: 45.14 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.2997, allocations: 97.48 kB / 387.6 MB, free: 45.05 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002263/0.3019, allocations: 1.373 MB / 389 MB, free: 44.57 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.778e-05/0.302, allocations: 46.94 kB / 389.1 MB, free: 44.52 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006608/0.3027, allocations: 1.162 MB / 390.2 MB, free: 43.74 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002123/0.3029, allocations: 365.1 kB / 390.6 MB, free: 43.46 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003199/0.3032, allocations: 214.5 kB / 390.8 MB, free: 43.36 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.823e-05/0.3033, allocations: 353 kB / 391.1 MB, free: 43.04 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008523/0.3042, allocations: 0.5779 MB / 391.7 MB, free: 42.84 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009434/0.3051, allocations: 0.8598 MB / 392.6 MB, free: 42.32 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001793/0.3069, allocations: 1.49 MB / 394.1 MB, free: 41.5 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.267e-05/0.307, allocations: 2.438 kB / 394.1 MB, free: 41.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003086/0.31, allocations: 1.996 MB / 396.1 MB, free: 40.73 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.3101, allocations: 8.25 kB / 396.1 MB, free: 40.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/0.3101, allocations: 14.48 kB / 396.1 MB, free: 40.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000931/0.311, allocations: 404.2 kB / 396.5 MB, free: 40.62 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007768/0.3118, allocations: 216.6 kB / 396.7 MB, free: 40.61 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005514/0.3174, allocations: 6.089 MB / 402.8 MB, free: 36.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008556/0.3182, allocations: 145.7 kB / 402.9 MB, free: 36.13 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-05/0.3183, allocations: 47.3 kB / 403 MB, free: 36.12 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.001088/0.3194, allocations: 0.8767 MB / 403.8 MB, free: 35.55 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002342/0.3197, allocations: 132.5 kB / 404 MB, free: 35.48 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002427/0.3221, allocations: 1.66 MB / 405.6 MB, free: 34.54 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.3221, allocations: 16.81 kB / 405.6 MB, free: 34.54 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.3221, allocations: 7.75 kB / 405.7 MB, free: 34.54 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.3221, allocations: 7.969 kB / 405.7 MB, free: 34.53 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00491/0.3271, allocations: 3.996 MB / 409.7 MB, free: 30.89 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.3271, allocations: 0 / 409.7 MB, free: 30.89 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005181/0.3276, allocations: 136 kB / 409.8 MB, free: 30.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007909/0.3284, allocations: 400.8 kB / 410.2 MB, free: 30.36 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.065e-05/0.3285, allocations: 43.97 kB / 410.2 MB, free: 30.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005037/0.3335, allocations: 6.073 MB / 416.3 MB, free: 23.98 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.3335, allocations: 7.984 kB / 416.3 MB, free: 23.98 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002914/0.3365, allocations: 2.508 MB / 418.8 MB, free: 21.43 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002488/0.3367, allocations: 250.9 kB / 419.1 MB, free: 21.17 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001825/0.3369, allocations: 35.92 kB / 419.1 MB, free: 21.14 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007142/0.3376, allocations: 87.91 kB / 419.2 MB, free: 21.05 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001893/0.3378, allocations: 92.73 kB / 419.3 MB, free: 20.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-05/0.3379, allocations: 35.98 kB / 419.3 MB, free: 20.93 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009621/0.3389, allocations: 0.963 MB / 420.3 MB, free: 19.96 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3389, allocations: 0 / 420.3 MB, free: 19.96 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001459/0.3403, allocations: 0.6727 MB / 420.9 MB, free: 19.28 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.0002253/0.3406, allocations: 155.6 kB / 421.1 MB, free: 19.13 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002342/0.3429, allocations: 1.808 MB / 422.9 MB, free: 17.29 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.3429, allocations: 0 / 422.9 MB, free: 17.29 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001383/0.3443, allocations: 1.141 MB / 424 MB, free: 16.12 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/0.3456, allocations: 289 kB / 424.3 MB, free: 15.84 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005889/0.3515, allocations: 5.736 MB / 430.1 MB, free: 10.07 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001437/0.353, allocations: 2.19 MB / 432.3 MB, free: 7.84 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000881/0.3539, allocations: 343 kB / 432.6 MB, free: 7.5 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002298/0.3541, allocations: 87.42 kB / 432.7 MB, free: 7.414 MB / 318.1 MB Notification: Performance of SimCode: time 6.22e-07/0.3541, allocations: 0 / 432.7 MB, free: 7.414 MB / 318.1 MB Notification: Performance of Templates: time 0.03132/0.3854, allocations: 19.9 MB / 452.6 MB, free: 3.516 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)