Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Solar.PowerFactory.DIgSILENT_PV.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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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(OpenIPSL.Tests.Solar.PowerFactory.DIgSILENT_PV,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Solar_PowerFactory_DIgSILENT_PV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Solar.PowerFactory.DIgSILENT_PV,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Solar_PowerFactory_DIgSILENT_PV",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.002018/0.002018, allocations: 178.3 kB / 7.454 MB, free: 2.512 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.063/1.063, allocations: 221.4 MB / 229.3 MB, free: 3.234 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.000883/0.0008831, allocations: 96.44 kB / 280.1 MB, free: 1.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3714/0.3714, allocations: 78.11 MB / 409 MB, free: 15.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1158/0.4872, allocations: 75.48 MB / 484.5 MB, free: 4.438 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.7219, allocations: 69.34 MB / 0.5408 GB, free: 21.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1048/0.8268, allocations: 102.5 MB / 0.6409 GB, free: 2.312 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002196/0.827, allocations: 75.95 kB / 0.641 GB, free: 2.238 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.06547/0.8925, allocations: 30.45 MB / 0.6707 GB, free: 3.598 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.8926, allocations: 12 kB / 0.6707 GB, free: 3.586 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003587/0.8929, allocations: 177.9 kB / 0.6709 GB, free: 3.41 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001722/0.8947, allocations: 1.13 MB / 0.672 GB, free: 2.223 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001684/0.8948, allocations: 169 kB / 0.6722 GB, free: 2.031 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001462/0.895, allocations: 68 kB / 0.6722 GB, free: 1.965 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001824/0.8968, allocations: 0.9769 MB / 0.6732 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2072/1.104, allocations: 1.19 MB / 0.6743 GB, free: 44.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.62e-05/1.104, allocations: 0 / 0.6743 GB, free: 44.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001304/1.104, allocations: 5.781 kB / 0.6743 GB, free: 44.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/1.104, allocations: 28.41 kB / 0.6744 GB, free: 44.1 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006322/1.111, allocations: 4.798 MB / 0.6791 GB, free: 43.16 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/1.112, allocations: 0.7764 MB / 0.6798 GB, free: 43.12 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005588/1.112, allocations: 446.2 kB / 0.6802 GB, free: 43.11 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.618e-05/1.112, allocations: 22 kB / 0.6803 GB, free: 43.11 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007206/1.113, allocations: 0.5399 MB / 0.6808 GB, free: 43.05 MB / 490.7 MB Notification: Performance of pre-optimization done (n=105): time 2.946e-06/1.113, allocations: 0 / 0.6808 GB, free: 43.05 MB / 490.7 MB Notification: Performance of matching and sorting (n=109): time 0.004744/1.118, allocations: 2.442 MB / 0.6832 GB, free: 42.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.685e-05/1.118, allocations: 331.4 kB / 0.6835 GB, free: 42.13 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007938/1.119, allocations: 0.742 MB / 0.6842 GB, free: 41.98 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.747e-05/1.119, allocations: 32.33 kB / 0.6842 GB, free: 41.95 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001991/1.119, allocations: 403.4 kB / 0.6846 GB, free: 41.77 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002307/1.119, allocations: 332.7 kB / 0.685 GB, free: 41.59 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.744e-05/1.119, allocations: 3.797 kB / 0.685 GB, free: 41.59 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.836e-05/1.119, allocations: 340.7 kB / 0.6853 GB, free: 41.28 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006376/1.12, allocations: 422.2 kB / 0.6857 GB, free: 41.28 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007266/1.121, allocations: 0.6092 MB / 0.6863 GB, free: 41.12 MB / 490.7 MB Notification: It was not possible to analyze the given system symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: voltage.y = $START.voltage.y (voltage.offset + (if time < voltage.startTime then 0.0 else voltage.height) = $START.voltage.y) Notification: Performance of analyzeInitialSystem (initialization): time 0.005491/1.126, allocations: 2.06 MB / 0.6883 GB, free: 41.01 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.126, allocations: 0 / 0.6883 GB, free: 41.01 MB / 490.7 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003728/1.13, allocations: 1.592 MB / 0.6898 GB, free: 40.86 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001354/1.13, allocations: 0.6998 MB / 0.6905 GB, free: 40.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/1.13, allocations: 7.078 kB / 0.6905 GB, free: 40.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001418/1.132, allocations: 467.5 kB / 0.691 GB, free: 40.11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/1.133, allocations: 282.9 kB / 0.6912 GB, free: 40.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003392/1.136, allocations: 3.907 MB / 0.6951 GB, free: 37.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009516/1.137, allocations: 142 kB / 0.6952 GB, free: 37.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.485e-05/1.137, allocations: 41.64 kB / 0.6952 GB, free: 37.14 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.24e-06/1.137, allocations: 3.844 kB / 0.6952 GB, free: 37.14 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00296/1.14, allocations: 1.194 MB / 0.6964 GB, free: 37.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/1.14, allocations: 3.312 kB / 0.6964 GB, free: 37.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00125/1.141, allocations: 406.1 kB / 0.6968 GB, free: 37.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008332/1.142, allocations: 221.1 kB / 0.697 GB, free: 37.03 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005502/1.148, allocations: 5.659 MB / 0.7025 GB, free: 33.28 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008515/1.149, allocations: 56.67 kB / 0.7026 GB, free: 33.28 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.265e-05/1.149, allocations: 44.91 kB / 0.7026 GB, free: 33.27 MB / 490.7 MB Warning: Assuming redundant initial conditions for the following 2 initial equations: $DER.pv_plant.pv_array.module.local_E = 0.0 voltage.y = $START.voltage.y Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pv_plant.pv_array.module.local_E:DUMMY_STATE(protected = true ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pv_plant.controller.activePowerController.yo:VARIABLE() type: Real pv_plant.controller.id_ref:VARIABLE() type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 30 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,pv_plant.controller.reactivePowerSupport.picdro.trip,$PRE.pv_plant.controller.reactivePowerSupport.picdro.timer.entryTime,pv_plant.controller.reactivePowerSupport.picdro.timer.entryTime,pv_plant.controller.reactivePowerSupport.picdro.rSFlipFlop.QI,$PRE.pv_plant.controller.reactivePowerSupport.picdro.rSFlipFlop.pre.u,pv_plant.controller.reactivePowerSupport.picdro.rSFlipFlop.pre.u,$PRE.pv_plant.controller.reactivePowerSupport.picdro.timer1.entryTime,pv_plant.controller.reactivePowerSupport.picdro.timer1.entryTime,pv_plant.controller.reactivePowerSupport.picdro.greaterThreshold1.y,pv_plant.controller.reactivePowerSupport.picdro.not1.y,pv_plant.controller.reactivePowerSupport.greaterEqualThreshold.y,pv_plant.controller.current_limiter.pythagoras.valid,pv_plant.controller.current_limiter.picdro.trip,$PRE.pv_plant.controller.current_limiter.picdro.timer.entryTime,pv_plant.controller.current_limiter.picdro.timer.entryTime,pv_plant.controller.current_limiter.picdro.rSFlipFlop.QI,$PRE.pv_plant.controller.current_limiter.picdro.rSFlipFlop.pre.u,pv_plant.controller.current_limiter.picdro.rSFlipFlop.pre.u,$PRE.pv_plant.controller.current_limiter.picdro.timer1.entryTime,pv_plant.controller.current_limiter.picdro.timer1.entryTime,pv_plant.controller.current_limiter.picdro.greaterThreshold1.y,pv_plant.controller.current_limiter.picdro.not1.y,pv_plant.controller.current_limiter.greaterEqualThreshold.y,pv_plant.busbar.integrator.local_reset,pv_plant.controller.activePowerController.I.local_reset,pv_plant.controller.activePowerController.tracker.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 104 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 2 {3 16,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003264/1.149, allocations: 154 kB / 0.7028 GB, free: 33.15 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/1.149, allocations: 115.5 kB / 0.7029 GB, free: 33.09 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002565/1.152, allocations: 1.187 MB / 0.704 GB, free: 33 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/1.152, allocations: 11.03 kB / 0.7041 GB, free: 33 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/1.152, allocations: 0 / 0.7041 GB, free: 33 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/1.152, allocations: 6.312 kB / 0.7041 GB, free: 33 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004188/1.156, allocations: 2.956 MB / 0.707 GB, free: 32.67 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/1.156, allocations: 0 / 0.707 GB, free: 32.67 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001608/1.158, allocations: 418.4 kB / 0.7074 GB, free: 32.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002593/1.158, allocations: 114.4 kB / 0.7075 GB, free: 32.62 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.192e-05/1.158, allocations: 19.42 kB / 0.7075 GB, free: 32.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00238/1.16, allocations: 2.964 MB / 0.7104 GB, free: 30.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/1.16, allocations: 7.219 kB / 0.7104 GB, free: 30.19 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002986/1.163, allocations: 1.877 MB / 0.7122 GB, free: 29.94 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00382/1.167, allocations: 2.913 MB / 0.7151 GB, free: 29.32 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001779/1.167, allocations: 195.5 kB / 0.7152 GB, free: 29.16 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001719/1.168, allocations: 7.312 kB / 0.7153 GB, free: 29.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/1.169, allocations: 159.9 kB / 0.7154 GB, free: 29.14 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001816/1.169, allocations: 90.19 kB / 0.7155 GB, free: 29.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.927e-05/1.169, allocations: 29.81 kB / 0.7155 GB, free: 29.14 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.000616/1.169, allocations: 0.5461 MB / 0.7161 GB, free: 29.03 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002206/1.172, allocations: 374.4 kB / 0.7164 GB, free: 29.02 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (voltage_source.phiu,pv_plant.controller.MPP_delay.y,pv_plant.controller.voltage_measurement_delay.y,pv_plant.controller.filter.y,pv_plant.controller.activePowerController.tracker.y,pv_plant.controller.activePowerController.I.y,pv_plant.busbar.integrator.y,pv_plant.pv_array.module_time.y) * Number of discrete variables: 21 (pv_plant.controller.reactivePowerSupport.picdro.not1.y,pv_plant.controller.current_limiter.picdro.not1.y,pv_plant.controller.current_limiter.greaterEqualThreshold.y,pv_plant.controller.reactivePowerSupport.greaterEqualThreshold.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,pv_plant.controller.reactivePowerSupport.picdro.trip,pv_plant.controller.reactivePowerSupport.picdro.timer.entryTime,pv_plant.controller.reactivePowerSupport.picdro.rSFlipFlop.QI,pv_plant.controller.reactivePowerSupport.picdro.rSFlipFlop.pre.u,pv_plant.controller.reactivePowerSupport.picdro.timer1.entryTime,pv_plant.controller.reactivePowerSupport.picdro.greaterThreshold1.y,pv_plant.controller.current_limiter.pythagoras.valid,pv_plant.controller.current_limiter.picdro.trip,pv_plant.controller.current_limiter.picdro.timer.entryTime,pv_plant.controller.current_limiter.picdro.rSFlipFlop.QI,pv_plant.controller.current_limiter.picdro.rSFlipFlop.pre.u,pv_plant.controller.current_limiter.picdro.timer1.entryTime,pv_plant.controller.current_limiter.picdro.greaterThreshold1.y) * Number of discrete states: 2 (pv_plant.controller.reactivePowerSupport.picdro.rSFlipFlop.pre.u,pv_plant.controller.current_limiter.picdro.rSFlipFlop.pre.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002338/1.172, allocations: 166.2 kB / 0.7166 GB, free: 28.91 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002842/1.175, allocations: 2.191 MB / 0.7187 GB, free: 28.34 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.175, allocations: 0 / 0.7187 GB, free: 28.34 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007811/1.176, allocations: 0.7591 MB / 0.7194 GB, free: 28.12 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007057/1.176, allocations: 149.2 kB / 0.7196 GB, free: 28.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003354/1.18, allocations: 1.901 MB / 0.7214 GB, free: 27.57 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008347/1.18, allocations: 1.275 MB / 0.7227 GB, free: 26.84 MB / 490.7 MB Notification: Performance of SimCode: time 4.51e-07/1.18, allocations: 3.875 kB / 0.7227 GB, free: 26.84 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Solar.PowerFactory.DIgSILENT_PV.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Solar.PowerFactory.DIgSILENT_PV.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Solar.PowerFactory.DIgSILENT_PV.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Solar.PowerFactory.DIgSILENT_PV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Solar_PowerFactory_DIgSILENT_PV_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Solar_PowerFactory_DIgSILENT_PV.fmu > OpenIPSL_release_OpenIPSL.Tests.Solar.PowerFactory.DIgSILENT_PV.pipe 2>&1)