Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00155/0.00155, allocations: 122.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001372/0.001372, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.455/1.455, allocations: 227.7 MB / 247.2 MB, free: 10.18 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001919, allocations: 59.91 kB / 358.5 MB, free: 13.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.3147, allocations: 50.55 MB / 409 MB, free: 1.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01012/0.3248, allocations: 7.847 MB / 416.9 MB, free: 9.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005943/0.3308, allocations: 2.476 MB / 419.4 MB, free: 7.016 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001983/0.3329, allocations: 55.81 kB / 419.4 MB, free: 6.961 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001517/0.3345, allocations: 448.9 kB / 419.9 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003453/0.3379, allocations: 0.847 MB / 420.7 MB, free: 5.668 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001501/0.3395, allocations: 409.6 kB / 421.1 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005416/0.3449, allocations: 3.25 MB / 424.4 MB, free: 2.012 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004039/0.349, allocations: 2.887 MB / 427.2 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002506/0.3515, allocations: 1.425 MB / 428.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00284/0.3544, allocations: 1.689 MB / 430.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008345/0.3553, allocations: 360 kB / 430.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001487/0.3568, allocations: 491.9 kB / 431.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001123/0.3579, allocations: 0.9115 MB / 432.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002936/0.3609, allocations: 1.614 MB / 433.7 MB, free: 8.566 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006869/0.3678, allocations: 4.713 MB / 438.4 MB, free: 3.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.3678, allocations: 0 / 438.4 MB, free: 3.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3678, allocations: 0 / 438.4 MB, free: 3.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001196/0.3679, allocations: 0 / 438.4 MB, free: 3.84 MB / 350.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.01052/0.3785, allocations: 3.731 MB / 442.2 MB, free: 44 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.849e-05/0.3785, allocations: 12.02 kB / 442.2 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001073/0.3796, allocations: 441.1 kB / 442.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004406/0.384, allocations: 0.7562 MB / 443.4 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004116/0.3882, allocations: 1.851 MB / 445.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00022/0.3884, allocations: 197.7 kB / 445.4 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000781/0.3892, allocations: 267.9 kB / 445.7 MB, free: 12.46 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00776/0.397, allocations: 3.619 MB / 449.3 MB, free: 8.793 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.038e-05/0.3971, allocations: 0 / 449.3 MB, free: 8.793 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002965/0.3974, allocations: 108 kB / 449.4 MB, free: 8.688 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000118/0.3975, allocations: 109.4 kB / 449.5 MB, free: 8.578 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00585/0.4034, allocations: 3.101 MB / 452.6 MB, free: 5.465 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01941/0.4228, allocations: 10.27 MB / 462.9 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005761/0.4286, allocations: 4.565 MB / 467.4 MB, free: 5.629 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001638/0.4303, allocations: 0.9524 MB / 468.4 MB, free: 4.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004466/0.4348, allocations: 2.635 MB / 471 MB, free: 1.902 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.052e-05/0.4349, allocations: 55.38 kB / 471.1 MB, free: 1.836 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.586e-06/0.4349, allocations: 0 / 471.1 MB, free: 1.836 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.006685/0.4416, allocations: 2.654 MB / 473.7 MB, free: 15.14 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/0.4417, allocations: 93.92 kB / 473.8 MB, free: 15.02 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002111/0.4438, allocations: 1.404 MB / 475.2 MB, free: 13.61 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.655e-05/0.4439, allocations: 45.7 kB / 475.3 MB, free: 13.56 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000952/0.4449, allocations: 1.211 MB / 476.5 MB, free: 12.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003425/0.4452, allocations: 380.8 kB / 476.9 MB, free: 11.96 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003585/0.4456, allocations: 222.9 kB / 477.1 MB, free: 11.74 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.4458, allocations: 349.9 kB / 477.4 MB, free: 11.39 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000993/0.4468, allocations: 0.5686 MB / 478 MB, free: 10.82 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001257/0.4481, allocations: 0.8374 MB / 478.8 MB, free: 9.871 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002276/0.4504, allocations: 1.461 MB / 480.3 MB, free: 8.293 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.772e-06/0.4504, allocations: 4 kB / 480.3 MB, free: 8.289 MB / 398.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003683/0.4541, allocations: 1.969 MB / 482.3 MB, free: 6.305 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/0.4541, allocations: 12.31 kB / 482.3 MB, free: 6.293 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.157e-05/0.4541, allocations: 11.98 kB / 482.3 MB, free: 6.281 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001071/0.4552, allocations: 400.6 kB / 482.7 MB, free: 5.887 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000847/0.4561, allocations: 215.6 kB / 482.9 MB, free: 5.676 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008594/0.4647, allocations: 6.537 MB / 489.4 MB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/0.4659, allocations: 135.1 kB / 489.5 MB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001417/0.4661, allocations: 48 kB / 489.6 MB, free: 14.68 MB / 414.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.001686/0.4678, allocations: 0.8828 MB / 490.5 MB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003818/0.4682, allocations: 143.1 kB / 490.6 MB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003318/0.4715, allocations: 1.648 MB / 492.3 MB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/0.4715, allocations: 12 kB / 492.3 MB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.347e-05/0.4716, allocations: 4 kB / 492.3 MB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.64e-05/0.4716, allocations: 11.92 kB / 492.3 MB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006916/0.4785, allocations: 3.926 MB / 496.2 MB, free: 7.941 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.378e-06/0.4786, allocations: 7.938 kB / 496.2 MB, free: 7.934 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005597/0.4791, allocations: 127.8 kB / 496.4 MB, free: 7.809 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001103/0.4802, allocations: 401.5 kB / 496.7 MB, free: 7.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.19e-05/0.4803, allocations: 27.98 kB / 496.8 MB, free: 7.383 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009127/0.4895, allocations: 6.521 MB / 0.4915 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.4895, allocations: 3.938 kB / 0.4915 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004901/0.4945, allocations: 2.486 MB / 0.4939 GB, free: 14.06 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006672/0.4952, allocations: 251.9 kB / 0.4942 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001682/0.4953, allocations: 27.98 kB / 0.4942 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008019/0.4962, allocations: 91.86 kB / 0.4943 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002996/0.4965, allocations: 96.67 kB / 0.4944 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.539e-05/0.4966, allocations: 31.98 kB / 0.4944 GB, free: 13.55 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001608/0.4982, allocations: 0.9873 MB / 0.4954 GB, free: 12.56 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4982, allocations: 0 / 0.4954 GB, free: 12.56 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002199/0.5004, allocations: 0.6813 MB / 0.496 GB, free: 11.88 MB / 430.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,loss_m.Phi.re,loss_m.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.004791/0.5052, allocations: 3.091 MB / 0.4991 GB, free: 8.734 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003542/0.5088, allocations: 1.789 MB / 0.5008 GB, free: 6.918 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.5088, allocations: 0.5 kB / 0.5008 GB, free: 6.918 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001912/0.5107, allocations: 1.133 MB / 0.5019 GB, free: 5.762 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001749/0.5125, allocations: 304.3 kB / 0.5022 GB, free: 5.465 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02554/0.538, allocations: 16.07 MB / 0.5179 GB, free: 4.906 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002154/0.5402, allocations: 2.192 MB / 0.52 GB, free: 2.676 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001017/0.5413, allocations: 343 kB / 0.5204 GB, free: 2.336 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001133/0.5424, allocations: 0.8781 MB / 0.5212 GB, free: 1.457 MB / 446.1 MB Notification: Performance of SimCode: time 9.12e-07/0.5424, allocations: 0 / 0.5212 GB, free: 1.457 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3079/0.8503, allocations: 38.95 MB / 0.5593 GB, free: 115.9 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.27/13.12, allocations: 7.562 kB / 0.5593 GB, free: 115.9 MB / 462.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1)