Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.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.PVsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PVsource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PVsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PVsource",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.001101/0.001101, allocations: 183.4 kB / 8.137 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.122/1.122, allocations: 194.2 MB / 202.8 MB, free: 8.66 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.001672/0.001672, allocations: 122.5 kB / 247.7 MB, free: 6.332 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1555/0.1555, allocations: 37.91 MB / 330.5 MB, free: 6.914 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1742/0.3298, allocations: 59.35 MB / 389.9 MB, free: 78.02 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06824/0.3981, allocations: 53.22 MB / 443.1 MB, free: 24.89 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2319/0.63, allocations: 90.75 MB / 0.5214 GB, free: 10.05 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001744/0.6302, allocations: 87.12 kB / 0.5214 GB, free: 10.03 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.03215/0.6624, allocations: 12.74 MB / 0.5339 GB, free: 4.57 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.6625, allocations: 8 kB / 0.5339 GB, free: 4.562 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006961/0.6632, allocations: 91.36 kB / 0.534 GB, free: 4.473 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001973/0.6651, allocations: 0.8567 MB / 0.5348 GB, free: 3.734 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.6652, allocations: 12 kB / 0.5348 GB, free: 3.723 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.177e-05/0.6653, allocations: 23.25 kB / 0.5348 GB, free: 3.703 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000417/0.6657, allocations: 273.4 kB / 0.5351 GB, free: 3.523 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005723/0.6663, allocations: 418.8 kB / 0.5355 GB, free: 3.188 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/0.6663, allocations: 7.844 kB / 0.5355 GB, free: 3.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.075e-05/0.6663, allocations: 0 / 0.5355 GB, free: 3.18 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.88e-05/0.6664, allocations: 24.72 kB / 0.5355 GB, free: 3.156 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001726/0.6681, allocations: 1.627 MB / 0.5371 GB, free: 1.66 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.6683, allocations: 123.9 kB / 0.5372 GB, free: 1.555 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.6684, allocations: 104.2 kB / 0.5373 GB, free: 1.477 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.6684, allocations: 3.828 kB / 0.5373 GB, free: 1.477 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/0.6684, allocations: 37.25 kB / 0.5374 GB, free: 1.434 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.6685, allocations: 3.938 kB / 0.5374 GB, free: 1.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.000931/0.6694, allocations: 0.6512 MB / 0.538 GB, free: 0.8086 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.162e-05/0.6694, allocations: 85.09 kB / 0.5381 GB, free: 0.707 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.6696, allocations: 241.2 kB / 0.5383 GB, free: 0.5078 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.6696, allocations: 25.7 kB / 0.5384 GB, free: 488 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.085e-05/0.6697, allocations: 220.6 kB / 0.5386 GB, free: 280 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.623e-05/0.6698, allocations: 65.94 kB / 0.5386 GB, free: 220 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.153e-05/0.6698, allocations: 4.75 kB / 0.5386 GB, free: 216 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.6699, allocations: 336.9 kB / 0.539 GB, free: 15.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.67, allocations: 84.12 kB / 0.539 GB, free: 15.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.6702, allocations: 186.9 kB / 0.5392 GB, free: 15.63 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.6704, allocations: 123.1 kB / 0.5393 GB, free: 15.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.6704, allocations: 0 / 0.5393 GB, free: 15.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007629/0.6711, allocations: 423.7 kB / 0.5397 GB, free: 15.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.6712, allocations: 7.938 kB / 0.5397 GB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005253/0.6717, allocations: 277.9 kB / 0.54 GB, free: 15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000448/0.6722, allocations: 137 kB / 0.5401 GB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001987/0.6724, allocations: 58.31 kB / 0.5402 GB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002188/0.6746, allocations: 1.979 MB / 0.5421 GB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001958/0.6748, allocations: 8 kB / 0.5421 GB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.086e-05/0.6748, allocations: 8 kB / 0.5421 GB, free: 12.96 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (29): * Single equations (assignments): 28 * 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 {2 6} Notification: Performance of prepare postOptimizeDAE: time 8.458e-05/0.6749, allocations: 124 kB / 0.5423 GB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.308e-05/0.675, allocations: 23.72 kB / 0.5423 GB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003542/0.6753, allocations: 231.7 kB / 0.5425 GB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.6753, allocations: 4 kB / 0.5425 GB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.6753, allocations: 0 / 0.5425 GB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.6753, allocations: 3.984 kB / 0.5425 GB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.6764, allocations: 0.6676 MB / 0.5432 GB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.6764, allocations: 3.938 kB / 0.5432 GB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002239/0.6766, allocations: 31.98 kB / 0.5432 GB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001073/0.6767, allocations: 43.81 kB / 0.5432 GB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/0.6768, allocations: 7.984 kB / 0.5432 GB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009923/0.6778, allocations: 1.397 MB / 0.5446 GB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.6778, allocations: 0 / 0.5446 GB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004884/0.6783, allocations: 489.9 kB / 0.5451 GB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006928/0.679, allocations: 0.9418 MB / 0.546 GB, free: 9.125 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.745e-05/0.6791, allocations: 109 kB / 0.5461 GB, free: 9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.544e-05/0.6791, allocations: 0 / 0.5461 GB, free: 9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.6793, allocations: 11.98 kB / 0.5461 GB, free: 8.988 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.223e-05/0.6794, allocations: 15.8 kB / 0.5461 GB, free: 8.977 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.6794, allocations: 4 kB / 0.5461 GB, free: 8.973 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001555/0.6795, allocations: 184.7 kB / 0.5463 GB, free: 8.824 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00105/0.6806, allocations: 91.47 kB / 0.5464 GB, free: 8.738 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001922/0.6808, allocations: 122.9 kB / 0.5465 GB, free: 8.613 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005881/0.6814, allocations: 346.1 kB / 0.5468 GB, free: 8.328 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.6814, allocations: 0 / 0.5468 GB, free: 8.328 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002741/0.6817, allocations: 207.3 kB / 0.547 GB, free: 8.137 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.6821, allocations: 62.53 kB / 0.5471 GB, free: 8.094 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.6832, allocations: 0.6673 MB / 0.5478 GB, free: 7.434 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004501/0.6837, allocations: 0.8813 MB / 0.5486 GB, free: 6.543 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.6837, allocations: 0 / 0.5486 GB, free: 6.543 MB / 362.7 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Generation_PVsource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Generation_PVsource.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1)