Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.Display.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Introductory.Display,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_Display",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.Display,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_Display",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 3.2.3+maint.om/package.mo): time 0.001095/0.001095, allocations: 184.5 kB / 8.138 MB, free: 2.223 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.438/1.438, allocations: 205.2 MB / 213.7 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009664/0.0009666, allocations: 94.72 kB / 261.7 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1747/0.1747, allocations: 37.96 MB / 347.7 MB, free: 7.539 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2294/0.4041, allocations: 62.42 MB / 410.1 MB, free: 46.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.531, allocations: 56.32 MB / 466.4 MB, free: 6.402 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.378/0.9091, allocations: 99.14 MB / 0.5523 GB, free: 11.42 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/0.9094, allocations: 83.95 kB / 0.5524 GB, free: 11.34 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.08163/0.991, allocations: 26.7 MB / 0.5785 GB, free: 316 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.9911, allocations: 11.94 kB / 0.5785 GB, free: 304 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001303/0.9924, allocations: 174.7 kB / 0.5786 GB, free: 128 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004376/0.9968, allocations: 1.282 MB / 0.5799 GB, free: 14.8 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.295e-05/0.997, allocations: 43.98 kB / 0.5799 GB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003126/0.9973, allocations: 48 kB / 0.58 GB, free: 14.71 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001906/0.9992, allocations: 0.8588 MB / 0.5808 GB, free: 13.85 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001956/1.001, allocations: 1.044 MB / 0.5818 GB, free: 12.75 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.45e-05/1.001, allocations: 3.938 kB / 0.5818 GB, free: 12.74 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.07e-05/1.001, allocations: 4 kB / 0.5818 GB, free: 12.74 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001053/1.001, allocations: 89.94 kB / 0.5819 GB, free: 12.65 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00677/1.008, allocations: 4.109 MB / 0.5859 GB, free: 8.352 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001157/1.009, allocations: 0.5948 MB / 0.5865 GB, free: 7.738 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004996/1.01, allocations: 311.8 kB / 0.5868 GB, free: 7.43 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.371e-05/1.01, allocations: 16.42 kB / 0.5868 GB, free: 7.414 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.438e-05/1.01, allocations: 39.06 kB / 0.5869 GB, free: 7.367 MB / 426.7 MB Notification: Performance of pre-optimization done (n=63): time 4.197e-06/1.01, allocations: 0 / 0.5869 GB, free: 7.367 MB / 426.7 MB Notification: Performance of matching and sorting (n=64): time 0.00298/1.013, allocations: 1.459 MB / 0.5883 GB, free: 5.852 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/1.013, allocations: 89.77 kB / 0.5884 GB, free: 5.742 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006489/1.014, allocations: 457.8 kB / 0.5888 GB, free: 5.289 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.892e-05/1.014, allocations: 29.64 kB / 0.5888 GB, free: 5.254 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002578/1.014, allocations: 394.6 kB / 0.5892 GB, free: 4.859 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001901/1.014, allocations: 205 kB / 0.5894 GB, free: 4.656 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.383e-05/1.014, allocations: 0 / 0.5894 GB, free: 4.656 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001617/1.015, allocations: 386.7 kB / 0.5898 GB, free: 4.27 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004153/1.015, allocations: 273.9 kB / 0.59 GB, free: 4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006511/1.016, allocations: 0.6035 MB / 0.5906 GB, free: 3.246 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005979/1.016, allocations: 402.8 kB / 0.591 GB, free: 2.852 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/1.016, allocations: 0 / 0.591 GB, free: 2.852 MB / 426.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002192/1.018, allocations: 1.095 MB / 0.5921 GB, free: 1.742 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/1.019, allocations: 4.844 kB / 0.5921 GB, free: 1.738 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00124/1.02, allocations: 0.6886 MB / 0.5928 GB, free: 1.039 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008016/1.021, allocations: 218.3 kB / 0.593 GB, free: 0.8164 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007779/1.021, allocations: 211.7 kB / 0.5932 GB, free: 0.6094 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004778/1.026, allocations: 4.642 MB / 0.5977 GB, free: 11.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006525/1.027, allocations: 16.17 kB / 0.5977 GB, free: 11.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/1.027, allocations: 44 kB / 0.5978 GB, free: 11.55 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 33 (system.initime,phasor_ind.color_p[1],phasor_ind.color_p[3],phasor_ind.color_n[1],phasor_ind.color_n[3],phasor_cap.color_p[1],phasor_cap.color_p[3],phasor_cap.color_n[1],phasor_cap.color_n[3],phasor_cap.color2[3],phasor_cap.color2[2],phasor_cap.color2[1],phasor_cap.color1[3],phasor_cap.color1[2],phasor_cap.color1[1],phasor_cap.colorR[3],phasor_cap.colorR[2],phasor_cap.colorR[1],phasor_cap.colorL[3],phasor_cap.colorL[2],phasor_cap.colorL[1],phasor_ind.color2[3],phasor_ind.color2[2],phasor_ind.color2[1],phasor_ind.color1[3],phasor_ind.color1[2],phasor_ind.color1[1],phasor_ind.colorR[3],phasor_ind.colorR[2],phasor_ind.colorR[1],phasor_ind.colorL[3],phasor_ind.colorL[2],phasor_ind.colorL[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 106 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(2,100.0%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000253/1.027, allocations: 167.7 kB / 0.5979 GB, free: 11.39 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001704/1.027, allocations: 67.16 kB / 0.598 GB, free: 11.32 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/1.028, allocations: 0.6119 MB / 0.5986 GB, free: 10.7 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/1.028, allocations: 4 kB / 0.5986 GB, free: 10.7 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/1.028, allocations: 4 kB / 0.5986 GB, free: 10.7 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/1.029, allocations: 3.984 kB / 0.5986 GB, free: 10.69 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002942/1.031, allocations: 1.476 MB / 0.6 GB, free: 9.145 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/1.031, allocations: 4 kB / 0.6 GB, free: 9.141 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008575/1.032, allocations: 168.1 kB / 0.6002 GB, free: 8.977 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.039e-05/1.032, allocations: 4 kB / 0.6002 GB, free: 8.973 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.364e-05/1.032, allocations: 8 kB / 0.6002 GB, free: 8.965 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.855e-06/1.032, allocations: 7.984 kB / 0.6002 GB, free: 8.957 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/1.032, allocations: 4 kB / 0.6002 GB, free: 8.953 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001753/1.034, allocations: 1.135 MB / 0.6013 GB, free: 7.715 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001935/1.036, allocations: 1.832 MB / 0.6031 GB, free: 5.766 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004244/1.037, allocations: 184.2 kB / 0.6033 GB, free: 5.566 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001582/1.037, allocations: 7.984 kB / 0.6033 GB, free: 5.559 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004075/1.037, allocations: 7.938 kB / 0.6033 GB, free: 5.551 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/1.037, allocations: 52.28 kB / 0.6034 GB, free: 5.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.431e-05/1.037, allocations: 19.98 kB / 0.6034 GB, free: 5.48 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0004182/1.038, allocations: 326.9 kB / 0.6037 GB, free: 5.164 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001745/1.04, allocations: 208 kB / 0.6039 GB, free: 4.961 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 6 (ind.i[1],ind.i[2],ind.i[3],cap.v[1],cap.v[2],cap.v[3]) * Number of discrete variables: 9 (system.initime,phasor_ind.color_p[1],phasor_ind.color_p[3],phasor_ind.color_n[1],phasor_ind.color_n[3],phasor_cap.color_p[1],phasor_cap.color_p[3],phasor_cap.color_n[1],phasor_cap.color_n[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002459/1.04, allocations: 135 kB / 0.604 GB, free: 4.812 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001948/1.042, allocations: 1.025 MB / 0.605 GB, free: 3.758 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/1.042, allocations: 0.75 kB / 0.605 GB, free: 3.758 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004853/1.042, allocations: 326.1 kB / 0.6053 GB, free: 3.441 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007769/1.043, allocations: 126.2 kB / 0.6055 GB, free: 3.32 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003344/1.046, allocations: 1.597 MB / 0.607 GB, free: 1.664 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001098/1.048, allocations: 1.153 MB / 0.6081 GB, free: 496 kB / 442.7 MB Notification: Performance of SimCode: time 1.854e-06/1.048, allocations: 0 / 0.6081 GB, free: 496 kB / 442.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Display.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Introductory.Display_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Introductory_Display_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Introductory_Display.fmu > PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe 2>&1)