Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.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.OneSourceOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad",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.0009814/0.0009814, allocations: 184.7 kB / 7.844 MB, free: 2.512 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.138/1.138, allocations: 221.4 MB / 229.7 MB, free: 3.094 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.0009091/0.0009091, allocations: 102.6 kB / 280.5 MB, free: 1.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.03705/0.03705, allocations: 8.096 MB / 339.4 MB, free: 6.352 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1723/0.2094, allocations: 58.61 MB / 398 MB, free: 67.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07494/0.2843, allocations: 52.52 MB / 450.5 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.239/0.5234, allocations: 78.83 MB / 0.5169 GB, free: 15.32 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001769/0.5236, allocations: 60.72 kB / 0.517 GB, free: 15.29 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.01539/0.539, allocations: 5.904 MB / 0.5228 GB, free: 10.6 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.539, allocations: 11.94 kB / 0.5228 GB, free: 10.59 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.479e-05/0.5391, allocations: 23.81 kB / 0.5228 GB, free: 10.56 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.5394, allocations: 225.1 kB / 0.523 GB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.5394, allocations: 4 kB / 0.523 GB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.5394, allocations: 8 kB / 0.523 GB, free: 10.31 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002603/0.5397, allocations: 145.3 kB / 0.5232 GB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002376/0.5399, allocations: 161.7 kB / 0.5233 GB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.54, allocations: 3.906 kB / 0.5233 GB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.93e-05/0.54, allocations: 0 / 0.5233 GB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.54, allocations: 4 kB / 0.5233 GB, free: 10.11 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.5411, allocations: 0.7076 MB / 0.524 GB, free: 9.488 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002458/0.5413, allocations: 161.2 kB / 0.5242 GB, free: 9.383 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.5415, allocations: 86.91 kB / 0.5242 GB, free: 9.332 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000131/0.5416, allocations: 86.09 kB / 0.5243 GB, free: 9.23 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.5417, allocations: 43.98 kB / 0.5244 GB, free: 9.18 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/0.5417, allocations: 0 / 0.5244 GB, free: 9.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.0009397/0.5426, allocations: 304.3 kB / 0.5247 GB, free: 8.957 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.5427, allocations: 59.41 kB / 0.5247 GB, free: 8.887 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002264/0.5429, allocations: 150.3 kB / 0.5249 GB, free: 8.754 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.843e-05/0.543, allocations: 26.27 kB / 0.5249 GB, free: 8.723 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.5431, allocations: 110.7 kB / 0.525 GB, free: 8.617 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.193e-05/0.5432, allocations: 49.73 kB / 0.525 GB, free: 8.574 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.89e-05/0.5432, allocations: 0 / 0.525 GB, free: 8.574 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.5434, allocations: 326.7 kB / 0.5253 GB, free: 8.25 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.5436, allocations: 81.88 kB / 0.5254 GB, free: 8.207 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002017/0.5438, allocations: 86.47 kB / 0.5255 GB, free: 8.16 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000539/0.5444, allocations: 98.62 kB / 0.5256 GB, free: 8.102 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.5444, allocations: 0 / 0.5256 GB, free: 8.102 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001692/0.5461, allocations: 354.7 kB / 0.5259 GB, free: 7.844 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.5461, allocations: 4 kB / 0.5259 GB, free: 7.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.5461, allocations: 4 kB / 0.5259 GB, free: 7.836 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0012/0.5473, allocations: 140.8 kB / 0.5261 GB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002257/0.5476, allocations: 23.98 kB / 0.5261 GB, free: 7.703 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003257/0.5509, allocations: 1.757 MB / 0.5278 GB, free: 6.121 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002398/0.5511, allocations: 15.91 kB / 0.5278 GB, free: 6.105 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.285e-05/0.5512, allocations: 7.984 kB / 0.5278 GB, free: 6.098 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 (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 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001382/0.5513, allocations: 106.3 kB / 0.5279 GB, free: 5.988 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.744e-05/0.5514, allocations: 11.91 kB / 0.528 GB, free: 5.977 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001652/0.5531, allocations: 347.9 kB / 0.5283 GB, free: 5.727 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.5531, allocations: 3.938 kB / 0.5283 GB, free: 5.723 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.5531, allocations: 0 / 0.5283 GB, free: 5.723 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/0.5531, allocations: 3.984 kB / 0.5283 GB, free: 5.719 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004814/0.5536, allocations: 270.2 kB / 0.5286 GB, free: 5.473 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.5536, allocations: 4 kB / 0.5286 GB, free: 5.469 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001502/0.5538, allocations: 19.98 kB / 0.5286 GB, free: 5.449 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001032/0.5548, allocations: 137.7 kB / 0.5287 GB, free: 5.344 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/0.5549, allocations: 0 / 0.5287 GB, free: 5.344 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003488/0.5584, allocations: 1.777 MB / 0.5304 GB, free: 3.734 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.5584, allocations: 0 / 0.5304 GB, free: 3.734 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001669/0.5601, allocations: 417.9 kB / 0.5308 GB, free: 3.398 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001791/0.5619, allocations: 0.791 MB / 0.5316 GB, free: 2.68 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.514e-05/0.562, allocations: 88.92 kB / 0.5317 GB, free: 2.574 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.01e-05/0.5621, allocations: 4 kB / 0.5317 GB, free: 2.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003322/0.5624, allocations: 7.984 kB / 0.5317 GB, free: 2.562 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.183e-05/0.5625, allocations: 11.11 kB / 0.5317 GB, free: 2.555 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.974e-05/0.5625, allocations: 4 kB / 0.5317 GB, free: 2.551 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.000151/0.5627, allocations: 123.6 kB / 0.5318 GB, free: 2.445 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001752/0.5645, allocations: 59.56 kB / 0.5319 GB, free: 2.391 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 (12): * Single equations (assignments): 11 * 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 {2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.000242/0.5647, allocations: 115.1 kB / 0.532 GB, free: 2.27 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001089/0.5658, allocations: 323.5 kB / 0.5323 GB, free: 2.027 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5658, allocations: 0 / 0.5323 GB, free: 2.027 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007358/0.5666, allocations: 220 kB / 0.5325 GB, free: 1.844 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003527/0.567, allocations: 11.19 kB / 0.5325 GB, free: 1.836 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000739/0.5677, allocations: 213 kB / 0.5327 GB, free: 1.645 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004451/0.5682, allocations: 0.7353 MB / 0.5335 GB, free: 0.8828 MB / 346.7 MB Notification: Performance of SimCode: time 5.51e-07/0.5682, allocations: 0 / 0.5335 GB, free: 0.8828 MB / 346.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe 2>&1)