Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3",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.001047/0.001047, allocations: 183.4 kB / 7.846 MB, free: 92 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.21/1.21, allocations: 221.4 MB / 229.6 MB, free: 7.758 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.0008976/0.0008976, allocations: 96.3 kB / 280.5 MB, free: 5.137 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.03968/0.03968, allocations: 8.107 MB / 339.4 MB, free: 10.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1915/0.2312, allocations: 58.61 MB / 398 MB, free: 71.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08059/0.3118, allocations: 52.52 MB / 450.5 MB, free: 19.16 MB / 302.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2305/0.5424, allocations: 80.6 MB / 0.5187 GB, free: 4.312 MB / 334.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001624/0.5426, allocations: 64.31 kB / 0.5187 GB, free: 4.281 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.03762/0.5802, allocations: 15.21 MB / 0.5336 GB, free: 8.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.5803, allocations: 8.219 kB / 0.5336 GB, free: 8.332 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/0.5805, allocations: 55.34 kB / 0.5336 GB, free: 8.277 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004738/0.5809, allocations: 357.2 kB / 0.534 GB, free: 7.945 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.581, allocations: 16 kB / 0.534 GB, free: 7.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.235e-05/0.581, allocations: 20 kB / 0.534 GB, free: 7.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006759/0.5817, allocations: 444.8 kB / 0.5344 GB, free: 7.668 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007585/0.5825, allocations: 0.4961 MB / 0.5349 GB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.5825, allocations: 0 / 0.5349 GB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.33e-05/0.5826, allocations: 0 / 0.5349 GB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.5826, allocations: 12 kB / 0.5349 GB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002835/0.5854, allocations: 2.267 MB / 0.5372 GB, free: 5.289 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005346/0.586, allocations: 420.9 kB / 0.5376 GB, free: 5.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000301/0.5863, allocations: 247.3 kB / 0.5378 GB, free: 4.891 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001552/0.5864, allocations: 85.11 kB / 0.5379 GB, free: 4.789 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.5865, allocations: 34.31 kB / 0.5379 GB, free: 4.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 1.793e-06/0.5865, allocations: 4 kB / 0.5379 GB, free: 4.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.00359/0.5901, allocations: 1.063 MB / 0.539 GB, free: 3.941 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.81e-05/0.5902, allocations: 110.7 kB / 0.5391 GB, free: 3.809 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002244/0.5904, allocations: 218.6 kB / 0.5393 GB, free: 3.629 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.187e-05/0.5904, allocations: 25.7 kB / 0.5393 GB, free: 3.598 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.698e-05/0.5905, allocations: 176.3 kB / 0.5395 GB, free: 3.434 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.5907, allocations: 135.6 kB / 0.5396 GB, free: 3.316 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/0.5907, allocations: 0 / 0.5396 GB, free: 3.316 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.5908, allocations: 345.3 kB / 0.5399 GB, free: 2.984 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002995/0.5911, allocations: 202.6 kB / 0.5401 GB, free: 2.879 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003129/0.5915, allocations: 242.2 kB / 0.5403 GB, free: 2.734 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006749/0.5921, allocations: 262.6 kB / 0.5406 GB, free: 2.578 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.5922, allocations: 3.906 kB / 0.5406 GB, free: 2.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.003539/0.5957, allocations: 1.082 MB / 0.5417 GB, free: 1.758 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.5957, allocations: 4 kB / 0.5417 GB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.5957, allocations: 4 kB / 0.5417 GB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00347/0.5992, allocations: 0.6647 MB / 0.5423 GB, free: 1.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002707/0.5995, allocations: 59.45 kB / 0.5424 GB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006495/0.606, allocations: 3.366 MB / 0.5457 GB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003868/0.6064, allocations: 27.83 kB / 0.5457 GB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.951e-05/0.6065, allocations: 19.11 kB / 0.5457 GB, free: 14.48 MB / 366.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 (31): * Single equations (assignments): 30 * 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 {6 10} Notification: Performance of prepare postOptimizeDAE: time 0.0001575/0.6066, allocations: 113.8 kB / 0.5458 GB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.62e-05/0.6067, allocations: 31.62 kB / 0.5458 GB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003615/0.6104, allocations: 1.163 MB / 0.547 GB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.6104, allocations: 8 kB / 0.547 GB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.6104, allocations: 0 / 0.547 GB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.6104, allocations: 4 kB / 0.547 GB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000615/0.611, allocations: 0.5385 MB / 0.5475 GB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.611, allocations: 0 / 0.5475 GB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002112/0.6112, allocations: 58.7 kB / 0.5476 GB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003338/0.6146, allocations: 0.6739 MB / 0.5482 GB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.629e-05/0.6147, allocations: 3.812 kB / 0.5482 GB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006104/0.6208, allocations: 3.285 MB / 0.5514 GB, free: 9.367 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.6208, allocations: 0 / 0.5514 GB, free: 9.367 MB / 366.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003627/0.6244, allocations: 1.171 MB / 0.5526 GB, free: 8.172 MB / 366.1 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003621/0.6281, allocations: 1.546 MB / 0.5541 GB, free: 6.602 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.642e-05/0.6282, allocations: 116.7 kB / 0.5542 GB, free: 6.469 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.111e-05/0.6282, allocations: 0 / 0.5542 GB, free: 6.469 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003759/0.6286, allocations: 19.98 kB / 0.5542 GB, free: 6.449 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.493e-05/0.6287, allocations: 28.39 kB / 0.5542 GB, free: 6.422 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-05/0.6288, allocations: 12 kB / 0.5543 GB, free: 6.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 0.000152/0.6289, allocations: 179.1 kB / 0.5544 GB, free: 6.234 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001146/0.6301, allocations: 159.7 kB / 0.5546 GB, free: 6.078 MB / 366.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 (33): * Single equations (assignments): 32 * 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 {6 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001901/0.6303, allocations: 123.1 kB / 0.5547 GB, free: 5.949 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002127/0.6324, allocations: 0.7802 MB / 0.5555 GB, free: 5.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.6324, allocations: 0 / 0.5555 GB, free: 5.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001411/0.6339, allocations: 0.5342 MB / 0.556 GB, free: 4.609 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.6341, allocations: 16.98 kB / 0.556 GB, free: 4.594 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.6354, allocations: 0.4927 MB / 0.5565 GB, free: 4.078 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004164/0.6358, allocations: 0.8672 MB / 0.5573 GB, free: 3.188 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.6358, allocations: 0 / 0.5573 GB, free: 3.188 MB / 366.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.pipe 2>&1)