Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSysPro.Examples.OneSourceThreeLinesOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceThreeLinesOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource",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 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 185.1 kB / 7.843 MB, free: 56 kB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.242/1.242, allocations: 221.4 MB / 229.6 MB, free: 7.672 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009545/0.0009543, allocations: 95.88 kB / 280.5 MB, free: 5.148 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04044/0.04044, allocations: 8.107 MB / 339.4 MB, free: 10.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1853/0.2258, allocations: 58.61 MB / 398 MB, free: 71.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08538/0.3112, allocations: 52.51 MB / 450.5 MB, free: 19.18 MB / 302.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2482/0.5594, allocations: 77.66 MB / 0.5158 GB, free: 6.973 MB / 334.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/0.5597, allocations: 55.8 kB / 0.5158 GB, free: 6.949 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.02469/0.5844, allocations: 9.606 MB / 0.5252 GB, free: 15.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.5844, allocations: 8 kB / 0.5252 GB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.225e-05/0.5845, allocations: 31.7 kB / 0.5253 GB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003261/0.5849, allocations: 275.9 kB / 0.5255 GB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.5849, allocations: 10.3 kB / 0.5255 GB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.759e-05/0.5849, allocations: 12 kB / 0.5256 GB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004818/0.5854, allocations: 319.8 kB / 0.5259 GB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004724/0.5859, allocations: 302.5 kB / 0.5261 GB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.5859, allocations: 0 / 0.5261 GB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.862e-05/0.586, allocations: 3.938 kB / 0.5261 GB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.812e-06/0.586, allocations: 4 kB / 0.5262 GB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001753/0.5877, allocations: 1.075 MB / 0.5272 GB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004689/0.5882, allocations: 339.7 kB / 0.5275 GB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002855/0.5885, allocations: 201.5 kB / 0.5277 GB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.649e-05/0.5886, allocations: 18.53 kB / 0.5277 GB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.5886, allocations: 34.44 kB / 0.5278 GB, free: 13.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.523e-06/0.5886, allocations: 0 / 0.5278 GB, free: 13.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001259/0.5899, allocations: 492 kB / 0.5282 GB, free: 13.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.5899, allocations: 59.41 kB / 0.5283 GB, free: 13.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002185/0.5902, allocations: 210.8 kB / 0.5285 GB, free: 13.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.711e-05/0.5902, allocations: 25.7 kB / 0.5285 GB, free: 12.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.5903, allocations: 153.8 kB / 0.5287 GB, free: 12.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.163e-05/0.5904, allocations: 94.12 kB / 0.5288 GB, free: 12.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.049e-05/0.5904, allocations: 0 / 0.5288 GB, free: 12.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.5906, allocations: 331.2 kB / 0.5291 GB, free: 12.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002574/0.5908, allocations: 181.9 kB / 0.5292 GB, free: 12.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002601/0.5911, allocations: 198.6 kB / 0.5294 GB, free: 12.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005633/0.5917, allocations: 226.3 kB / 0.5297 GB, free: 12.1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5917, allocations: 0 / 0.5297 GB, free: 12.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001429/0.5931, allocations: 0.6111 MB / 0.5302 GB, free: 11.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.5932, allocations: 4 kB / 0.5303 GB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.5932, allocations: 8 kB / 0.5303 GB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000651/0.5938, allocations: 145.3 kB / 0.5304 GB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003324/0.5942, allocations: 71.39 kB / 0.5305 GB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004079/0.5983, allocations: 4.176 MB / 0.5345 GB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002846/0.5986, allocations: 19.72 kB / 0.5346 GB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-05/0.5986, allocations: 11.44 kB / 0.5346 GB, free: 7.281 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 35 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001261/0.5988, allocations: 117.9 kB / 0.5347 GB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.096e-05/0.5988, allocations: 23.72 kB / 0.5347 GB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001312/0.6002, allocations: 0.5358 MB / 0.5352 GB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.6002, allocations: 4 kB / 0.5352 GB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.6002, allocations: 4 kB / 0.5352 GB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.6002, allocations: 3.984 kB / 0.5352 GB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005328/0.6007, allocations: 451.1 kB / 0.5357 GB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.6008, allocations: 3.984 kB / 0.5357 GB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002366/0.601, allocations: 39.42 kB / 0.5357 GB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008133/0.6018, allocations: 152.1 kB / 0.5359 GB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.514e-05/0.6019, allocations: 4 kB / 0.5359 GB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003947/0.6058, allocations: 4.159 MB / 0.5399 GB, free: 2.078 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.6058, allocations: 3.938 kB / 0.5399 GB, free: 2.074 MB / 350.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001197/0.607, allocations: 0.5852 MB / 0.5405 GB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001345/0.6084, allocations: 0.9681 MB / 0.5414 GB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.567e-05/0.6085, allocations: 108.1 kB / 0.5415 GB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.251e-05/0.6086, allocations: 4 kB / 0.5416 GB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000239/0.6088, allocations: 4 kB / 0.5416 GB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.659e-05/0.6089, allocations: 15.59 kB / 0.5416 GB, free: 0.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.827e-05/0.6089, allocations: 8 kB / 0.5416 GB, free: 0.6602 MB / 350.1 MB Notification: Performance of sort global known variables: time 0.0001516/0.6091, allocations: 163.8 kB / 0.5417 GB, free: 0.5312 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001086/0.6102, allocations: 107.5 kB / 0.5418 GB, free: 440 kB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 23 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(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.0002197/0.6104, allocations: 116.5 kB / 0.5419 GB, free: 320 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001451/0.6119, allocations: 0.7468 MB / 0.5427 GB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.6119, allocations: 0 / 0.5427 GB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001004/0.6129, allocations: 0.5376 MB / 0.5432 GB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001928/0.6131, allocations: 14.02 kB / 0.5432 GB, free: 15.22 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008241/0.6139, allocations: 373.7 kB / 0.5436 GB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004702/0.6144, allocations: 0.7866 MB / 0.5443 GB, free: 14.11 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.6144, allocations: 0 / 0.5443 GB, free: 14.11 MB / 366.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe 2>&1)