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.0007274/0.0007273, allocations: 97.64 kB / 15.36 MB, free: 0.7305 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.0008207/0.0008208, allocations: 173.2 kB / 16.27 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.359/1.359, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.0007008/0.0007009, allocations: 8 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2921, allocations: 47.59 MB / 327 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.006775/0.2989, allocations: 6.637 MB / 333.7 MB, free: 12.16 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004115/0.3031, allocations: 2.189 MB / 335.9 MB, free: 10.37 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006615/0.3037, allocations: 44.56 kB / 335.9 MB, free: 10.35 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007903/0.3045, allocations: 374.6 kB / 336.3 MB, free: 10.07 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001852/0.3064, allocations: 0.8008 MB / 337.1 MB, free: 9.301 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006679/0.3071, allocations: 339.5 kB / 337.4 MB, free: 8.969 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003119/0.3102, allocations: 3.44 MB / 340.8 MB, free: 5.516 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002384/0.3126, allocations: 2.366 MB / 343.2 MB, free: 3.09 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001188/0.3138, allocations: 1.027 MB / 344.2 MB, free: 2.059 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001326/0.3151, allocations: 1.392 MB / 345.6 MB, free: 0.6602 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002044/0.3154, allocations: 152 kB / 345.8 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005773/0.3159, allocations: 275.9 kB / 346 MB, free: 248 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004824/0.3164, allocations: 0.6539 MB / 346.7 MB, free: 15.58 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001137/0.3176, allocations: 1.342 MB / 348 MB, free: 14.23 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003711/0.3213, allocations: 4.348 MB / 352.4 MB, free: 9.867 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.3213, allocations: 3.984 kB / 352.4 MB, free: 9.863 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3213, allocations: 0 / 352.4 MB, free: 9.863 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001001/0.3214, allocations: 0 / 352.4 MB, free: 9.863 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.007576/0.329, allocations: 3.118 MB / 355.5 MB, free: 6.684 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.3291, allocations: 8.031 kB / 355.5 MB, free: 6.676 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003753/0.3328, allocations: 0.7 MB / 356.2 MB, free: 5.973 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002781/0.3356, allocations: 1.667 MB / 357.9 MB, free: 4.246 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000138/0.3358, allocations: 201.7 kB / 358.1 MB, free: 4.047 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003833/0.3362, allocations: 264 kB / 358.3 MB, free: 3.789 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006046/0.3422, allocations: 3.622 MB / 362 MB, free: 116 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.476e-05/0.3423, allocations: 3.984 kB / 362 MB, free: 112 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002378/0.3425, allocations: 112 kB / 362.1 MB, free: 0 / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.951e-05/0.3426, allocations: 101.4 kB / 362.2 MB, free: 15.9 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005052/0.3477, allocations: 3.121 MB / 365.3 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01509/0.3628, allocations: 10.56 MB / 375.9 MB, free: 1.859 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004913/0.3678, allocations: 4.684 MB / 380.5 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001341/0.3691, allocations: 0.9603 MB / 381.5 MB, free: 11.56 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003434/0.3726, allocations: 2.464 MB / 384 MB, free: 9.008 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.3726, allocations: 55.44 kB / 384 MB, free: 8.945 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 2.615e-06/0.3726, allocations: 0 / 384 MB, free: 8.945 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.006184/0.3788, allocations: 2.762 MB / 386.8 MB, free: 6.133 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/0.3789, allocations: 89.98 kB / 386.9 MB, free: 6.027 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00174/0.3806, allocations: 1.378 MB / 388.2 MB, free: 4.637 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.088e-05/0.3807, allocations: 45.7 kB / 388.3 MB, free: 4.586 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007353/0.3815, allocations: 1.164 MB / 389.5 MB, free: 3.406 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002829/0.3817, allocations: 362.8 kB / 389.8 MB, free: 3.047 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.3819, allocations: 101.7 kB / 389.9 MB, free: 2.941 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.382, allocations: 349.9 kB / 390.3 MB, free: 2.594 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009206/0.383, allocations: 0.5959 MB / 390.8 MB, free: 1.996 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001097/0.3841, allocations: 0.8654 MB / 391.7 MB, free: 1.02 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002084/0.3862, allocations: 1.516 MB / 393.2 MB, free: 15.39 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.3862, allocations: 4 kB / 393.2 MB, free: 15.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003216/0.3894, allocations: 2.023 MB / 395.3 MB, free: 13.34 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.3894, allocations: 8 kB / 395.3 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.3895, allocations: 8 kB / 395.3 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000982/0.3904, allocations: 409.2 kB / 395.7 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008123/0.3913, allocations: 227.7 kB / 395.9 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007095/0.3984, allocations: 6.094 MB / 402 MB, free: 6.336 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009097/0.3993, allocations: 146.7 kB / 402.1 MB, free: 6.191 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.123e-05/0.3994, allocations: 48 kB / 402.2 MB, free: 6.145 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 (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.001355/0.4008, allocations: 0.872 MB / 403 MB, free: 5.262 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002087/0.401, allocations: 138.3 kB / 403.2 MB, free: 5.125 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002897/0.4039, allocations: 1.695 MB / 404.9 MB, free: 3.41 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.4039, allocations: 12 kB / 404.9 MB, free: 3.398 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.4039, allocations: 4 kB / 404.9 MB, free: 3.395 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.4039, allocations: 7.969 kB / 404.9 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005918/0.4099, allocations: 4.031 MB / 408.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.4099, allocations: 0 / 408.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005642/0.4104, allocations: 139.8 kB / 409.1 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008813/0.4113, allocations: 389.4 kB / 409.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.285e-05/0.4114, allocations: 35.92 kB / 409.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007568/0.419, allocations: 6.096 MB / 415.6 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.566e-06/0.419, allocations: 7.938 kB / 415.6 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005606/0.4246, allocations: 2.539 MB / 418.1 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005516/0.4252, allocations: 247.3 kB / 418.4 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002316/0.4255, allocations: 39.98 kB / 418.4 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/0.4266, allocations: 99.89 kB / 418.5 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002987/0.4269, allocations: 96.67 kB / 418.6 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/0.427, allocations: 35.98 kB / 418.6 MB, free: 5.223 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00192/0.4289, allocations: 0.963 MB / 419.6 MB, free: 4.254 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4289, allocations: 0 / 419.6 MB, free: 4.254 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002627/0.4316, allocations: 0.6766 MB / 420.3 MB, free: 3.574 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 (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.0004039/0.432, allocations: 143.1 kB / 420.4 MB, free: 3.426 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004192/0.4362, allocations: 1.835 MB / 422.2 MB, free: 1.562 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.4362, allocations: 0 / 422.2 MB, free: 1.562 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002412/0.4386, allocations: 1.157 MB / 423.4 MB, free: 392 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002541/0.4412, allocations: 288.4 kB / 423.7 MB, free: 100 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01138/0.4526, allocations: 5.83 MB / 429.5 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002136/0.4548, allocations: 2.184 MB / 431.7 MB, free: 7.984 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0009862/0.4558, allocations: 343 kB / 432 MB, free: 7.645 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002482/0.456, allocations: 87.42 kB / 432.1 MB, free: 7.562 MB / 366.1 MB Notification: Performance of SimCode: time 9.32e-07/0.456, allocations: 0 / 432.1 MB, free: 7.562 MB / 366.1 MB Notification: Performance of Templates: time 0.03563/0.4917, allocations: 19.58 MB / 451.7 MB, free: 3.953 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)