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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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"}) [: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 3.2.3+maint.om/package.mo): time 0.0017/0.0017, allocations: 179.6 kB / 8.479 MB, free: 1.879 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.177/1.177, allocations: 205.2 MB / 214.1 MB, free: 5.094 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009294/0.0009293, allocations: 97.91 kB / 262.1 MB, free: 5.141 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1534/0.1543, allocations: 52.96 MB / 315.1 MB, free: 41.41 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06274/0.2171, allocations: 47.58 MB / 362.6 MB, free: 9.875 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2143/0.4314, allocations: 86.97 MB / 449.6 MB, free: 9.855 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001969/0.4317, allocations: 86.34 kB / 449.7 MB, free: 9.84 MB / 314.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.1327/0.5644, allocations: 55.82 MB / 0.4937 GB, free: 4.543 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.5645, allocations: 12 kB / 0.4937 GB, free: 4.531 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003587/0.5681, allocations: 0.5937 MB / 0.4943 GB, free: 3.934 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003757/0.5718, allocations: 1.836 MB / 0.4961 GB, free: 2.059 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.687e-05/0.5719, allocations: 88 kB / 0.4961 GB, free: 1.973 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003583/0.5723, allocations: 159.9 kB / 0.4963 GB, free: 1.816 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004514/0.5768, allocations: 2.701 MB / 0.4989 GB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004967/0.5818, allocations: 3.134 MB / 0.502 GB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.098e-05/0.5819, allocations: 11.94 kB / 0.502 GB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002267/0.5821, allocations: 3.906 kB / 0.502 GB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.965e-05/0.5822, allocations: 105.4 kB / 0.5021 GB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01537/0.5976, allocations: 10.1 MB / 0.512 GB, free: 1.395 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.5988, allocations: 0.8127 MB / 0.5128 GB, free: 0.5742 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001322/0.6001, allocations: 0.916 MB / 0.5137 GB, free: 15.65 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003936/0.604, allocations: 2.546 MB / 0.5161 GB, free: 13.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.6041, allocations: 55.5 kB / 0.5162 GB, free: 12.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=117): time 2.946e-06/0.6041, allocations: 0 / 0.5162 GB, free: 12.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=117): time 0.002927/0.607, allocations: 1.599 MB / 0.5178 GB, free: 11.38 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.6071, allocations: 90.11 kB / 0.5178 GB, free: 11.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001445/0.6086, allocations: 1.133 MB / 0.5189 GB, free: 10.13 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.737e-05/0.6086, allocations: 29.7 kB / 0.519 GB, free: 10.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005416/0.6092, allocations: 0.9532 MB / 0.5199 GB, free: 9.125 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002905/0.6095, allocations: 394.1 kB / 0.5203 GB, free: 8.734 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.444e-05/0.6096, allocations: 0 / 0.5203 GB, free: 8.734 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.6097, allocations: 357.9 kB / 0.5206 GB, free: 8.379 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008739/0.6106, allocations: 0.596 MB / 0.5212 GB, free: 7.785 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001026/0.6116, allocations: 0.8694 MB / 0.5221 GB, free: 6.805 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001341/0.613, allocations: 0.7791 MB / 0.5228 GB, free: 6.023 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.613, allocations: 4 kB / 0.5228 GB, free: 6.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.003733/0.6167, allocations: 1.989 MB / 0.5248 GB, free: 4.027 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.6168, allocations: 8 kB / 0.5248 GB, free: 4.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.6168, allocations: 8 kB / 0.5248 GB, free: 4.012 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009589/0.6177, allocations: 412.5 kB / 0.5252 GB, free: 3.605 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/0.6188, allocations: 239.7 kB / 0.5254 GB, free: 3.371 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006728/0.6255, allocations: 5.651 MB / 0.5309 GB, free: 13.49 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008612/0.6264, allocations: 122.7 kB / 0.531 GB, free: 13.37 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/0.6265, allocations: 55.98 kB / 0.5311 GB, free: 13.32 MB / 394.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.0002112/0.6267, allocations: 128.7 kB / 0.5312 GB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002309/0.627, allocations: 138.3 kB / 0.5313 GB, free: 13.05 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003166/0.6302, allocations: 1.729 MB / 0.533 GB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.319e-05/0.6302, allocations: 12 kB / 0.533 GB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.6302, allocations: 8 kB / 0.5331 GB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.383e-05/0.6302, allocations: 7.969 kB / 0.5331 GB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006112/0.6363, allocations: 3.92 MB / 0.5369 GB, free: 7.289 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.6364, allocations: 0 / 0.5369 GB, free: 7.289 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000754/0.6371, allocations: 164 kB / 0.537 GB, free: 7.129 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009506/0.6381, allocations: 398.2 kB / 0.5374 GB, free: 6.734 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.945e-05/0.6382, allocations: 23.97 kB / 0.5374 GB, free: 6.711 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006682/0.6449, allocations: 5.638 MB / 0.543 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.6449, allocations: 4 kB / 0.543 GB, free: 0.832 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004005/0.6489, allocations: 2.686 MB / 0.5456 GB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006964/0.6559, allocations: 5.463 MB / 0.5509 GB, free: 8.555 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003632/0.6563, allocations: 243.2 kB / 0.5511 GB, free: 8.297 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000229/0.6565, allocations: 12 kB / 0.5512 GB, free: 8.285 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009169/0.6574, allocations: 83.92 kB / 0.5512 GB, free: 8.203 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001812/0.6576, allocations: 76.78 kB / 0.5513 GB, free: 8.129 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.615e-05/0.6577, allocations: 32 kB / 0.5513 GB, free: 8.098 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.001203/0.6589, allocations: 0.8647 MB / 0.5522 GB, free: 7.227 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002408/0.6613, allocations: 0.6336 MB / 0.5528 GB, free: 6.59 MB / 410.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.0002712/0.6616, allocations: 154.7 kB / 0.553 GB, free: 6.434 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002557/0.6642, allocations: 1.725 MB / 0.5546 GB, free: 4.688 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.6642, allocations: 4 kB / 0.5546 GB, free: 4.684 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001627/0.6658, allocations: 1.052 MB / 0.5557 GB, free: 3.613 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.667, allocations: 240.5 kB / 0.5559 GB, free: 3.375 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006408/0.6734, allocations: 3.808 MB / 0.5596 GB, free: 15.48 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002243/0.6757, allocations: 2.318 MB / 0.5619 GB, free: 13.13 MB / 426.7 MB Notification: Performance of SimCode: time 4.91e-07/0.6757, allocations: 0 / 0.5619 GB, free: 13.13 MB / 426.7 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) 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