Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.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.SimpleModuleSymmetric,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleSymmetric",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModuleSymmetric,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleSymmetric",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.002203/0.002203, allocations: 184.5 kB / 7.462 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.151/1.151, allocations: 221.4 MB / 229.3 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.0008995/0.0008994, allocations: 101.3 kB / 280.1 MB, free: 1.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02359/0.02359, allocations: 5.288 MB / 336.2 MB, free: 9.223 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2136/0.2372, allocations: 59.6 MB / 395.8 MB, free: 69.35 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0809/0.3181, allocations: 51.61 MB / 447.4 MB, free: 17.8 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2392/0.5573, allocations: 82.45 MB / 0.5174 GB, free: 1.367 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001917/0.5576, allocations: 69.53 kB / 0.5175 GB, free: 1.336 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.03665/0.5942, allocations: 12.96 MB / 0.5302 GB, free: 6.422 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.5943, allocations: 8 kB / 0.5302 GB, free: 6.414 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.886e-05/0.5944, allocations: 43.44 kB / 0.5302 GB, free: 6.371 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004704/0.5949, allocations: 351.9 kB / 0.5305 GB, free: 6.039 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.5949, allocations: 8 kB / 0.5306 GB, free: 6.031 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.092e-05/0.5949, allocations: 12 kB / 0.5306 GB, free: 6.02 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005439/0.5955, allocations: 305.7 kB / 0.5309 GB, free: 5.836 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004285/0.5959, allocations: 278.7 kB / 0.5311 GB, free: 5.621 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.596, allocations: 4 kB / 0.5311 GB, free: 5.617 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.934e-05/0.596, allocations: 0 / 0.5311 GB, free: 5.617 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.596, allocations: 4 kB / 0.5311 GB, free: 5.613 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002267/0.5983, allocations: 1.393 MB / 0.5325 GB, free: 4.441 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003087/0.5986, allocations: 193.1 kB / 0.5327 GB, free: 4.312 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002645/0.5989, allocations: 127.2 kB / 0.5328 GB, free: 4.223 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.5989, allocations: 4 kB / 0.5328 GB, free: 4.219 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.5989, allocations: 34.31 kB / 0.5328 GB, free: 4.18 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 1.423e-06/0.599, allocations: 4 kB / 0.5328 GB, free: 4.176 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.003066/0.602, allocations: 0.5588 MB / 0.5334 GB, free: 3.688 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.6021, allocations: 51.41 kB / 0.5334 GB, free: 3.625 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004495/0.6025, allocations: 346.9 kB / 0.5338 GB, free: 3.363 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/0.6026, allocations: 29.64 kB / 0.5338 GB, free: 3.328 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.6027, allocations: 177.3 kB / 0.534 GB, free: 3.168 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.962e-05/0.6027, allocations: 62.16 kB / 0.534 GB, free: 3.113 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.907e-05/0.6028, allocations: 0 / 0.534 GB, free: 3.113 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.6029, allocations: 343.6 kB / 0.5343 GB, free: 2.785 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/0.6031, allocations: 105.4 kB / 0.5344 GB, free: 2.73 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001942/0.6033, allocations: 147.7 kB / 0.5346 GB, free: 2.629 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001949/0.6035, allocations: 120.9 kB / 0.5347 GB, free: 2.559 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.6035, allocations: 0 / 0.5347 GB, free: 2.559 MB / 346.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.00336/0.6069, allocations: 0.7295 MB / 0.5354 GB, free: 1.941 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.6069, allocations: 7.938 kB / 0.5354 GB, free: 1.934 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.6069, allocations: 0 / 0.5354 GB, free: 1.934 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002957/0.6099, allocations: 0.5562 MB / 0.536 GB, free: 1.438 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002851/0.6102, allocations: 51.95 kB / 0.536 GB, free: 1.387 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006956/0.6171, allocations: 3.973 MB / 0.5399 GB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004569/0.6176, allocations: 47.78 kB / 0.5399 GB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-05/0.6177, allocations: 15.8 kB / 0.54 GB, free: 13.66 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 (26): * Single equations (assignments): 24 * 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.0001456/0.6178, allocations: 111.5 kB / 0.5401 GB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.479e-05/0.6179, allocations: 31.53 kB / 0.5401 GB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.015e-05/0.618, allocations: 38.55 kB / 0.5401 GB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.618, allocations: 0 / 0.5401 GB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.618, allocations: 0 / 0.5401 GB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.618, allocations: 0 / 0.5401 GB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003551/0.6216, allocations: 1.059 MB / 0.5412 GB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.6216, allocations: 4 kB / 0.5412 GB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001301/0.6217, allocations: 32 kB / 0.5412 GB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00232/0.6241, allocations: 495.8 kB / 0.5417 GB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.6241, allocations: 7.984 kB / 0.5417 GB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0046/0.6287, allocations: 2.224 MB / 0.5438 GB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.6287, allocations: 4.062 kB / 0.5439 GB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002914/0.6316, allocations: 0.6682 MB / 0.5445 GB, free: 9.543 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003036/0.6347, allocations: 1.05 MB / 0.5455 GB, free: 8.547 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002038/0.6349, allocations: 145.6 kB / 0.5457 GB, free: 8.406 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.857e-05/0.635, allocations: 7.938 kB / 0.5457 GB, free: 8.398 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003459/0.6353, allocations: 27.97 kB / 0.5457 GB, free: 8.371 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.954e-05/0.6354, allocations: 11.98 kB / 0.5457 GB, free: 8.359 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-05/0.6354, allocations: 14.89 kB / 0.5457 GB, free: 8.348 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0002843/0.6357, allocations: 259.4 kB / 0.546 GB, free: 8.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001087/0.6368, allocations: 118.5 kB / 0.5461 GB, free: 8.047 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 (13): * Single equations (assignments): 12 * 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.0002366/0.6371, allocations: 135.3 kB / 0.5462 GB, free: 7.902 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008936/0.638, allocations: 472.9 kB / 0.5467 GB, free: 7.512 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.638, allocations: 4.125 kB / 0.5467 GB, free: 7.508 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003193/0.6383, allocations: 214.5 kB / 0.5469 GB, free: 7.324 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004065/0.6387, allocations: 58.14 kB / 0.5469 GB, free: 7.281 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.6399, allocations: 449.5 kB / 0.5474 GB, free: 6.875 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004423/0.6403, allocations: 0.8219 MB / 0.5482 GB, free: 6.023 MB / 362.7 MB Notification: Performance of SimCode: time 2.91e-07/0.6403, allocations: 0 / 0.5482 GB, free: 6.023 MB / 362.7 MB (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleSymmetric_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleSymmetric.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe 2>&1)