Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.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.Inverters.Rectifier,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Inverters_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.001703/0.001703, allocations: 183.7 kB / 8.138 MB, free: 2.188 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.251/1.251, 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.0009122/0.0009122, allocations: 83.94 kB / 261.7 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.17/0.17, allocations: 37.96 MB / 347.7 MB, free: 7.469 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2223/0.3923, allocations: 62.44 MB / 410.1 MB, free: 46.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.5038, allocations: 56.31 MB / 466.4 MB, free: 6.367 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3038/0.8076, allocations: 99.18 MB / 0.5523 GB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003155/0.808, allocations: 91.94 kB / 0.5524 GB, free: 11.21 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.04365/0.8517, allocations: 15 MB / 0.5671 GB, free: 11.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.057e-05/0.8518, allocations: 15.88 kB / 0.5671 GB, free: 11.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002985/0.8521, allocations: 71.91 kB / 0.5672 GB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003039/0.8551, allocations: 1.101 MB / 0.5682 GB, free: 10.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001724/0.8553, allocations: 104.6 kB / 0.5683 GB, free: 10.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.8554, allocations: 39.89 kB / 0.5684 GB, free: 10.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001073/0.8565, allocations: 0.6078 MB / 0.569 GB, free: 9.988 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.8576, allocations: 0.6671 MB / 0.5696 GB, free: 9.277 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.8576, allocations: 0 / 0.5696 GB, free: 9.277 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.263e-05/0.8577, allocations: 4 kB / 0.5696 GB, free: 9.273 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/0.8577, allocations: 19.94 kB / 0.5696 GB, free: 9.254 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003969/0.8617, allocations: 2.525 MB / 0.5721 GB, free: 6.648 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004984/0.8622, allocations: 356 kB / 0.5724 GB, free: 6.289 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004818/0.8627, allocations: 351.5 kB / 0.5728 GB, free: 5.938 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.22e-05/0.8627, allocations: 12.42 kB / 0.5728 GB, free: 5.926 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.288e-05/0.8628, allocations: 42.94 kB / 0.5728 GB, free: 5.875 MB / 410.7 MB Notification: Performance of pre-optimization done (n=50): time 2.225e-06/0.8628, allocations: 0 / 0.5728 GB, free: 5.875 MB / 410.7 MB Notification: Performance of matching and sorting (n=51): time 0.002399/0.8652, allocations: 1.464 MB / 0.5743 GB, free: 4.332 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/0.8653, allocations: 85.48 kB / 0.5743 GB, free: 4.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003004/0.8656, allocations: 298.1 kB / 0.5746 GB, free: 3.934 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.44e-05/0.8656, allocations: 25.7 kB / 0.5747 GB, free: 3.902 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.8657, allocations: 240.3 kB / 0.5749 GB, free: 3.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/0.8659, allocations: 169.4 kB / 0.575 GB, free: 3.492 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.488e-05/0.8659, allocations: 0 / 0.575 GB, free: 3.492 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.8661, allocations: 358.8 kB / 0.5754 GB, free: 3.133 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003374/0.8664, allocations: 233.2 kB / 0.5756 GB, free: 2.902 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004021/0.8668, allocations: 333.2 kB / 0.5759 GB, free: 2.543 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003881/0.8672, allocations: 261.3 kB / 0.5762 GB, free: 2.289 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.8672, allocations: 4 kB / 0.5762 GB, free: 2.285 MB / 410.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00109/0.8683, allocations: 0.7564 MB / 0.5769 GB, free: 1.496 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.8683, allocations: 4.625 kB / 0.5769 GB, free: 1.492 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.8684, allocations: 7.938 kB / 0.5769 GB, free: 1.484 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000241/0.8686, allocations: 69.67 kB / 0.577 GB, free: 1.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001726/0.8703, allocations: 435.7 kB / 0.5774 GB, free: 0.9844 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005092/0.8754, allocations: 5.683 MB / 0.583 GB, free: 10.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004249/0.8759, allocations: 40.06 kB / 0.583 GB, free: 10.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.024e-05/0.8759, allocations: 19.91 kB / 0.583 GB, free: 10.79 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (65): * Single equations (assignments): 61 * 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.0001459/0.8761, allocations: 120.8 kB / 0.5831 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.8762, allocations: 47.44 kB / 0.5832 GB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001061/0.8773, allocations: 0.7292 MB / 0.5839 GB, free: 9.852 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.8773, allocations: 4 kB / 0.5839 GB, free: 9.848 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.8773, allocations: 0 / 0.5839 GB, free: 9.848 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.8773, allocations: 0 / 0.5839 GB, free: 9.848 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002271/0.8796, allocations: 1.505 MB / 0.5854 GB, free: 8.254 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.8796, allocations: 7.906 kB / 0.5854 GB, free: 8.246 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001878/0.8815, allocations: 463.7 kB / 0.5858 GB, free: 7.793 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000238/0.8817, allocations: 73.66 kB / 0.5859 GB, free: 7.715 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.409e-05/0.8818, allocations: 19.92 kB / 0.5859 GB, free: 7.695 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002095/0.8839, allocations: 2.729 MB / 0.5886 GB, free: 4.738 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.8839, allocations: 4 kB / 0.5886 GB, free: 4.734 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001612/0.8855, allocations: 1.261 MB / 0.5898 GB, free: 3.371 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002301/0.8878, allocations: 2.014 MB / 0.5918 GB, free: 1.238 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/0.888, allocations: 120.4 kB / 0.5919 GB, free: 1.102 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.268e-05/0.8881, allocations: 11.98 kB / 0.5919 GB, free: 1.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003893/0.8885, allocations: 35.97 kB / 0.5919 GB, free: 1.055 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.8887, allocations: 35.94 kB / 0.592 GB, free: 1.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-05/0.8887, allocations: 16 kB / 0.592 GB, free: 1.004 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0002994/0.889, allocations: 232.6 kB / 0.5922 GB, free: 0.7812 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001293/0.8903, allocations: 139.9 kB / 0.5923 GB, free: 0.6445 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (51): * Single equations (assignments): 48 * 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.0002672/0.8906, allocations: 123.3 kB / 0.5925 GB, free: 0.5156 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002904/0.8935, allocations: 1.168 MB / 0.5936 GB, free: 15.33 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.8935, allocations: 0 / 0.5936 GB, free: 15.33 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00257/0.8961, allocations: 1.011 MB / 0.5946 GB, free: 14.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006367/0.8967, allocations: 93.28 kB / 0.5947 GB, free: 14.21 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002808/0.8996, allocations: 1.271 MB / 0.5959 GB, free: 12.88 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006674/0.9002, allocations: 0.9988 MB / 0.5969 GB, free: 11.85 MB / 442.7 MB Notification: Performance of SimCode: time 6.92e-07/0.9002, allocations: 0 / 0.5969 GB, free: 11.85 MB / 442.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier_res.mat does not exist to compare? outputFormat=mat