Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_3_2_3_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 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 96.39 kB / 16.95 MB, free: 6.449 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.001459/0.001459, allocations: 183.7 kB / 17.84 MB, free: 6.008 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.696/1.696, allocations: 205.4 MB / 224 MB, free: 13.16 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.000483/0.0004831, allocations: 16 kB / 280.9 MB, free: 3.641 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1034, allocations: 47.57 MB / 328.5 MB, free: 3.992 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.007722/0.1112, allocations: 6.219 MB / 334.7 MB, free: 13.74 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005046/0.1163, allocations: 2.088 MB / 336.8 MB, free: 11.64 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00165/0.118, allocations: 43.75 kB / 336.8 MB, free: 11.6 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001497/0.1195, allocations: 310.1 kB / 337.1 MB, free: 11.3 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00325/0.1228, allocations: 0.7504 MB / 337.9 MB, free: 10.54 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.1239, allocations: 263.6 kB / 338.1 MB, free: 10.29 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004883/0.1288, allocations: 3.171 MB / 341.3 MB, free: 7.102 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003528/0.1324, allocations: 1.971 MB / 343.3 MB, free: 5.098 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002118/0.1345, allocations: 1.008 MB / 344.3 MB, free: 4.086 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002608/0.1372, allocations: 1.331 MB / 345.6 MB, free: 2.75 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000698/0.1379, allocations: 156 kB / 345.7 MB, free: 2.598 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001413/0.1393, allocations: 271.9 kB / 346 MB, free: 2.332 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001003/0.1403, allocations: 0.6384 MB / 346.7 MB, free: 1.691 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00134/0.1417, allocations: 0.5471 MB / 347.2 MB, free: 1.137 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005376/0.1471, allocations: 3.713 MB / 350.9 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1471, allocations: 4 kB / 350.9 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.1471, allocations: 3.984 kB / 350.9 MB, free: 13.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001897/0.1473, allocations: 0 / 350.9 MB, free: 13.41 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.009253/0.1566, allocations: 3.142 MB / 354.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/0.1566, allocations: 8.031 kB / 354.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001661/0.1583, allocations: 448.7 kB / 354.5 MB, free: 9.746 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004194/0.1625, allocations: 0.6873 MB / 355.2 MB, free: 9.055 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00369/0.1662, allocations: 1.635 MB / 356.8 MB, free: 7.359 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002332/0.1665, allocations: 197.4 kB / 357 MB, free: 7.164 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008307/0.1674, allocations: 267.9 kB / 357.3 MB, free: 6.902 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007165/0.1745, allocations: 3.611 MB / 360.9 MB, free: 3.238 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.64e-05/0.1746, allocations: 0 / 360.9 MB, free: 3.238 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00025/0.1749, allocations: 108 kB / 361 MB, free: 3.133 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001069/0.175, allocations: 101.4 kB / 361.1 MB, free: 3.031 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005812/0.1808, allocations: 3.101 MB / 364.2 MB, free: 15.91 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01983/0.2007, allocations: 10.58 MB / 374.8 MB, free: 4.996 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.213/0.4138, allocations: 4.675 MB / 379.4 MB, free: 49.11 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001978/0.4158, allocations: 0.9521 MB / 380.4 MB, free: 49.09 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005128/0.421, allocations: 2.457 MB / 382.9 MB, free: 48.36 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.985e-05/0.4211, allocations: 49.14 kB / 382.9 MB, free: 48.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 5.099e-06/0.4211, allocations: 3.938 kB / 382.9 MB, free: 48.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.007477/0.4286, allocations: 2.802 MB / 385.7 MB, free: 47.57 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.4287, allocations: 92.7 kB / 385.8 MB, free: 47.47 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002759/0.4314, allocations: 1.372 MB / 387.2 MB, free: 46.98 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000163/0.4316, allocations: 45.98 kB / 387.2 MB, free: 46.94 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001037/0.4327, allocations: 1.161 MB / 388.4 MB, free: 46.11 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004308/0.4331, allocations: 365.2 kB / 388.7 MB, free: 45.83 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.712e-05/0.4332, allocations: 25.94 kB / 388.8 MB, free: 45.81 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.4333, allocations: 358.3 kB / 389.1 MB, free: 45.48 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001218/0.4346, allocations: 0.5847 MB / 389.7 MB, free: 45.3 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001316/0.4359, allocations: 0.8667 MB / 390.6 MB, free: 44.77 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001318/0.4372, allocations: 0.7241 MB / 391.3 MB, free: 44.48 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.107e-05/0.4372, allocations: 2.594 kB / 391.3 MB, free: 44.48 MB / 318.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.00351/0.4408, allocations: 2.006 MB / 393.3 MB, free: 43.72 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.75e-05/0.4408, allocations: 10.98 kB / 393.3 MB, free: 43.72 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.167e-05/0.4409, allocations: 8.344 kB / 393.3 MB, free: 43.72 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/0.4419, allocations: 404.3 kB / 393.7 MB, free: 43.62 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008518/0.4428, allocations: 231 kB / 393.9 MB, free: 43.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006802/0.4496, allocations: 6.077 MB / 400 MB, free: 39.42 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/0.4509, allocations: 146.8 kB / 400.2 MB, free: 39.33 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/0.451, allocations: 55.41 kB / 400.2 MB, free: 39.31 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 (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.001477/0.4525, allocations: 0.8658 MB / 401.1 MB, free: 38.75 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002675/0.4527, allocations: 136.2 kB / 401.2 MB, free: 38.68 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002797/0.4555, allocations: 1.691 MB / 402.9 MB, free: 37.72 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.759e-05/0.4556, allocations: 20.84 kB / 402.9 MB, free: 37.71 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-05/0.4556, allocations: 7.844 kB / 402.9 MB, free: 37.71 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.4556, allocations: 3.984 kB / 402.9 MB, free: 37.71 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005533/0.4612, allocations: 4.006 MB / 406.9 MB, free: 34.69 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.4612, allocations: 3.75 kB / 406.9 MB, free: 34.69 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005444/0.4618, allocations: 143.8 kB / 407.1 MB, free: 34.55 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008031/0.4626, allocations: 393.5 kB / 407.5 MB, free: 34.16 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.957e-05/0.4627, allocations: 39.97 kB / 407.5 MB, free: 34.12 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005599/0.4683, allocations: 6.084 MB / 413.6 MB, free: 27.77 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.4683, allocations: 0 / 413.6 MB, free: 27.77 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003328/0.4716, allocations: 2.543 MB / 416.1 MB, free: 25.2 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004308/0.4721, allocations: 239.2 kB / 416.4 MB, free: 24.94 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000159/0.4723, allocations: 39.98 kB / 416.4 MB, free: 24.9 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006923/0.473, allocations: 99.91 kB / 416.5 MB, free: 24.8 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002178/0.4732, allocations: 96.62 kB / 416.6 MB, free: 24.71 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.373e-05/0.4733, allocations: 39.92 kB / 416.6 MB, free: 24.67 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001151/0.4744, allocations: 0.9513 MB / 417.6 MB, free: 23.71 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4744, allocations: 0 / 417.6 MB, free: 23.71 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001854/0.4763, allocations: 0.6756 MB / 418.3 MB, free: 23.04 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 (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.003512/0.4798, allocations: 3.13 MB / 421.4 MB, free: 19.86 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002793/0.4826, allocations: 1.822 MB / 423.2 MB, free: 18 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.4827, allocations: 0 / 423.2 MB, free: 18 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001616/0.4843, allocations: 1.153 MB / 424.4 MB, free: 16.83 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00195/0.4863, allocations: 301.5 kB / 424.7 MB, free: 16.54 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0207/0.507, allocations: 12.87 MB / 437.5 MB, free: 3.223 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001635/0.5087, allocations: 2.188 MB / 439.7 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001117/0.5098, allocations: 343 kB / 440.1 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001078/0.5109, allocations: 0.8741 MB / 440.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of SimCode: time 1.954e-06/0.511, allocations: 0 / 440.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06475/0.5757, allocations: 35.68 MB / 476.6 MB, free: 12.08 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002062/0.576, allocations: 236.2 kB / 476.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.619/3.195, allocations: 0 / 476.8 MB, free: 11.84 MB / 366.1 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat does not exist to compare? outputFormat=mat