Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.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.OneSourceOneTransfoOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad",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.001023/0.001023, allocations: 182 kB / 7.843 MB, free: 2.238 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.172/1.172, allocations: 221.4 MB / 229.7 MB, free: 3.062 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009416/0.0009416, allocations: 88.98 kB / 280.5 MB, free: 1.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.03437/0.03437, allocations: 8.097 MB / 339.4 MB, free: 6.324 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1761/0.2105, allocations: 58.61 MB / 398 MB, free: 67.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08094/0.2914, allocations: 52.52 MB / 450.5 MB, free: 15.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2483/0.5398, allocations: 79.42 MB / 0.5175 GB, free: 14.68 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002021/0.5401, allocations: 58.61 kB / 0.5176 GB, free: 14.66 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.01731/0.5574, allocations: 6.495 MB / 0.5239 GB, free: 9.469 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.5575, allocations: 12.69 kB / 0.5239 GB, free: 9.457 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.973e-05/0.5575, allocations: 19.86 kB / 0.5239 GB, free: 9.441 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.5578, allocations: 236.4 kB / 0.5242 GB, free: 9.191 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.5579, allocations: 7.984 kB / 0.5242 GB, free: 9.184 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.5579, allocations: 4 kB / 0.5242 GB, free: 9.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002571/0.5581, allocations: 150.6 kB / 0.5243 GB, free: 9.098 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002775/0.5584, allocations: 188.8 kB / 0.5245 GB, free: 8.957 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.5585, allocations: 0 / 0.5245 GB, free: 8.957 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.26e-05/0.5585, allocations: 3.938 kB / 0.5245 GB, free: 8.953 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.5585, allocations: 4 kB / 0.5245 GB, free: 8.949 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001215/0.5597, allocations: 0.7155 MB / 0.5252 GB, free: 8.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002403/0.56, allocations: 166.5 kB / 0.5254 GB, free: 8.211 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.5601, allocations: 76.67 kB / 0.5254 GB, free: 8.168 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001368/0.5602, allocations: 96.98 kB / 0.5255 GB, free: 8.055 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.5603, allocations: 33.94 kB / 0.5256 GB, free: 8.016 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 1.463e-06/0.5603, allocations: 0 / 0.5256 GB, free: 8.016 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.001247/0.5615, allocations: 327.9 kB / 0.5259 GB, free: 7.766 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.5616, allocations: 93.03 kB / 0.526 GB, free: 7.656 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.5617, allocations: 152.6 kB / 0.5261 GB, free: 7.52 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.5618, allocations: 25.7 kB / 0.5261 GB, free: 7.488 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.516e-05/0.5618, allocations: 111.1 kB / 0.5262 GB, free: 7.383 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.318e-05/0.5619, allocations: 54.44 kB / 0.5263 GB, free: 7.332 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.211e-05/0.5619, allocations: 0 / 0.5263 GB, free: 7.332 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.562, allocations: 325.5 kB / 0.5266 GB, free: 7.012 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.5621, allocations: 74 kB / 0.5267 GB, free: 6.977 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.5623, allocations: 105.2 kB / 0.5268 GB, free: 6.91 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002812/0.5626, allocations: 101.2 kB / 0.5269 GB, free: 6.852 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.5626, allocations: 0 / 0.5269 GB, free: 6.852 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001201/0.5638, allocations: 380.9 kB / 0.5272 GB, free: 6.562 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.5638, allocations: 8 kB / 0.5272 GB, free: 6.555 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.5638, allocations: 0 / 0.5272 GB, free: 6.555 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001017/0.5648, allocations: 188.3 kB / 0.5274 GB, free: 6.395 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.565, allocations: 23.98 kB / 0.5274 GB, free: 6.371 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002345/0.5674, allocations: 1.714 MB / 0.5291 GB, free: 4.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001783/0.5676, allocations: 11.84 kB / 0.5291 GB, free: 4.758 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.5676, allocations: 4 kB / 0.5291 GB, free: 4.754 MB / 346.7 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 (16): * Single equations (assignments): 15 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 9.677e-05/0.5677, allocations: 112.9 kB / 0.5292 GB, free: 4.637 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.937e-05/0.5678, allocations: 20.03 kB / 0.5293 GB, free: 4.617 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001222/0.569, allocations: 381.7 kB / 0.5296 GB, free: 4.324 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.569, allocations: 0 / 0.5296 GB, free: 4.324 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-06/0.569, allocations: 0 / 0.5296 GB, free: 4.324 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.569, allocations: 0 / 0.5296 GB, free: 4.324 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002923/0.5693, allocations: 287.2 kB / 0.5299 GB, free: 4.062 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.5693, allocations: 0 / 0.5299 GB, free: 4.062 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.5695, allocations: 23.92 kB / 0.5299 GB, free: 4.039 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009659/0.5704, allocations: 185 kB / 0.5301 GB, free: 3.883 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.5705, allocations: 4 kB / 0.5301 GB, free: 3.879 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002308/0.5728, allocations: 1.712 MB / 0.5318 GB, free: 2.277 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5728, allocations: 0 / 0.5318 GB, free: 2.277 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001127/0.5739, allocations: 450.6 kB / 0.5322 GB, free: 1.902 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001213/0.5752, allocations: 0.8167 MB / 0.533 GB, free: 1.156 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.751e-05/0.5752, allocations: 85.2 kB / 0.5331 GB, free: 1.055 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.443e-05/0.5753, allocations: 3.906 kB / 0.5331 GB, free: 1.051 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002071/0.5755, allocations: 15.98 kB / 0.5331 GB, free: 1.035 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.283e-05/0.5755, allocations: 11.97 kB / 0.5331 GB, free: 1.023 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.5755, allocations: 11.25 kB / 0.5331 GB, free: 1.016 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.76e-05/0.5756, allocations: 124.9 kB / 0.5332 GB, free: 0.9102 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008997/0.5765, allocations: 63.92 kB / 0.5333 GB, free: 0.8516 MB / 346.7 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 (14): * Single equations (assignments): 13 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001867/0.5767, allocations: 111.1 kB / 0.5334 GB, free: 0.7344 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008096/0.5775, allocations: 342.7 kB / 0.5337 GB, free: 480 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.5776, allocations: 3.375 kB / 0.5337 GB, free: 480 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005742/0.5781, allocations: 251.6 kB / 0.534 GB, free: 260 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.5784, allocations: 15.05 kB / 0.534 GB, free: 248 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000528/0.5789, allocations: 199.3 kB / 0.5342 GB, free: 60 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003263/0.5793, allocations: 0.7386 MB / 0.5349 GB, free: 15.3 MB / 362.7 MB Notification: Performance of SimCode: time 3.1e-07/0.5793, allocations: 0 / 0.5349 GB, free: 15.3 MB / 362.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe 2>&1)