Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGeneratorLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGeneratorLine",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.2+maint.om/package.mo): time 0.0009998/0.0009998, allocations: 182.5 kB / 8.134 MB, free: 2.223 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.001/1.001, allocations: 194.2 MB / 202.8 MB, free: 8.68 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001644/0.001644, allocations: 120.7 kB / 247.7 MB, free: 6.383 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.161/0.161, allocations: 37.92 MB / 330.5 MB, free: 6.918 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.206/0.367, allocations: 59.35 MB / 389.9 MB, free: 78.04 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08479/0.4518, allocations: 53.23 MB / 443.1 MB, free: 24.9 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2843/0.7361, allocations: 111 MB / 0.5412 GB, free: 12.85 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/0.7364, allocations: 91.42 kB / 0.5412 GB, free: 12.8 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 298 * Number of variables: 298 Notification: Performance of Generate backend data structure: time 0.1181/0.8545, allocations: 38.84 MB / 0.5792 GB, free: 11.86 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.8545, allocations: 8 kB / 0.5792 GB, free: 11.85 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00218/0.8567, allocations: 258.1 kB / 0.5794 GB, free: 11.6 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004669/0.8614, allocations: 1.554 MB / 0.5809 GB, free: 10.28 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.996e-05/0.8615, allocations: 32 kB / 0.581 GB, free: 10.25 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003929/0.8619, allocations: 70.78 kB / 0.581 GB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002125/0.8641, allocations: 1.043 MB / 0.5821 GB, free: 9.477 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002476/0.8665, allocations: 1.322 MB / 0.5834 GB, free: 8.426 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.226e-05/0.8666, allocations: 11.06 kB / 0.5834 GB, free: 8.418 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/0.8667, allocations: 7.906 kB / 0.5834 GB, free: 8.41 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001414/0.8669, allocations: 89.11 kB / 0.5835 GB, free: 8.328 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008406/0.8753, allocations: 5.332 MB / 0.5887 GB, free: 3.195 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007499/0.8761, allocations: 474 kB / 0.5891 GB, free: 2.715 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005696/0.8767, allocations: 384.8 kB / 0.5895 GB, free: 2.336 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.38e-05/0.8768, allocations: 12.66 kB / 0.5895 GB, free: 2.324 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.8768, allocations: 39.22 kB / 0.5895 GB, free: 2.277 MB / 394.7 MB Notification: Performance of pre-optimization done (n=69): time 3.116e-06/0.8768, allocations: 0 / 0.5895 GB, free: 2.277 MB / 394.7 MB Notification: Performance of matching and sorting (n=79): time 0.00575/0.8826, allocations: 2.695 MB / 0.5922 GB, free: 15.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.8827, allocations: 85.77 kB / 0.5922 GB, free: 15.42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007753/0.8834, allocations: 0.5467 MB / 0.5928 GB, free: 14.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.215e-05/0.8835, allocations: 33.73 kB / 0.5928 GB, free: 14.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003647/0.8839, allocations: 0.4902 MB / 0.5933 GB, free: 14.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002538/0.8842, allocations: 279.9 kB / 0.5936 GB, free: 14.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.784e-05/0.8842, allocations: 0 / 0.5936 GB, free: 14.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000198/0.8844, allocations: 398.7 kB / 0.5939 GB, free: 13.65 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006139/0.885, allocations: 390.5 kB / 0.5943 GB, free: 13.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008415/0.8859, allocations: 0.6669 MB / 0.595 GB, free: 12.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007992/0.8867, allocations: 0.5197 MB / 0.5955 GB, free: 11.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.8867, allocations: 0 / 0.5955 GB, free: 11.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.003905/0.8906, allocations: 1.668 MB / 0.5971 GB, free: 10.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.8907, allocations: 4 kB / 0.5971 GB, free: 10.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003/0.8937, allocations: 1.319 MB / 0.5984 GB, free: 8.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002436/0.8962, allocations: 0.6132 MB / 0.599 GB, free: 8.305 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007515/0.8969, allocations: 179.7 kB / 0.5992 GB, free: 8.129 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01154/0.9085, allocations: 8.856 MB / 0.6078 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009301/0.9095, allocations: 19.98 kB / 0.6078 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000144/0.9097, allocations: 44 kB / 0.6079 GB, free: 14.73 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 92 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(2,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 1 {3 20} Notification: Performance of prepare postOptimizeDAE: time 0.0002229/0.9099, allocations: 128.7 kB / 0.608 GB, free: 14.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002038/0.9102, allocations: 90.86 kB / 0.6081 GB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002532/0.9127, allocations: 1.216 MB / 0.6093 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.9127, allocations: 8 kB / 0.6093 GB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.636e-05/0.9127, allocations: 4 kB / 0.6093 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.9128, allocations: 3.984 kB / 0.6093 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005372/0.9181, allocations: 2.381 MB / 0.6116 GB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/0.9182, allocations: 4 kB / 0.6116 GB, free: 10.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000543/0.9187, allocations: 111.8 kB / 0.6117 GB, free: 10.65 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001286/0.92, allocations: 388.3 kB / 0.6121 GB, free: 10.26 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.455e-05/0.9201, allocations: 19.98 kB / 0.6121 GB, free: 10.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007687/0.9278, allocations: 8.168 MB / 0.6201 GB, free: 1.48 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.715e-06/0.9279, allocations: 4.281 kB / 0.6201 GB, free: 1.477 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003152/0.931, allocations: 1.907 MB / 0.6219 GB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003656/0.9347, allocations: 2.81 MB / 0.6247 GB, free: 12.44 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004947/0.9352, allocations: 231.9 kB / 0.6249 GB, free: 12.19 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001572/0.9354, allocations: 15.89 kB / 0.6249 GB, free: 12.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000508/0.9359, allocations: 11.98 kB / 0.6249 GB, free: 12.16 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/0.9361, allocations: 48.53 kB / 0.625 GB, free: 12.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.838e-05/0.9361, allocations: 31.98 kB / 0.625 GB, free: 12.09 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0005927/0.9367, allocations: 423.3 kB / 0.6254 GB, free: 11.68 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002048/0.9388, allocations: 323.9 kB / 0.6257 GB, free: 11.36 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 8 (turboGrp.w,generator.phi_el,generator.i_s[1],generator.i_s[2],generator.i_s[3],RLgen1.i[1],RLgen1.i[2],RLgen1.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 54 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 10,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003618/0.9392, allocations: 183.6 kB / 0.6259 GB, free: 11.18 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002517/0.9417, allocations: 1.475 MB / 0.6273 GB, free: 9.66 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.9417, allocations: 0 / 0.6273 GB, free: 9.66 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001605/0.9433, allocations: 1.019 MB / 0.6283 GB, free: 8.59 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.9445, allocations: 162.3 kB / 0.6285 GB, free: 8.438 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004308/0.9488, allocations: 2.281 MB / 0.6307 GB, free: 6.066 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001514/0.9503, allocations: 1.337 MB / 0.632 GB, free: 4.699 MB / 442.7 MB Notification: Performance of SimCode: time 8.51e-07/0.9503, allocations: 0 / 0.632 GB, free: 4.699 MB / 442.7 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGeneratorLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGeneratorLine.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe 2>&1)