Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_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.0008313/0.0008313, allocations: 96.47 kB / 17 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008818/0.0008819, allocations: 192.2 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 227.4 MB / 246 MB, free: 12 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000252/0.000252, allocations: 4 kB / 306.8 MB, free: 1.469 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09827/0.09854, allocations: 51.49 MB / 358.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.1863/0.2848, allocations: 14.29 MB / 372.6 MB, free: 8.699 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01028/0.2952, allocations: 4.305 MB / 376.9 MB, free: 8.633 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003881/0.2991, allocations: 122 kB / 377 MB, free: 8.633 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003839/0.303, allocations: 0.8446 MB / 377.9 MB, free: 8.535 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006941/0.3099, allocations: 1.655 MB / 379.5 MB, free: 8.156 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003349/0.3133, allocations: 1.213 MB / 380.7 MB, free: 8.039 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01647/0.3298, allocations: 12.24 MB / 393 MB, free: 5.52 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03475/0.3646, allocations: 17.37 MB / 410.4 MB, free: 8.438 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007497/0.3721, allocations: 3.972 MB / 414.3 MB, free: 4.453 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007801/0.3799, allocations: 4.34 MB / 418.7 MB, free: 100 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002151/0.3821, allocations: 0.5625 MB / 419.2 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005096/0.3873, allocations: 0.859 MB / 420.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002875/0.3902, allocations: 1.756 MB / 421.8 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003651/0.3938, allocations: 1.775 MB / 423.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0159/0.4097, allocations: 15.41 MB / 439 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.4098, allocations: 0 / 439 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4098, allocations: 0 / 439 MB, free: 11.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0004504/0.4102, allocations: 0 / 439 MB, free: 11.7 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: 2497 * Number of variables: 2497 Notification: Performance of Generate backend data structure: time 0.02776/0.438, allocations: 10.37 MB / 449.4 MB, free: 1.324 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/0.4381, allocations: 12.03 kB / 449.4 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005547/0.4436, allocations: 1.52 MB / 450.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03429/0.478, allocations: 6.243 MB / 457.2 MB, free: 9.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01314/0.4912, allocations: 5.608 MB / 462.8 MB, free: 3.852 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008492/0.492, allocations: 0.6743 MB / 463.5 MB, free: 3.176 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003815/0.4959, allocations: 0.8827 MB / 464.3 MB, free: 2.293 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04295/0.5388, allocations: 14.67 MB / 479 MB, free: 3.566 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005543/0.5395, allocations: 11.91 kB / 479 MB, free: 3.555 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003669/0.5431, allocations: 376 kB / 479.4 MB, free: 3.188 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005894/0.5438, allocations: 495.3 kB / 479.9 MB, free: 2.699 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0264/0.5702, allocations: 13.49 MB / 493.4 MB, free: 5.18 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07257/0.6428, allocations: 45.22 MB / 0.526 GB, free: 6.715 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3942/1.037, allocations: 11.67 MB / 0.5374 GB, free: 122.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00595/1.043, allocations: 3.216 MB / 0.5405 GB, free: 122.6 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005579/1.044, allocations: 261.4 kB / 0.5407 GB, free: 122.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.875e-05/1.044, allocations: 76.75 kB / 0.5408 GB, free: 122.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=421): time 7.073e-06/1.044, allocations: 0 / 0.5408 GB, free: 122.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=421): time 0.02699/1.071, allocations: 11 MB / 0.5516 GB, free: 119.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/1.071, allocations: 120.9 kB / 0.5517 GB, free: 119.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006036/1.077, allocations: 3.129 MB / 0.5547 GB, free: 118.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009529/1.078, allocations: 97.3 kB / 0.5548 GB, free: 118.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002521/1.08, allocations: 3.689 MB / 0.5584 GB, free: 115.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001557/1.082, allocations: 1.428 MB / 0.5598 GB, free: 114.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003348/1.082, allocations: 115.5 kB / 0.5599 GB, free: 114.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002776/1.083, allocations: 0.5469 MB / 0.5605 GB, free: 113.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004229/1.087, allocations: 2.887 MB / 0.5633 GB, free: 112.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00498/1.092, allocations: 4.953 MB / 0.5681 GB, free: 109.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005059/1.097, allocations: 4.01 MB / 0.572 GB, free: 107.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.331e-05/1.097, allocations: 20.41 kB / 0.5721 GB, free: 107.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01341/1.11, allocations: 9.189 MB / 0.581 GB, free: 103.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.373e-05/1.111, allocations: 33.94 kB / 0.5811 GB, free: 103.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001101/1.111, allocations: 70.2 kB / 0.5811 GB, free: 103.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002641/1.113, allocations: 1.123 MB / 0.5822 GB, free: 103.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004327/1.118, allocations: 1.291 MB / 0.5835 GB, free: 102.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01118/1.129, allocations: 9.923 MB / 0.5932 GB, free: 92.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0046/1.134, allocations: 0.7434 MB / 0.5939 GB, free: 91.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009502/1.134, allocations: 272 kB / 0.5942 GB, free: 91.47 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 303 * 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 (681): * Single equations (assignments): 671 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(6,100.0%) 24,(5,80.0%) 33} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00647/1.141, allocations: 3.431 MB / 0.5975 GB, free: 88.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001001/1.142, allocations: 347.6 kB / 0.5979 GB, free: 87.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01058/1.153, allocations: 7.027 MB / 0.6047 GB, free: 80.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008005/1.161, allocations: 5.843 MB / 0.6104 GB, free: 74.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.325e-05/1.161, allocations: 12 kB / 0.6104 GB, free: 74.69 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.151e-05/1.161, allocations: 19.92 kB / 0.6104 GB, free: 74.67 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02277/1.184, allocations: 15.54 MB / 0.6256 GB, free: 58.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.313e-05/1.184, allocations: 12 kB / 0.6256 GB, free: 58.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002888/1.186, allocations: 0.784 MB / 0.6264 GB, free: 58.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002601/1.189, allocations: 1.024 MB / 0.6274 GB, free: 57.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004836/1.19, allocations: 115.9 kB / 0.6275 GB, free: 57.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01076/1.2, allocations: 9.651 MB / 0.6369 GB, free: 47.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.578e-06/1.2, allocations: 23.88 kB / 0.637 GB, free: 47.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01382/1.214, allocations: 10.88 MB / 0.6476 GB, free: 36.01 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001833/1.216, allocations: 1.011 MB / 0.6486 GB, free: 34.97 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005202/1.217, allocations: 95.98 kB / 0.6487 GB, free: 34.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001905/1.219, allocations: 279.8 kB / 0.6489 GB, free: 34.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005445/1.219, allocations: 343.2 kB / 0.6493 GB, free: 34.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002347/1.219, allocations: 141.7 kB / 0.6494 GB, free: 34.13 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002632/1.222, allocations: 2.101 MB / 0.6514 GB, free: 32.03 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.42e-07/1.222, allocations: 0 / 0.6514 GB, free: 32.03 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005581/1.228, allocations: 2.23 MB / 0.6536 GB, free: 29.79 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * Number of states: 2 (sineVoltage_m.plug_p.reference.gamma,sineVoltage_e.plug_p.reference.gamma) * 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 (421): * Single equations (assignments): 411 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(6,100.0%) 24,(5,80.0%) 33} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01347/1.241, allocations: 11.63 MB / 0.665 GB, free: 17.94 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01121/1.252, allocations: 7.537 MB / 0.6723 GB, free: 10.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.406e-05/1.252, allocations: 5.938 kB / 0.6723 GB, free: 10.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005476/1.258, allocations: 3.707 MB / 0.676 GB, free: 6.652 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004089/1.262, allocations: 0.778 MB / 0.6767 GB, free: 5.891 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2798/1.542, allocations: 43.25 MB / 0.719 GB, free: 148.3 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007487/1.549, allocations: 5.936 MB / 0.7248 GB, free: 147.4 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.006046/1.555, allocations: 2.162 MB / 0.7269 GB, free: 147.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00385/1.559, allocations: 3.027 MB / 0.7298 GB, free: 145 MB / 478.1 MB Notification: Performance of SimCode: time 2.514e-06/1.559, allocations: 0 / 0.7298 GB, free: 145 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1338/1.693, allocations: 111.2 MB / 0.8384 GB, free: 51.59 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001768/1.693, allocations: 255.7 kB / 0.8387 GB, free: 51.25 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.17/6.864, allocations: 0 / 0.8387 GB, free: 51.25 MB / 478.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat does not exist to compare? outputFormat=mat