Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.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.OneSouceOneLineOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSouceOneLineOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource",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.001385/0.001385, allocations: 184.6 kB / 7.845 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.26/1.26, allocations: 221.4 MB / 229.7 MB, free: 3.121 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.0008848/0.0008848, allocations: 93.62 kB / 280.5 MB, free: 1.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.03899/0.03899, allocations: 8.107 MB / 339.4 MB, free: 6.34 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1793/0.2183, allocations: 58.61 MB / 398 MB, free: 67.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08449/0.3028, allocations: 52.51 MB / 450.5 MB, free: 15.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2544/0.5573, allocations: 77.97 MB / 0.5161 GB, free: 96 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001377/0.5575, allocations: 57.3 kB / 0.5161 GB, free: 72 kB / 330.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.01429/0.5718, allocations: 5.568 MB / 0.5216 GB, free: 11.66 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.5718, allocations: 11.94 kB / 0.5216 GB, free: 11.65 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.943e-05/0.5719, allocations: 15.84 kB / 0.5216 GB, free: 11.63 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.5721, allocations: 208.6 kB / 0.5218 GB, free: 11.4 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.5722, allocations: 4 kB / 0.5218 GB, free: 11.4 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.5722, allocations: 11.91 kB / 0.5218 GB, free: 11.39 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003006/0.5725, allocations: 145.7 kB / 0.522 GB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002727/0.5728, allocations: 150.6 kB / 0.5221 GB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.5728, allocations: 0 / 0.5221 GB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.5728, allocations: 7.719 kB / 0.5221 GB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.5728, allocations: 0 / 0.5221 GB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/0.574, allocations: 0.5755 MB / 0.5227 GB, free: 10.71 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002435/0.5742, allocations: 136.6 kB / 0.5228 GB, free: 10.62 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.5743, allocations: 58.36 kB / 0.5229 GB, free: 10.59 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000174/0.5745, allocations: 89.08 kB / 0.5229 GB, free: 10.48 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.5746, allocations: 37.25 kB / 0.523 GB, free: 10.44 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/0.5746, allocations: 0 / 0.523 GB, free: 10.44 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006721/0.5753, allocations: 197.9 kB / 0.5232 GB, free: 10.29 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.5753, allocations: 51.41 kB / 0.5232 GB, free: 10.23 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.5755, allocations: 155.7 kB / 0.5234 GB, free: 10.09 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.5755, allocations: 25.7 kB / 0.5234 GB, free: 10.06 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.561e-05/0.5756, allocations: 118.2 kB / 0.5235 GB, free: 9.949 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.12e-05/0.5756, allocations: 40.45 kB / 0.5235 GB, free: 9.914 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.215e-05/0.5756, allocations: 0 / 0.5235 GB, free: 9.914 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.5758, allocations: 323.2 kB / 0.5239 GB, free: 9.594 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.5759, allocations: 81.62 kB / 0.5239 GB, free: 9.547 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.5761, allocations: 71.55 kB / 0.524 GB, free: 9.512 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003229/0.5764, allocations: 92.06 kB / 0.5241 GB, free: 9.457 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.5764, allocations: 3.938 kB / 0.5241 GB, free: 9.453 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007346/0.5771, allocations: 273.8 kB / 0.5244 GB, free: 9.258 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.5772, allocations: 8 kB / 0.5244 GB, free: 9.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.5772, allocations: 0 / 0.5244 GB, free: 9.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003089/0.5775, allocations: 54.75 kB / 0.5244 GB, free: 9.207 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002706/0.5778, allocations: 27.98 kB / 0.5244 GB, free: 9.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00163/0.5794, allocations: 1.4 MB / 0.5258 GB, free: 7.781 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001751/0.5796, allocations: 11.88 kB / 0.5258 GB, free: 7.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.473e-05/0.5796, allocations: 7.984 kB / 0.5258 GB, free: 7.762 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 (18): * Single equations (assignments): 17 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.365e-05/0.5797, allocations: 106.3 kB / 0.5259 GB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.946e-05/0.5798, allocations: 11.78 kB / 0.5259 GB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006415/0.5804, allocations: 229.7 kB / 0.5262 GB, free: 7.477 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.5805, allocations: 0 / 0.5262 GB, free: 7.477 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.5805, allocations: 0 / 0.5262 GB, free: 7.477 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.768e-06/0.5805, allocations: 7.922 kB / 0.5262 GB, free: 7.469 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003014/0.5808, allocations: 248.4 kB / 0.5264 GB, free: 7.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.5808, allocations: 0 / 0.5264 GB, free: 7.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/0.581, allocations: 19.98 kB / 0.5264 GB, free: 7.211 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000248/0.5812, allocations: 54.06 kB / 0.5265 GB, free: 7.168 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.5812, allocations: 0 / 0.5265 GB, free: 7.168 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001439/0.5827, allocations: 1.394 MB / 0.5278 GB, free: 5.777 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.5827, allocations: 3.984 kB / 0.5278 GB, free: 5.773 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005046/0.5832, allocations: 284.3 kB / 0.5281 GB, free: 5.535 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006466/0.5839, allocations: 0.6709 MB / 0.5288 GB, free: 4.902 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.211e-05/0.5839, allocations: 96.88 kB / 0.5289 GB, free: 4.793 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.584, allocations: 0 / 0.5289 GB, free: 4.793 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.5841, allocations: 0 / 0.5289 GB, free: 4.793 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.945e-05/0.5841, allocations: 7.984 kB / 0.5289 GB, free: 4.785 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.5842, allocations: 4 kB / 0.5289 GB, free: 4.781 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.429e-05/0.5843, allocations: 128.5 kB / 0.529 GB, free: 4.676 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008642/0.5851, allocations: 51.38 kB / 0.529 GB, free: 4.629 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 (10): * Single equations (assignments): 9 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001689/0.5853, allocations: 107.2 kB / 0.5291 GB, free: 4.516 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005644/0.5859, allocations: 281.2 kB / 0.5294 GB, free: 4.297 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5859, allocations: 0 / 0.5294 GB, free: 4.297 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003234/0.5862, allocations: 179.3 kB / 0.5296 GB, free: 4.137 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001589/0.5864, allocations: 3.25 kB / 0.5296 GB, free: 4.137 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003972/0.5868, allocations: 171.8 kB / 0.5297 GB, free: 3.977 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003852/0.5872, allocations: 0.7303 MB / 0.5305 GB, free: 3.223 MB / 346.7 MB Notification: Performance of SimCode: time 2.8e-07/0.5872, allocations: 4 kB / 0.5305 GB, free: 3.219 MB / 346.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource.fmu > PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe 2>&1)