Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.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.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_3_2_3_cpp_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/Complex 3.2.3+maint.om/package.mo): time 0.001459/0.001464, allocations: 182.6 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.967/1.967, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00122/0.00122, allocations: 89.56 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004034/0.0004036, allocations: 11.98 kB / 327.1 MB, free: 104 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3253, allocations: 47.57 MB / 374.6 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01893/0.3443, allocations: 13.21 MB / 387.9 MB, free: 35.2 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01165/0.356, allocations: 4.401 MB / 392.3 MB, free: 31.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003408/0.3595, allocations: 103.7 kB / 392.4 MB, free: 31.08 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004218/0.3637, allocations: 0.9055 MB / 393.3 MB, free: 30.17 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007011/0.3708, allocations: 1.528 MB / 394.8 MB, free: 28.64 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005146/0.376, allocations: 1.28 MB / 396.1 MB, free: 27.37 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01796/0.3939, allocations: 9.126 MB / 405.2 MB, free: 18.23 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04008/0.4341, allocations: 17.2 MB / 422.4 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007768/0.4419, allocations: 3.571 MB / 426 MB, free: 13.36 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009462/0.4514, allocations: 3.926 MB / 429.9 MB, free: 9.414 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002716/0.4542, allocations: 0.5625 MB / 430.5 MB, free: 8.852 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00479/0.459, allocations: 0.7926 MB / 431.2 MB, free: 8.059 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003635/0.4627, allocations: 1.705 MB / 432.9 MB, free: 6.348 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003939/0.4667, allocations: 1.771 MB / 434.7 MB, free: 4.566 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02446/0.4912, allocations: 15.22 MB / 449.9 MB, free: 5.301 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.4913, allocations: 0 / 449.9 MB, free: 5.301 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.4913, allocations: 0 / 449.9 MB, free: 5.301 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004801/0.4918, allocations: 0 / 449.9 MB, free: 5.301 MB / 330.7 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.04453/0.5363, allocations: 10.31 MB / 460.3 MB, free: 10.91 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.5364, allocations: 8.031 kB / 460.3 MB, free: 10.9 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006363/0.5427, allocations: 1.516 MB / 461.8 MB, free: 9.375 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05398/0.5968, allocations: 6.267 MB / 468 MB, free: 3.09 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01709/0.6139, allocations: 5.095 MB / 473.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001057/0.615, allocations: 0.6664 MB / 473.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004086/0.6191, allocations: 0.8826 MB / 474.7 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05022/0.6694, allocations: 14.6 MB / 489.3 MB, free: 13.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004163/0.6698, allocations: 7.906 kB / 489.3 MB, free: 13.72 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002977/0.6728, allocations: 376 kB / 489.7 MB, free: 13.35 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008072/0.6736, allocations: 0.4992 MB / 490.2 MB, free: 12.85 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5764/1.25, allocations: 13.48 MB / 0.4918 GB, free: 91.23 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1021/1.352, allocations: 44.73 MB / 0.5355 GB, free: 62.75 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01753/1.37, allocations: 11.69 MB / 0.5469 GB, free: 49.97 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007716/1.371, allocations: 177.2 kB / 0.5471 GB, free: 49.79 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.531e-05/1.371, allocations: 82.52 kB / 0.5472 GB, free: 49.7 MB / 378.8 MB Notification: Performance of pre-optimization done (n=421): time 8.035e-06/1.371, allocations: 224 / 0.5472 GB, free: 49.7 MB / 378.8 MB Notification: Performance of matching and sorting (n=421): time 0.03454/1.405, allocations: 10.3 MB / 0.5572 GB, free: 39.21 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.582e-05/1.405, allocations: 129.1 kB / 0.5574 GB, free: 39.07 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006884/1.412, allocations: 3.14 MB / 0.5604 GB, free: 35.91 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008483/1.413, allocations: 89.7 kB / 0.5605 GB, free: 35.81 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002425/1.416, allocations: 3.614 MB / 0.564 GB, free: 32.18 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001919/1.418, allocations: 1.427 MB / 0.5654 GB, free: 30.76 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007379/1.418, allocations: 120 kB / 0.5655 GB, free: 30.64 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 0.000398/1.419, allocations: 0.5458 MB / 0.5661 GB, free: 30.09 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006975/1.426, allocations: 2.908 MB / 0.5689 GB, free: 27.18 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008551/1.434, allocations: 4.951 MB / 0.5738 GB, free: 21.28 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009011/1.444, allocations: 4.025 MB / 0.5777 GB, free: 17.24 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-05/1.444, allocations: 20 kB / 0.5777 GB, free: 17.22 MB / 378.8 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.02424/1.468, allocations: 9.088 MB / 0.5866 GB, free: 8.078 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.745e-05/1.468, allocations: 36 kB / 0.5866 GB, free: 8.043 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001158/1.468, allocations: 64 kB / 0.5867 GB, free: 7.98 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005145/1.473, allocations: 1.112 MB / 0.5878 GB, free: 6.863 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008952/1.482, allocations: 1.303 MB / 0.589 GB, free: 5.559 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02224/1.505, allocations: 10.08 MB / 0.5989 GB, free: 11.21 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006629/1.511, allocations: 0.7395 MB / 0.5996 GB, free: 10.46 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001381/1.513, allocations: 272 kB / 0.5999 GB, free: 10.2 MB / 394.8 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.01049/1.523, allocations: 3.427 MB / 0.6032 GB, free: 6.758 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001272/1.525, allocations: 351.6 kB / 0.6035 GB, free: 6.41 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02442/1.549, allocations: 7.062 MB / 0.6104 GB, free: 15.29 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01795/1.567, allocations: 5.855 MB / 0.6162 GB, free: 9.383 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.295e-05/1.567, allocations: 8 kB / 0.6162 GB, free: 9.375 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001353/1.567, allocations: 27.91 kB / 0.6162 GB, free: 9.348 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04627/1.614, allocations: 15.11 MB / 0.6309 GB, free: 10.13 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.507e-05/1.614, allocations: 4 kB / 0.631 GB, free: 10.13 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006452/1.62, allocations: 0.7645 MB / 0.6317 GB, free: 9.363 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005466/1.626, allocations: 1.016 MB / 0.6327 GB, free: 8.34 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008775/1.627, allocations: 99.97 kB / 0.6328 GB, free: 8.242 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02392/1.65, allocations: 9.954 MB / 0.6425 GB, free: 14.03 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.119e-05/1.651, allocations: 8 kB / 0.6425 GB, free: 14.02 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03006/1.681, allocations: 11.14 MB / 0.6534 GB, free: 2.48 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003752/1.684, allocations: 0.9912 MB / 0.6544 GB, free: 1.465 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001427/1.686, allocations: 80 kB / 0.6544 GB, free: 1.387 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004752/1.691, allocations: 271.8 kB / 0.6547 GB, free: 1.121 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001542/1.692, allocations: 311.4 kB / 0.655 GB, free: 0.8164 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006091/1.693, allocations: 128.2 kB / 0.6551 GB, free: 0.6914 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.2996/1.992, allocations: 2.098 MB / 0.6572 GB, free: 143 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.333e-06/1.993, allocations: 0 / 0.6572 GB, free: 143 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.01015/2.003, allocations: 2.234 MB / 0.6593 GB, free: 142.8 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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 (401): * Single equations (assignments): 391 * 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.02993/2.033, allocations: 13.61 MB / 0.6726 GB, free: 136.9 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.01859/2.051, allocations: 7.54 MB / 0.68 GB, free: 134 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.431e-05/2.051, allocations: 3.906 kB / 0.68 GB, free: 134 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.009697/2.061, allocations: 3.66 MB / 0.6836 GB, free: 132.6 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005576/2.067, allocations: 0.6901 MB / 0.6843 GB, free: 132.4 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1081/2.175, allocations: 87.97 MB / 0.7702 GB, free: 46.7 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01005/2.185, allocations: 5.893 MB / 0.7759 GB, free: 40.77 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006993/2.192, allocations: 3.049 MB / 0.7789 GB, free: 37.73 MB / 442.8 MB Notification: Performance of SimCode: time 1.984e-06/2.192, allocations: 0 / 0.7789 GB, free: 37.73 MB / 442.8 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.295/7.487, allocations: 228.7 MB / 1.002 GB, free: 138.9 MB / 474.8 MB (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat does not exist to compare? outputFormat=mat