Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.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.OneSourceOneLoadWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLoadWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses",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.001142/0.001142, allocations: 184.2 kB / 7.842 MB, free: 2.5 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.129/1.129, allocations: 221.4 MB / 229.7 MB, free: 3.012 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.0009063/0.0009064, allocations: 93.33 kB / 280.5 MB, free: 1.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.03333/0.03333, allocations: 8.103 MB / 339.4 MB, free: 6.34 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1712/0.2045, allocations: 58.61 MB / 398 MB, free: 67.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07289/0.2774, allocations: 52.51 MB / 450.5 MB, free: 15.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2341/0.5116, allocations: 78.59 MB / 0.5167 GB, free: 15.48 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001575/0.5118, allocations: 59.53 kB / 0.5168 GB, free: 15.45 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.01178/0.5236, allocations: 4.585 MB / 0.5212 GB, free: 11.77 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.5237, allocations: 11.94 kB / 0.5212 GB, free: 11.76 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.847e-05/0.5237, allocations: 15.81 kB / 0.5213 GB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001971/0.524, allocations: 185.6 kB / 0.5214 GB, free: 11.53 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.524, allocations: 8 kB / 0.5214 GB, free: 11.52 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.524, allocations: 8 kB / 0.5214 GB, free: 11.51 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001824/0.5242, allocations: 88.03 kB / 0.5215 GB, free: 11.46 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.5244, allocations: 114.6 kB / 0.5216 GB, free: 11.37 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.5244, allocations: 0.75 kB / 0.5216 GB, free: 11.37 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.5244, allocations: 0 / 0.5216 GB, free: 11.37 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.5245, allocations: 7.906 kB / 0.5217 GB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007128/0.5252, allocations: 463.6 kB / 0.5221 GB, free: 10.95 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000299/0.5255, allocations: 84.38 kB / 0.5222 GB, free: 10.88 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.628e-05/0.5256, allocations: 20.8 kB / 0.5222 GB, free: 10.86 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001336/0.5257, allocations: 96.97 kB / 0.5223 GB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.5257, allocations: 34.55 kB / 0.5223 GB, free: 10.7 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.5257, allocations: 3.938 kB / 0.5223 GB, free: 10.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003572/0.5261, allocations: 99.42 kB / 0.5224 GB, free: 10.61 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.5261, allocations: 51.41 kB / 0.5225 GB, free: 10.55 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.5263, allocations: 128.2 kB / 0.5226 GB, free: 10.43 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.5263, allocations: 33.7 kB / 0.5226 GB, free: 10.39 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.43e-05/0.5264, allocations: 120.9 kB / 0.5227 GB, free: 10.28 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.5264, allocations: 23.05 kB / 0.5228 GB, free: 10.26 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-06/0.5264, allocations: 0 / 0.5228 GB, free: 10.26 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.5266, allocations: 318.1 kB / 0.5231 GB, free: 9.941 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.304e-05/0.5266, allocations: 30.73 kB / 0.5231 GB, free: 9.922 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.612e-05/0.5266, allocations: 25.75 kB / 0.5231 GB, free: 9.906 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.5268, allocations: 38.53 kB / 0.5232 GB, free: 9.879 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.5268, allocations: 0 / 0.5232 GB, free: 9.879 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003315/0.5271, allocations: 133.7 kB / 0.5233 GB, free: 9.766 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.5271, allocations: 4 kB / 0.5233 GB, free: 9.762 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.5272, allocations: 0 / 0.5233 GB, free: 9.762 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002295/0.5274, allocations: 37.2 kB / 0.5233 GB, free: 9.727 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.454e-05/0.5275, allocations: 14.25 kB / 0.5233 GB, free: 9.715 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001083/0.5286, allocations: 1.26 MB / 0.5246 GB, free: 8.391 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.895e-05/0.5287, allocations: 11.95 kB / 0.5246 GB, free: 8.379 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.5287, allocations: 4.031 kB / 0.5246 GB, free: 8.375 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 (9): * Single equations (assignments): 8 * 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 8.067e-05/0.5288, allocations: 101.9 kB / 0.5247 GB, free: 8.27 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.362e-05/0.5288, allocations: 11.84 kB / 0.5247 GB, free: 8.258 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002749/0.5291, allocations: 114.5 kB / 0.5248 GB, free: 8.16 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.5291, allocations: 0 / 0.5248 GB, free: 8.16 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.5291, allocations: 4 kB / 0.5248 GB, free: 8.156 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.5291, allocations: 4.188 kB / 0.5248 GB, free: 8.152 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.5293, allocations: 182.1 kB / 0.525 GB, free: 7.953 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.5293, allocations: 0 / 0.525 GB, free: 7.953 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.371e-05/0.5294, allocations: 7.938 kB / 0.525 GB, free: 7.945 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001642/0.5295, allocations: 34.7 kB / 0.525 GB, free: 7.914 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.5296, allocations: 0 / 0.525 GB, free: 7.914 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009726/0.5305, allocations: 1.263 MB / 0.5263 GB, free: 6.59 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.5306, allocations: 11.97 kB / 0.5263 GB, free: 6.578 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002797/0.5308, allocations: 196.1 kB / 0.5265 GB, free: 6.387 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003796/0.5312, allocations: 0.5686 MB / 0.527 GB, free: 5.82 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.557e-05/0.5313, allocations: 85.02 kB / 0.5271 GB, free: 5.719 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.5313, allocations: 0 / 0.5271 GB, free: 5.719 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.5314, allocations: 11.98 kB / 0.5271 GB, free: 5.707 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.807e-05/0.5315, allocations: 0 / 0.5271 GB, free: 5.707 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.5315, allocations: 4 kB / 0.5271 GB, free: 5.703 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.828e-05/0.5316, allocations: 109 kB / 0.5272 GB, free: 5.609 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008218/0.5324, allocations: 39.84 kB / 0.5272 GB, free: 5.57 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 (5): * Single equations (assignments): 4 * 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.000149/0.5325, allocations: 103.9 kB / 0.5273 GB, free: 5.461 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002961/0.5328, allocations: 169.7 kB / 0.5275 GB, free: 5.305 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5329, allocations: 0 / 0.5275 GB, free: 5.305 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001845/0.533, allocations: 135.4 kB / 0.5276 GB, free: 5.172 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000181/0.5332, allocations: 15.27 kB / 0.5276 GB, free: 5.16 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002956/0.5335, allocations: 128.9 kB / 0.5278 GB, free: 5.023 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002971/0.5339, allocations: 0.723 MB / 0.5285 GB, free: 4.273 MB / 346.7 MB Notification: Performance of SimCode: time 2.71e-07/0.5339, allocations: 0 / 0.5285 GB, free: 4.273 MB / 346.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe 2>&1)