Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) 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(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Rectifier",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.001085/0.001085, allocations: 183.6 kB / 8.135 MB, free: 2.223 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.433/1.433, allocations: 205.2 MB / 213.7 MB, free: 13.84 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.0009626/0.0009626, allocations: 98.42 kB / 261.8 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2038/0.2038, allocations: 37.98 MB / 347.7 MB, free: 7.449 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2766/0.4805, allocations: 62.44 MB / 410.1 MB, free: 46.74 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.6152, allocations: 56.31 MB / 466.4 MB, free: 6.355 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4189/1.034, allocations: 99.49 MB / 0.5526 GB, free: 11.05 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000404/1.035, allocations: 87.95 kB / 0.5527 GB, free: 10.96 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.04623/1.081, allocations: 14.57 MB / 0.567 GB, free: 12.22 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.853e-05/1.081, allocations: 12 kB / 0.567 GB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004982/1.081, allocations: 75.09 kB / 0.567 GB, free: 12.13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004094/1.086, allocations: 1.116 MB / 0.5681 GB, free: 10.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002118/1.086, allocations: 104.7 kB / 0.5682 GB, free: 10.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/1.086, allocations: 32 kB / 0.5683 GB, free: 10.83 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001205/1.087, allocations: 0.5726 MB / 0.5688 GB, free: 10.26 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/1.089, allocations: 0.6748 MB / 0.5695 GB, free: 9.539 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.448e-05/1.089, allocations: 4 kB / 0.5695 GB, free: 9.535 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.737e-05/1.089, allocations: 4 kB / 0.5695 GB, free: 9.531 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/1.089, allocations: 12 kB / 0.5695 GB, free: 9.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00517/1.094, allocations: 2.721 MB / 0.5722 GB, free: 6.719 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007018/1.095, allocations: 0.4895 MB / 0.5726 GB, free: 6.211 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003996/1.095, allocations: 285.7 kB / 0.5729 GB, free: 5.926 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.839e-05/1.095, allocations: 4 kB / 0.5729 GB, free: 5.922 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/1.095, allocations: 38.55 kB / 0.5729 GB, free: 5.875 MB / 410.7 MB Notification: Performance of pre-optimization done (n=38): time 2.825e-06/1.095, allocations: 7.938 kB / 0.573 GB, free: 5.867 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002362/1.097, allocations: 1.302 MB / 0.5742 GB, free: 4.484 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/1.097, allocations: 81.11 kB / 0.5743 GB, free: 4.387 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003981/1.098, allocations: 316.8 kB / 0.5746 GB, free: 4.074 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.451e-05/1.098, allocations: 25.7 kB / 0.5746 GB, free: 4.043 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000165/1.098, allocations: 268 kB / 0.5749 GB, free: 3.773 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/1.098, allocations: 130 kB / 0.575 GB, free: 3.645 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.26e-05/1.098, allocations: 0 / 0.575 GB, free: 3.645 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002175/1.098, allocations: 354.8 kB / 0.5754 GB, free: 3.289 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002985/1.099, allocations: 200.9 kB / 0.5755 GB, free: 3.094 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003567/1.099, allocations: 300.8 kB / 0.5758 GB, free: 2.754 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003339/1.1, allocations: 227.6 kB / 0.576 GB, free: 2.531 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/1.1, allocations: 0 / 0.576 GB, free: 2.531 MB / 410.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001029/1.101, allocations: 0.6709 MB / 0.5767 GB, free: 1.828 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/1.101, allocations: 7.906 kB / 0.5767 GB, free: 1.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/1.101, allocations: 4 kB / 0.5767 GB, free: 1.816 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002507/1.101, allocations: 66 kB / 0.5768 GB, free: 1.746 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001648/1.103, allocations: 411.5 kB / 0.5772 GB, free: 1.344 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005562/1.108, allocations: 5.662 MB / 0.5827 GB, free: 11.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005904/1.109, allocations: 36.06 kB / 0.5827 GB, free: 11.19 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.389e-05/1.109, allocations: 23.98 kB / 0.5828 GB, free: 11.16 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001986/1.109, allocations: 114.2 kB / 0.5829 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/1.109, allocations: 47.44 kB / 0.5829 GB, free: 11 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001211/1.11, allocations: 0.6292 MB / 0.5835 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/1.11, allocations: 4 kB / 0.5835 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/1.11, allocations: 8 kB / 0.5835 GB, free: 10.33 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/1.11, allocations: 3.984 kB / 0.5835 GB, free: 10.32 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002577/1.113, allocations: 1.307 MB / 0.5848 GB, free: 8.941 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/1.113, allocations: 4 kB / 0.5848 GB, free: 8.938 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001877/1.115, allocations: 439.6 kB / 0.5852 GB, free: 8.508 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002263/1.115, allocations: 69.58 kB / 0.5853 GB, free: 8.434 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.697e-05/1.115, allocations: 7.984 kB / 0.5853 GB, free: 8.426 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00262/1.118, allocations: 2.706 MB / 0.588 GB, free: 5.484 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/1.118, allocations: 4.156 kB / 0.588 GB, free: 5.48 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001575/1.119, allocations: 1.022 MB / 0.589 GB, free: 4.387 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001972/1.121, allocations: 1.702 MB / 0.5906 GB, free: 2.613 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002469/1.122, allocations: 124.5 kB / 0.5907 GB, free: 2.473 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/1.122, allocations: 7.938 kB / 0.5907 GB, free: 2.465 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004304/1.122, allocations: 39.97 kB / 0.5908 GB, free: 2.426 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/1.122, allocations: 27.95 kB / 0.5908 GB, free: 2.398 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.905e-05/1.122, allocations: 15.98 kB / 0.5908 GB, free: 2.383 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.000341/1.123, allocations: 235.2 kB / 0.591 GB, free: 2.152 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001346/1.124, allocations: 143.9 kB / 0.5912 GB, free: 2.012 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002436/1.124, allocations: 111 kB / 0.5913 GB, free: 1.895 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002872/1.127, allocations: 1.081 MB / 0.5923 GB, free: 0.793 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/1.127, allocations: 0 / 0.5923 GB, free: 0.793 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002676/1.13, allocations: 0.9291 MB / 0.5933 GB, free: 15.84 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008454/1.131, allocations: 101.5 kB / 0.5934 GB, free: 15.75 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002958/1.134, allocations: 1.083 MB / 0.5944 GB, free: 14.63 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009377/1.135, allocations: 1.001 MB / 0.5954 GB, free: 13.6 MB / 442.7 MB Notification: Performance of SimCode: time 1.102e-06/1.135, allocations: 0 / 0.5954 GB, free: 13.6 MB / 442.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Rectifier_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Rectifier.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier_res.mat does not exist to compare? outputFormat=mat