Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.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.OneSourceTwoTransfosOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad",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.001064/0.001064, allocations: 186.4 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.156/1.156, allocations: 221.4 MB / 229.7 MB, free: 3.02 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.0008965/0.0008965, allocations: 96.8 kB / 280.5 MB, free: 1.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.03727/0.03727, allocations: 8.087 MB / 339.4 MB, free: 6.344 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1886/0.2259, allocations: 58.62 MB / 398 MB, free: 67.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08107/0.307, allocations: 52.51 MB / 450.5 MB, free: 15.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2531/0.5601, allocations: 79.45 MB / 0.5175 GB, free: 14.64 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001735/0.5603, allocations: 63.41 kB / 0.5176 GB, free: 14.61 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.02331/0.5836, allocations: 8.929 MB / 0.5263 GB, free: 7.504 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.5836, allocations: 11.94 kB / 0.5263 GB, free: 7.492 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.424e-05/0.5837, allocations: 35.62 kB / 0.5264 GB, free: 7.457 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003277/0.5841, allocations: 255.5 kB / 0.5266 GB, free: 7.195 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.5841, allocations: 11.91 kB / 0.5266 GB, free: 7.184 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.386e-05/0.5841, allocations: 8 kB / 0.5266 GB, free: 7.176 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003548/0.5845, allocations: 234.8 kB / 0.5268 GB, free: 7.047 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003928/0.5849, allocations: 269.6 kB / 0.5271 GB, free: 6.855 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.5849, allocations: 4 kB / 0.5271 GB, free: 6.852 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.882e-05/0.5849, allocations: 0 / 0.5271 GB, free: 6.852 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.585, allocations: 8 kB / 0.5271 GB, free: 6.844 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001853/0.5868, allocations: 1.188 MB / 0.5283 GB, free: 5.793 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000348/0.5872, allocations: 254.2 kB / 0.5285 GB, free: 5.633 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001939/0.5874, allocations: 144.8 kB / 0.5287 GB, free: 5.555 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000149/0.5875, allocations: 96.98 kB / 0.5287 GB, free: 5.441 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.5876, allocations: 41.8 kB / 0.5288 GB, free: 5.395 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 1.352e-06/0.5876, allocations: 0 / 0.5288 GB, free: 5.395 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.002202/0.5898, allocations: 0.6114 MB / 0.5294 GB, free: 4.934 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/0.5899, allocations: 106.8 kB / 0.5295 GB, free: 4.805 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.59, allocations: 184 kB / 0.5297 GB, free: 4.641 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.5901, allocations: 25.7 kB / 0.5297 GB, free: 4.609 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.854e-05/0.5902, allocations: 118.1 kB / 0.5298 GB, free: 4.5 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.327e-05/0.5902, allocations: 84.88 kB / 0.5299 GB, free: 4.426 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.726e-05/0.5903, allocations: 0 / 0.5299 GB, free: 4.426 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.5904, allocations: 334.5 kB / 0.5302 GB, free: 4.098 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/0.5906, allocations: 127.8 kB / 0.5303 GB, free: 4.031 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002016/0.5908, allocations: 157.7 kB / 0.5305 GB, free: 3.938 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004071/0.5912, allocations: 157.8 kB / 0.5306 GB, free: 3.848 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.5912, allocations: 0 / 0.5306 GB, free: 3.848 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.002147/0.5934, allocations: 0.6461 MB / 0.5313 GB, free: 3.355 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.5934, allocations: 7.125 kB / 0.5313 GB, free: 3.352 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.5934, allocations: 0 / 0.5313 GB, free: 3.352 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002056/0.5955, allocations: 395.4 kB / 0.5316 GB, free: 3.016 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.5957, allocations: 35.97 kB / 0.5317 GB, free: 2.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00426/0.5999, allocations: 2.411 MB / 0.534 GB, free: 0.9531 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002533/0.6002, allocations: 27.67 kB / 0.5341 GB, free: 0.9258 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.038e-05/0.6002, allocations: 7.625 kB / 0.5341 GB, free: 0.9219 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 (21): * Single equations (assignments): 20 * 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 {5 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001002/0.6003, allocations: 109 kB / 0.5342 GB, free: 0.8086 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.459e-05/0.6004, allocations: 27.7 kB / 0.5342 GB, free: 0.7812 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002332/0.6028, allocations: 0.6784 MB / 0.5349 GB, free: 284 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.6028, allocations: 7.984 kB / 0.5349 GB, free: 276 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.6028, allocations: 4 kB / 0.5349 GB, free: 272 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.6028, allocations: 0 / 0.5349 GB, free: 272 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004208/0.6032, allocations: 384.8 kB / 0.5352 GB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.6032, allocations: 4.125 kB / 0.5352 GB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.6034, allocations: 35.92 kB / 0.5353 GB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002006/0.6054, allocations: 376.9 kB / 0.5356 GB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.872e-05/0.6054, allocations: 11.89 kB / 0.5356 GB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004384/0.6098, allocations: 2.42 MB / 0.538 GB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.6099, allocations: 0 / 0.538 GB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002222/0.6121, allocations: 0.7321 MB / 0.5387 GB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00231/0.6144, allocations: 1.107 MB / 0.5398 GB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.993e-05/0.6145, allocations: 92.86 kB / 0.5399 GB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.049e-05/0.6145, allocations: 7.906 kB / 0.5399 GB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002932/0.6148, allocations: 19.98 kB / 0.5399 GB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.6149, allocations: 15.91 kB / 0.5399 GB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.658e-05/0.6149, allocations: 8 kB / 0.5399 GB, free: 11.83 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001202/0.6151, allocations: 143.5 kB / 0.5401 GB, free: 11.71 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000989/0.6161, allocations: 87.53 kB / 0.5402 GB, free: 11.63 MB / 362.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 (21): * Single equations (assignments): 20 * 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 {5 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002005/0.6163, allocations: 115.2 kB / 0.5403 GB, free: 11.51 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001594/0.6179, allocations: 0.538 MB / 0.5408 GB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.6179, allocations: 0 / 0.5408 GB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001181/0.6191, allocations: 408.1 kB / 0.5412 GB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.6193, allocations: 23.73 kB / 0.5412 GB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007736/0.6201, allocations: 289.3 kB / 0.5415 GB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004362/0.6206, allocations: 0.7714 MB / 0.5422 GB, free: 9.699 MB / 362.7 MB Notification: Performance of SimCode: time 2.9e-07/0.6206, allocations: 0 / 0.5422 GB, free: 9.699 MB / 362.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe 2>&1)