Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.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.AC3ph.Elementary.Rectifier,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Rectifier,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_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.001029/0.001029, allocations: 183.9 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.214/1.214, allocations: 205.2 MB / 213.7 MB, free: 13.87 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.0008784/0.0008784, allocations: 82.5 kB / 261.7 MB, free: 13.58 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1697/0.1697, allocations: 37.96 MB / 347.7 MB, free: 7.504 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1769/0.3466, allocations: 62.45 MB / 410.1 MB, free: 46.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08824/0.4349, allocations: 56.31 MB / 466.4 MB, free: 6.398 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2824/0.7173, allocations: 109.3 MB / 0.5622 GB, free: 1.242 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/0.7176, allocations: 87.95 kB / 0.5623 GB, free: 1.156 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.07054/0.7881, allocations: 24.01 MB / 0.5857 GB, free: 8.883 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.7882, allocations: 12 kB / 0.5857 GB, free: 8.871 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008978/0.7891, allocations: 146.7 kB / 0.5859 GB, free: 8.727 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003594/0.7927, allocations: 1.254 MB / 0.5871 GB, free: 7.434 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002548/0.793, allocations: 151.1 kB / 0.5872 GB, free: 7.266 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002367/0.7932, allocations: 48 kB / 0.5873 GB, free: 7.219 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001921/0.7952, allocations: 1.074 MB / 0.5883 GB, free: 6.145 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001946/0.7971, allocations: 1.194 MB / 0.5895 GB, free: 4.879 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.339e-05/0.7972, allocations: 7.984 kB / 0.5895 GB, free: 4.871 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.118e-05/0.7973, allocations: 3.906 kB / 0.5895 GB, free: 4.867 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.14e-05/0.7974, allocations: 57.92 kB / 0.5896 GB, free: 4.812 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007605/0.805, allocations: 4.807 MB / 0.5943 GB, free: 15.86 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001277/0.8063, allocations: 0.8416 MB / 0.5951 GB, free: 15 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001059/0.8074, allocations: 0.6125 MB / 0.5957 GB, free: 14.38 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.481e-05/0.8075, allocations: 12.5 kB / 0.5957 GB, free: 14.37 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.8076, allocations: 42.94 kB / 0.5957 GB, free: 14.32 MB / 442.7 MB Notification: Performance of pre-optimization done (n=74): time 4.799e-06/0.8076, allocations: 0 / 0.5957 GB, free: 14.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=75): time 0.004323/0.8119, allocations: 2.367 MB / 0.598 GB, free: 11.88 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.812, allocations: 81.77 kB / 0.5981 GB, free: 11.77 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000433/0.8124, allocations: 337 kB / 0.5984 GB, free: 11.44 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.713e-05/0.8125, allocations: 25.7 kB / 0.5985 GB, free: 11.41 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002263/0.8127, allocations: 339.3 kB / 0.5988 GB, free: 11.07 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002312/0.813, allocations: 256.2 kB / 0.599 GB, free: 10.81 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.562e-05/0.813, allocations: 0 / 0.599 GB, free: 10.81 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.8132, allocations: 378.7 kB / 0.5994 GB, free: 10.43 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006679/0.8139, allocations: 449.7 kB / 0.5998 GB, free: 9.996 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007565/0.8146, allocations: 0.6186 MB / 0.6004 GB, free: 9.297 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00078/0.8154, allocations: 0.5235 MB / 0.6009 GB, free: 8.773 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.8154, allocations: 4 kB / 0.6009 GB, free: 8.77 MB / 442.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00377/0.8192, allocations: 1.87 MB / 0.6028 GB, free: 6.871 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.8193, allocations: 9.312 kB / 0.6028 GB, free: 6.863 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003278/0.8225, allocations: 1.65 MB / 0.6044 GB, free: 5.184 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001233/0.8238, allocations: 0.5363 MB / 0.6049 GB, free: 4.641 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006334/0.8244, allocations: 139.7 kB / 0.605 GB, free: 4.504 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007468/0.8319, allocations: 5.719 MB / 0.6106 GB, free: 14.56 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007186/0.8327, allocations: 64.02 kB / 0.6107 GB, free: 14.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.475e-05/0.8328, allocations: 32 kB / 0.6107 GB, free: 14.46 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (76): * Single equations (assignments): 72 * Array equations: 2 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {4 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002113/0.833, allocations: 120.8 kB / 0.6108 GB, free: 14.34 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001852/0.8332, allocations: 59.25 kB / 0.6109 GB, free: 14.28 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001934/0.8351, allocations: 1.168 MB / 0.612 GB, free: 13.08 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.223e-05/0.8352, allocations: 19.98 kB / 0.6121 GB, free: 13.06 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.8352, allocations: 4 kB / 0.6121 GB, free: 13.05 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.8352, allocations: 3.984 kB / 0.6121 GB, free: 13.05 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003497/0.8387, allocations: 2.151 MB / 0.6142 GB, free: 10.82 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.8387, allocations: 4.094 kB / 0.6142 GB, free: 10.82 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002992/0.8417, allocations: 0.6907 MB / 0.6148 GB, free: 10.13 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.276e-05/0.8418, allocations: 32.84 kB / 0.6149 GB, free: 10.09 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-05/0.8419, allocations: 4 kB / 0.6149 GB, free: 10.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009794/0.8429, allocations: 1.329 MB / 0.6162 GB, free: 8.648 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.8429, allocations: 8.016 kB / 0.6162 GB, free: 8.641 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002485/0.8454, allocations: 1.909 MB / 0.618 GB, free: 6.652 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003505/0.8489, allocations: 3 MB / 0.621 GB, free: 3.578 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001988/0.8492, allocations: 124.4 kB / 0.6211 GB, free: 3.438 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002068/0.8494, allocations: 7.984 kB / 0.6211 GB, free: 3.43 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006483/0.85, allocations: 55.94 kB / 0.6212 GB, free: 3.375 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001841/0.8502, allocations: 52.58 kB / 0.6212 GB, free: 3.324 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.089e-05/0.8503, allocations: 19.98 kB / 0.6212 GB, free: 3.305 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0003155/0.8506, allocations: 255.1 kB / 0.6215 GB, free: 3.055 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001715/0.8524, allocations: 227.8 kB / 0.6217 GB, free: 2.832 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],meterDC.pav) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000348/0.8527, allocations: 147 kB / 0.6218 GB, free: 2.68 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00222/0.855, allocations: 1.372 MB / 0.6232 GB, free: 1.285 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.855, allocations: 4.062 kB / 0.6232 GB, free: 1.281 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003596/0.8586, allocations: 1.355 MB / 0.6245 GB, free: 15.92 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008687/0.8595, allocations: 97.98 kB / 0.6246 GB, free: 15.82 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004494/0.864, allocations: 1.896 MB / 0.6264 GB, free: 13.88 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001126/0.8652, allocations: 1.145 MB / 0.6276 GB, free: 12.7 MB / 474.7 MB Notification: Performance of SimCode: time 1.272e-06/0.8652, allocations: 0 / 0.6276 GB, free: 12.7 MB / 474.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Rectifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Rectifier.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1)