Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.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/PhotoVoltaics 2.0.0/package.mo", uses=false) Using package PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/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(PhotoVoltaics.Examples.SimplePlantSymmetric,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimplePlantSymmetric",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimplePlantSymmetric,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimplePlantSymmetric",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.002394/0.002395, allocations: 182.9 kB / 7.461 MB, free: 2.5 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.3 MB, free: 3.086 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.0008988/0.0008988, allocations: 102.7 kB / 280.1 MB, free: 1.332 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02389/0.02389, allocations: 5.29 MB / 336.2 MB, free: 9.309 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2224/0.2464, allocations: 59.6 MB / 395.8 MB, free: 69.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08382/0.3302, allocations: 51.61 MB / 447.4 MB, free: 17.83 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2781/0.6083, allocations: 82.71 MB / 0.5177 GB, free: 1.199 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001951/0.6086, allocations: 69.22 kB / 0.5178 GB, free: 1.168 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0392/0.6478, allocations: 13.18 MB / 0.5306 GB, free: 6.07 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.6479, allocations: 8 kB / 0.5306 GB, free: 6.062 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001109/0.648, allocations: 51.44 kB / 0.5307 GB, free: 6.012 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005533/0.6485, allocations: 358.9 kB / 0.531 GB, free: 5.668 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.6486, allocations: 8 kB / 0.531 GB, free: 5.66 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.121e-05/0.6486, allocations: 16 kB / 0.5311 GB, free: 5.645 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000597/0.6492, allocations: 329 kB / 0.5314 GB, free: 5.453 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004961/0.6497, allocations: 293.8 kB / 0.5316 GB, free: 5.219 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.6498, allocations: 0 / 0.5316 GB, free: 5.219 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.469e-05/0.6498, allocations: 7.984 kB / 0.5317 GB, free: 5.211 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.6498, allocations: 8 kB / 0.5317 GB, free: 5.203 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002296/0.6521, allocations: 1.434 MB / 0.5331 GB, free: 4.004 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00037/0.6525, allocations: 232.4 kB / 0.5333 GB, free: 3.852 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002841/0.6528, allocations: 138.9 kB / 0.5334 GB, free: 3.754 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.162e-05/0.6528, allocations: 4.188 kB / 0.5334 GB, free: 3.75 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.6529, allocations: 34.69 kB / 0.5335 GB, free: 3.711 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 1.854e-06/0.6529, allocations: 4 kB / 0.5335 GB, free: 3.707 MB / 346.7 MB Notification: Performance of matching and sorting (n=21): time 0.003014/0.6559, allocations: 0.5776 MB / 0.534 GB, free: 3.207 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.6559, allocations: 59.34 kB / 0.5341 GB, free: 3.137 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003777/0.6563, allocations: 348.6 kB / 0.5344 GB, free: 2.879 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/0.6564, allocations: 25.7 kB / 0.5344 GB, free: 2.848 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.876e-05/0.6565, allocations: 187.2 kB / 0.5346 GB, free: 2.676 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.444e-05/0.6565, allocations: 71.06 kB / 0.5347 GB, free: 2.613 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.095e-05/0.6565, allocations: 0 / 0.5347 GB, free: 2.613 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.6567, allocations: 346.2 kB / 0.535 GB, free: 2.281 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000187/0.6568, allocations: 115.1 kB / 0.5351 GB, free: 2.223 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/0.6571, allocations: 160.1 kB / 0.5353 GB, free: 2.109 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000212/0.6573, allocations: 129.8 kB / 0.5354 GB, free: 2.035 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.6573, allocations: 0 / 0.5354 GB, free: 2.035 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.003444/0.6607, allocations: 0.7497 MB / 0.5361 GB, free: 1.402 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.6608, allocations: 7.938 kB / 0.5361 GB, free: 1.395 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.6608, allocations: 4 kB / 0.5361 GB, free: 1.391 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002887/0.6637, allocations: 0.5602 MB / 0.5367 GB, free: 0.8906 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002889/0.664, allocations: 66.89 kB / 0.5368 GB, free: 0.8281 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006951/0.6709, allocations: 3.966 MB / 0.5406 GB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004505/0.6714, allocations: 47.73 kB / 0.5407 GB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-05/0.6715, allocations: 15.97 kB / 0.5407 GB, free: 13.11 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: variableResistor.i:VARIABLE(unit = "A" ) "Current flowing from pin p to pin n" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * 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): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001578/0.6716, allocations: 112.7 kB / 0.5408 GB, free: 13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.367e-05/0.6717, allocations: 35.53 kB / 0.5408 GB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.096e-05/0.6718, allocations: 38.59 kB / 0.5409 GB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.6718, allocations: 4 kB / 0.5409 GB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.6718, allocations: 0 / 0.5409 GB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.6718, allocations: 3.984 kB / 0.5409 GB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003581/0.6754, allocations: 1.105 MB / 0.542 GB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.6754, allocations: 0 / 0.542 GB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001569/0.6756, allocations: 35.97 kB / 0.542 GB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002382/0.678, allocations: 486.8 kB / 0.5424 GB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.969e-05/0.678, allocations: 7.891 kB / 0.5425 GB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004769/0.6828, allocations: 2.226 MB / 0.5446 GB, free: 9.574 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.6828, allocations: 0 / 0.5446 GB, free: 9.574 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003018/0.6859, allocations: 0.6909 MB / 0.5453 GB, free: 8.945 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003097/0.689, allocations: 1.076 MB / 0.5464 GB, free: 7.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002344/0.6892, allocations: 149.7 kB / 0.5465 GB, free: 7.789 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.823e-05/0.6893, allocations: 7.906 kB / 0.5465 GB, free: 7.781 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003804/0.6897, allocations: 31.91 kB / 0.5465 GB, free: 7.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.022e-05/0.6898, allocations: 15.97 kB / 0.5466 GB, free: 7.734 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.833e-05/0.6898, allocations: 11.17 kB / 0.5466 GB, free: 7.727 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0003657/0.6902, allocations: 273.6 kB / 0.5468 GB, free: 7.527 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001122/0.6913, allocations: 119.8 kB / 0.5469 GB, free: 7.41 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002246/0.6915, allocations: 139.3 kB / 0.5471 GB, free: 7.266 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009064/0.6925, allocations: 497.6 kB / 0.5475 GB, free: 6.855 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.6925, allocations: 0 / 0.5475 GB, free: 6.855 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002975/0.6928, allocations: 226.3 kB / 0.5478 GB, free: 6.664 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004001/0.6932, allocations: 71.86 kB / 0.5478 GB, free: 6.613 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.6944, allocations: 479.3 kB / 0.5483 GB, free: 6.184 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003953/0.6948, allocations: 0.8301 MB / 0.5491 GB, free: 5.324 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6948, allocations: 0 / 0.5491 GB, free: 5.324 MB / 362.7 MB (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimplePlantSymmetric_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimplePlantSymmetric.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe 2>&1)