Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.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.OneSourceOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfo",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.0009588/0.0009587, allocations: 187.4 kB / 7.844 MB, free: 2.504 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.178/1.178, allocations: 221.4 MB / 229.7 MB, free: 3.016 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.0009325/0.0009324, allocations: 94.14 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.03639/0.03639, allocations: 8.101 MB / 339.4 MB, free: 6.344 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1878/0.2242, allocations: 58.62 MB / 398 MB, free: 67.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09058/0.3149, allocations: 52.51 MB / 450.5 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2542/0.5691, allocations: 78.58 MB / 0.5167 GB, free: 15.78 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001689/0.5693, allocations: 63.09 kB / 0.5168 GB, free: 15.75 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.01409/0.5834, allocations: 5.44 MB / 0.5221 GB, free: 11.41 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.5835, allocations: 11.94 kB / 0.5221 GB, free: 11.39 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.96e-05/0.5835, allocations: 19.81 kB / 0.5221 GB, free: 11.38 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.5838, allocations: 197.5 kB / 0.5223 GB, free: 11.16 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.5838, allocations: 4 kB / 0.5223 GB, free: 11.15 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.5838, allocations: 4 kB / 0.5223 GB, free: 11.15 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002206/0.584, allocations: 117.8 kB / 0.5224 GB, free: 11.08 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000222/0.5843, allocations: 142.4 kB / 0.5225 GB, free: 10.97 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.5843, allocations: 0 / 0.5225 GB, free: 10.97 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.5843, allocations: 0 / 0.5225 GB, free: 10.97 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.5843, allocations: 7.906 kB / 0.5225 GB, free: 10.96 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009938/0.5853, allocations: 0.5596 MB / 0.5231 GB, free: 10.45 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006155/0.586, allocations: 139.9 kB / 0.5232 GB, free: 10.33 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.363e-05/0.586, allocations: 32.05 kB / 0.5233 GB, free: 10.31 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.653e-05/0.5861, allocations: 90.11 kB / 0.5233 GB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.5862, allocations: 31.38 kB / 0.5234 GB, free: 10.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.5862, allocations: 0 / 0.5234 GB, free: 10.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005653/0.5868, allocations: 136.9 kB / 0.5235 GB, free: 10.05 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.727e-05/0.5868, allocations: 89.72 kB / 0.5236 GB, free: 9.941 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002097/0.587, allocations: 157.5 kB / 0.5237 GB, free: 9.805 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.5871, allocations: 25.7 kB / 0.5238 GB, free: 9.773 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.947e-05/0.5872, allocations: 118.3 kB / 0.5239 GB, free: 9.656 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.425e-05/0.5872, allocations: 26.77 kB / 0.5239 GB, free: 9.633 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.195e-06/0.5872, allocations: 0 / 0.5239 GB, free: 9.633 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.5874, allocations: 327.3 kB / 0.5242 GB, free: 9.309 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.524e-05/0.5875, allocations: 40.31 kB / 0.5243 GB, free: 9.289 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.5876, allocations: 81.09 kB / 0.5243 GB, free: 9.219 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001988/0.5878, allocations: 65.11 kB / 0.5244 GB, free: 9.176 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5878, allocations: 0 / 0.5244 GB, free: 9.176 MB / 346.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005691/0.5884, allocations: 208.5 kB / 0.5246 GB, free: 9.012 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.5884, allocations: 15.05 kB / 0.5246 GB, free: 9 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.5884, allocations: 0 / 0.5246 GB, free: 9 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004022/0.5888, allocations: 59.66 kB / 0.5247 GB, free: 8.945 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.589, allocations: 27.55 kB / 0.5247 GB, free: 8.922 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001331/0.5903, allocations: 1.314 MB / 0.526 GB, free: 7.566 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001633/0.5905, allocations: 16 kB / 0.526 GB, free: 7.551 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.5905, allocations: 4 kB / 0.526 GB, free: 7.547 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 14 * 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.974e-05/0.5906, allocations: 109.8 kB / 0.5261 GB, free: 7.434 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.646e-05/0.5906, allocations: 7.906 kB / 0.5261 GB, free: 7.426 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004606/0.5911, allocations: 165.9 kB / 0.5263 GB, free: 7.289 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.5911, allocations: 8 kB / 0.5263 GB, free: 7.281 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.5911, allocations: 0 / 0.5263 GB, free: 7.281 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.5911, allocations: 3.984 kB / 0.5263 GB, free: 7.277 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006222/0.5918, allocations: 437 kB / 0.5267 GB, free: 6.852 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.5918, allocations: 3.938 kB / 0.5267 GB, free: 6.848 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.991e-05/0.5918, allocations: 8 kB / 0.5267 GB, free: 6.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003192/0.5921, allocations: 67.2 kB / 0.5268 GB, free: 6.781 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.5922, allocations: 3.906 kB / 0.5268 GB, free: 6.777 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001169/0.5933, allocations: 1.31 MB / 0.528 GB, free: 5.422 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.5934, allocations: 0 / 0.528 GB, free: 5.422 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004549/0.5938, allocations: 288 kB / 0.5283 GB, free: 5.125 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005531/0.5944, allocations: 0.6622 MB / 0.529 GB, free: 4.449 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.005e-05/0.5944, allocations: 96.3 kB / 0.5291 GB, free: 4.34 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.18e-05/0.5945, allocations: 3.984 kB / 0.5291 GB, free: 4.336 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.5946, allocations: 4 kB / 0.5291 GB, free: 4.332 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.78e-05/0.5947, allocations: 4 kB / 0.5291 GB, free: 4.328 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.5947, allocations: 0 / 0.5291 GB, free: 4.328 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001016/0.5948, allocations: 137.1 kB / 0.5292 GB, free: 4.215 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008543/0.5956, allocations: 39.28 kB / 0.5292 GB, free: 4.18 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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.0001744/0.5958, allocations: 111.2 kB / 0.5293 GB, free: 4.062 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000504/0.5963, allocations: 220.4 kB / 0.5296 GB, free: 3.875 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.5963, allocations: 3.938 kB / 0.5296 GB, free: 3.871 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002909/0.5966, allocations: 142.8 kB / 0.5297 GB, free: 3.73 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000167/0.5968, allocations: 8.938 kB / 0.5297 GB, free: 3.727 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003366/0.5972, allocations: 158.9 kB / 0.5299 GB, free: 3.559 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000328/0.5975, allocations: 0.7157 MB / 0.5306 GB, free: 2.816 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5975, allocations: 3.938 kB / 0.5306 GB, free: 2.812 MB / 346.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfo.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe 2>&1)