Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.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.OneSourceOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad",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.001203/0.001203, allocations: 183.7 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.14/1.14, allocations: 221.4 MB / 229.7 MB, free: 3.07 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.0009603/0.0009605, allocations: 93.64 kB / 280.5 MB, free: 1.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.035/0.035, allocations: 8.103 MB / 339.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1802/0.2153, allocations: 58.62 MB / 398 MB, free: 67.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07975/0.295, allocations: 52.52 MB / 450.5 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2566/0.5517, allocations: 80.26 MB / 0.5183 GB, free: 13.89 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000199/0.5519, allocations: 60.22 kB / 0.5184 GB, free: 13.87 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0339/0.5858, allocations: 12.9 MB / 0.531 GB, free: 3.711 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.5859, allocations: 11.94 kB / 0.531 GB, free: 3.699 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.755e-05/0.586, allocations: 43.53 kB / 0.531 GB, free: 3.656 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004237/0.5864, allocations: 317.8 kB / 0.5313 GB, free: 3.355 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.5865, allocations: 12 kB / 0.5314 GB, free: 3.344 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.686e-05/0.5865, allocations: 17.31 kB / 0.5314 GB, free: 3.328 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000588/0.5871, allocations: 403.1 kB / 0.5318 GB, free: 3.109 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006287/0.5877, allocations: 427.4 kB / 0.5322 GB, free: 2.82 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.5878, allocations: 0 / 0.5322 GB, free: 2.82 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.108e-05/0.5878, allocations: 3.938 kB / 0.5322 GB, free: 2.816 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.5878, allocations: 11.94 kB / 0.5322 GB, free: 2.805 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002657/0.5905, allocations: 2.068 MB / 0.5342 GB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005647/0.5911, allocations: 443.2 kB / 0.5346 GB, free: 0.6875 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003288/0.5914, allocations: 262.2 kB / 0.5349 GB, free: 0.5547 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001755/0.5916, allocations: 97.08 kB / 0.535 GB, free: 452 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.5916, allocations: 39.69 kB / 0.535 GB, free: 408 kB / 346.7 MB Notification: Performance of pre-optimization done (n=42): time 1.614e-06/0.5916, allocations: 0 / 0.535 GB, free: 408 kB / 346.7 MB Notification: Performance of matching and sorting (n=42): time 0.003725/0.5954, allocations: 1.079 MB / 0.5361 GB, free: 15.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.748e-05/0.5954, allocations: 110.4 kB / 0.5362 GB, free: 15.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002427/0.5957, allocations: 216.6 kB / 0.5364 GB, free: 15.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.788e-05/0.5957, allocations: 37.64 kB / 0.5364 GB, free: 15.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.044e-05/0.5958, allocations: 130.6 kB / 0.5365 GB, free: 15.12 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.5959, allocations: 142.5 kB / 0.5367 GB, free: 15 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-05/0.596, allocations: 0 / 0.5367 GB, free: 15 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.5961, allocations: 341.8 kB / 0.537 GB, free: 14.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003156/0.5964, allocations: 223.6 kB / 0.5372 GB, free: 14.56 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003307/0.5968, allocations: 266.2 kB / 0.5375 GB, free: 14.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007023/0.5975, allocations: 290.2 kB / 0.5377 GB, free: 14.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.5975, allocations: 0 / 0.5377 GB, free: 14.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.003633/0.6011, allocations: 1.104 MB / 0.5388 GB, free: 13.42 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.6012, allocations: 7.984 kB / 0.5388 GB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.6012, allocations: 3.984 kB / 0.5388 GB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003555/0.6047, allocations: 0.6833 MB / 0.5395 GB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000282/0.605, allocations: 51.91 kB / 0.5395 GB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006455/0.6115, allocations: 3.501 MB / 0.543 GB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003987/0.6119, allocations: 27.83 kB / 0.543 GB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.768e-05/0.612, allocations: 15.67 kB / 0.543 GB, free: 10.13 MB / 362.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 (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 {5 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001264/0.6121, allocations: 108.9 kB / 0.5431 GB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.071e-05/0.6122, allocations: 35.62 kB / 0.5431 GB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003831/0.616, allocations: 1.195 MB / 0.5443 GB, free: 9.098 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.6161, allocations: 8 kB / 0.5443 GB, free: 9.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.6161, allocations: 7.938 kB / 0.5443 GB, free: 9.082 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/0.6161, allocations: 7.891 kB / 0.5443 GB, free: 9.074 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000651/0.6167, allocations: 0.584 MB / 0.5449 GB, free: 8.629 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.6167, allocations: 0 / 0.5449 GB, free: 8.629 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002315/0.617, allocations: 55.91 kB / 0.545 GB, free: 8.574 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003473/0.6205, allocations: 0.6865 MB / 0.5456 GB, free: 7.988 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.14e-05/0.6205, allocations: 3.812 kB / 0.5456 GB, free: 7.988 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006566/0.6271, allocations: 3.489 MB / 0.549 GB, free: 5.195 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.6271, allocations: 0 / 0.549 GB, free: 5.195 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003859/0.631, allocations: 1.21 MB / 0.5502 GB, free: 3.961 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003972/0.635, allocations: 1.604 MB / 0.5518 GB, free: 2.336 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.6351, allocations: 116.8 kB / 0.5519 GB, free: 2.203 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.885e-05/0.6352, allocations: 3.906 kB / 0.5519 GB, free: 2.199 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003809/0.6356, allocations: 23.92 kB / 0.5519 GB, free: 2.176 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.424e-05/0.6357, allocations: 20.39 kB / 0.5519 GB, free: 2.156 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.327e-05/0.6357, allocations: 20 kB / 0.552 GB, free: 2.137 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001706/0.6359, allocations: 179.1 kB / 0.5521 GB, free: 1.961 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001134/0.637, allocations: 143.8 kB / 0.5523 GB, free: 1.82 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 (35): * Single equations (assignments): 34 * 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.0002222/0.6373, allocations: 116.9 kB / 0.5524 GB, free: 1.699 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002252/0.6395, allocations: 0.7998 MB / 0.5532 GB, free: 0.8906 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.6396, allocations: 4 kB / 0.5532 GB, free: 0.8867 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001711/0.6413, allocations: 0.577 MB / 0.5537 GB, free: 304 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/0.6416, allocations: 18.53 kB / 0.5537 GB, free: 288 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.6429, allocations: 483.3 kB / 0.5542 GB, free: 15.78 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004323/0.6433, allocations: 0.8359 MB / 0.555 GB, free: 14.92 MB / 378.7 MB Notification: Performance of SimCode: time 4.61e-07/0.6433, allocations: 4 kB / 0.555 GB, free: 14.92 MB / 378.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe 2>&1)