Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001043/0.001043, allocations: 198.5 kB / 8.539 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.159/1.159, allocations: 225.5 MB / 234.4 MB, free: 3.387 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009/0.0009, allocations: 93.41 kB / 286.3 MB, free: 5.223 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.08768/0.08861, allocations: 56.9 MB / 343.2 MB, free: 8.613 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07867/0.1673, allocations: 51.48 MB / 394.7 MB, free: 5.082 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2058/0.3731, allocations: 89.7 MB / 484.4 MB, free: 3.574 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001958/0.3734, allocations: 81.5 kB / 484.5 MB, free: 3.531 MB / 346.7 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.1312/0.5045, allocations: 58.53 MB / 0.5303 GB, free: 13.99 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.5046, allocations: 8 kB / 0.5303 GB, free: 13.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003421/0.508, allocations: 0.6718 MB / 0.531 GB, free: 13.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003123/0.5111, allocations: 1.838 MB / 0.5328 GB, free: 11.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.71e-05/0.5112, allocations: 84 kB / 0.5328 GB, free: 11.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003241/0.5116, allocations: 159.9 kB / 0.533 GB, free: 11.17 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004261/0.5158, allocations: 2.697 MB / 0.5356 GB, free: 8.465 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004689/0.5205, allocations: 3.126 MB / 0.5387 GB, free: 5.215 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.081e-05/0.5206, allocations: 0 / 0.5387 GB, free: 5.215 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002133/0.5208, allocations: 4 kB / 0.5387 GB, free: 5.211 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.092e-05/0.5209, allocations: 101.4 kB / 0.5388 GB, free: 5.109 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01487/0.5358, allocations: 10.09 MB / 0.5486 GB, free: 10.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001114/0.5369, allocations: 0.8186 MB / 0.5494 GB, free: 9.859 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001255/0.5382, allocations: 0.9011 MB / 0.5503 GB, free: 8.957 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003972/0.5422, allocations: 2.792 MB / 0.553 GB, free: 6.023 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.5422, allocations: 55.5 kB / 0.5531 GB, free: 5.961 MB / 426.7 MB Notification: Performance of pre-optimization done (n=117): time 2.875e-06/0.5422, allocations: 0 / 0.5531 GB, free: 5.961 MB / 426.7 MB Notification: Performance of matching and sorting (n=117): time 0.002846/0.5451, allocations: 1.599 MB / 0.5546 GB, free: 4.352 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.5451, allocations: 94.05 kB / 0.5547 GB, free: 4.242 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001358/0.5465, allocations: 1.137 MB / 0.5558 GB, free: 3.094 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.553e-05/0.5466, allocations: 29.7 kB / 0.5559 GB, free: 3.059 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004807/0.5471, allocations: 0.9571 MB / 0.5568 GB, free: 2.086 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002573/0.5473, allocations: 386.2 kB / 0.5572 GB, free: 1.703 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.156e-05/0.5474, allocations: 0 / 0.5572 GB, free: 1.703 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.5475, allocations: 357.9 kB / 0.5575 GB, free: 1.348 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008182/0.5483, allocations: 0.6038 MB / 0.5581 GB, free: 0.7461 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009756/0.5493, allocations: 0.8655 MB / 0.559 GB, free: 15.77 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001278/0.5506, allocations: 0.7791 MB / 0.5597 GB, free: 14.99 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.237e-06/0.5506, allocations: 4 kB / 0.5597 GB, free: 14.99 MB / 442.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.003232/0.5539, allocations: 1.998 MB / 0.5617 GB, free: 12.98 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.5539, allocations: 7.438 kB / 0.5617 GB, free: 12.97 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.5539, allocations: 11.91 kB / 0.5617 GB, free: 12.96 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009389/0.5549, allocations: 400.6 kB / 0.5621 GB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.5559, allocations: 243.6 kB / 0.5623 GB, free: 12.33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006401/0.5623, allocations: 5.651 MB / 0.5678 GB, free: 6.449 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008887/0.5632, allocations: 126.7 kB / 0.5679 GB, free: 6.324 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/0.5633, allocations: 52 kB / 0.568 GB, free: 6.273 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 120 * 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.0002019/0.5635, allocations: 124.7 kB / 0.5681 GB, free: 6.145 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002151/0.5638, allocations: 142.3 kB / 0.5682 GB, free: 6.004 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003025/0.5668, allocations: 1.723 MB / 0.5699 GB, free: 4.262 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.5668, allocations: 15.98 kB / 0.5699 GB, free: 4.246 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.5668, allocations: 11.94 kB / 0.57 GB, free: 4.234 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.31e-05/0.5669, allocations: 7.969 kB / 0.57 GB, free: 4.227 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006/0.5729, allocations: 3.914 MB / 0.5738 GB, free: 220 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.5729, allocations: 4 kB / 0.5738 GB, free: 216 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007298/0.5736, allocations: 164 kB / 0.5739 GB, free: 52 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1045/0.6781, allocations: 396.3 kB / 0.5743 GB, free: 140.4 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001272/0.6782, allocations: 22.02 kB / 0.5743 GB, free: 140.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005066/0.6833, allocations: 5.644 MB / 0.5799 GB, free: 137.9 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.6833, allocations: 3.562 kB / 0.5799 GB, free: 137.9 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00307/0.6864, allocations: 2.687 MB / 0.5825 GB, free: 137.5 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005353/0.6918, allocations: 5.457 MB / 0.5878 GB, free: 136.6 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000235/0.692, allocations: 246.4 kB / 0.588 GB, free: 136.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002126/0.6922, allocations: 19.58 kB / 0.5881 GB, free: 136.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008495/0.6931, allocations: 81.22 kB / 0.5881 GB, free: 136.4 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001454/0.6933, allocations: 72.83 kB / 0.5882 GB, free: 136.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.35e-05/0.6933, allocations: 33.97 kB / 0.5882 GB, free: 136.4 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0009248/0.6943, allocations: 0.8704 MB / 0.5891 GB, free: 136.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001959/0.6962, allocations: 0.6453 MB / 0.5897 GB, free: 136.2 MB / 442.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 75 * 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.0002514/0.6965, allocations: 158.3 kB / 0.5899 GB, free: 136.1 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002065/0.6986, allocations: 1.729 MB / 0.5916 GB, free: 135.9 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.6986, allocations: 7.594 kB / 0.5916 GB, free: 135.9 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001358/0.7, allocations: 1.056 MB / 0.5926 GB, free: 135.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.701, allocations: 233.2 kB / 0.5928 GB, free: 135.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005263/0.7063, allocations: 3.805 MB / 0.5965 GB, free: 134.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001661/0.7079, allocations: 2.311 MB / 0.5988 GB, free: 134.1 MB / 442.7 MB Notification: Performance of SimCode: time 3.71e-07/0.7079, allocations: 3.828 kB / 0.5988 GB, free: 134.1 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat does not exist to compare? outputFormat=mat