Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Tests_Solar_PowerFactory_DIgSILENT_PV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Solar.PowerFactory.DIgSILENT_PV,fileNamePrefix="OpenIPSL_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.001363/0.001363, allocations: 178.2 kB / 7.456 MB, free: 1.535 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 221.4 MB / 229.3 MB, free: 8.434 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.00111, allocations: 89.34 kB / 280.1 MB, free: 7.844 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5044/0.5044, allocations: 78.04 MB / 408.9 MB, free: 5.336 MB / 290.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2231/0.7276, allocations: 75.49 MB / 484.4 MB, free: 10.14 MB / 370.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4379/1.166, allocations: 69.35 MB / 0.5408 GB, free: 15.58 MB / 370.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1495/1.315, allocations: 102.5 MB / 0.6409 GB, free: 8.945 MB / 466.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003251/1.315, allocations: 83.94 kB / 0.641 GB, free: 8.863 MB / 466.8 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.3948/1.71, allocations: 30.45 MB / 0.6707 GB, free: 99.81 MB / 482.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/1.71, allocations: 7.25 kB / 0.6707 GB, free: 99.81 MB / 482.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000643/1.711, allocations: 185.8 kB / 0.6709 GB, free: 99.72 MB / 482.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002018/1.713, allocations: 1.127 MB / 0.672 GB, free: 99.39 MB / 482.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001746/1.713, allocations: 178.3 kB / 0.6721 GB, free: 99.26 MB / 482.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001586/1.713, allocations: 68.56 kB / 0.6722 GB, free: 99.26 MB / 482.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002018/1.715, allocations: 0.9715 MB / 0.6732 GB, free: 99.25 MB / 482.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002029/1.717, allocations: 1.187 MB / 0.6743 GB, free: 99.03 MB / 482.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.674e-05/1.717, allocations: 2.062 kB / 0.6743 GB, free: 99.03 MB / 482.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/1.718, allocations: 3.938 kB / 0.6743 GB, free: 99.03 MB / 482.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.374e-05/1.718, allocations: 27.53 kB / 0.6743 GB, free: 99.03 MB / 482.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00773/1.725, allocations: 4.795 MB / 0.679 GB, free: 97.95 MB / 482.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001624/1.727, allocations: 0.7823 MB / 0.6798 GB, free: 97.89 MB / 482.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006353/1.728, allocations: 443.4 kB / 0.6802 GB, free: 97.67 MB / 482.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.047e-05/1.728, allocations: 21.67 kB / 0.6802 GB, free: 97.67 MB / 482.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008464/1.729, allocations: 0.5382 MB / 0.6808 GB, free: 97.4 MB / 482.8 MB Notification: Performance of pre-optimization done (n=105): time 3.847e-06/1.729, allocations: 0 / 0.6808 GB, free: 97.4 MB / 482.8 MB Notification: Performance of matching and sorting (n=109): time 0.005683/1.734, allocations: 2.451 MB / 0.6832 GB, free: 96.12 MB / 482.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/1.734, allocations: 332.4 kB / 0.6835 GB, free: 95.74 MB / 482.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/1.736, allocations: 0.7356 MB / 0.6842 GB, free: 95.38 MB / 482.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001377/1.736, allocations: 33.55 kB / 0.6842 GB, free: 95.34 MB / 482.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.000287/1.736, allocations: 406.3 kB / 0.6846 GB, free: 95.06 MB / 482.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002623/1.736, allocations: 328.4 kB / 0.6849 GB, free: 94.8 MB / 482.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.607e-05/1.736, allocations: 0 / 0.6849 GB, free: 94.8 MB / 482.8 MB Notification: Performance of setup shared object (initialization): time 8.692e-05/1.736, allocations: 348.2 kB / 0.6853 GB, free: 94.48 MB / 482.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006389/1.737, allocations: 430.9 kB / 0.6857 GB, free: 94.27 MB / 482.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008094/1.738, allocations: 0.6052 MB / 0.6863 GB, free: 93.86 MB / 482.8 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.006237/1.744, allocations: 2.056 MB / 0.6883 GB, free: 93.16 MB / 482.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/1.744, allocations: 0 / 0.6883 GB, free: 93.16 MB / 482.8 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.004926/1.749, allocations: 1.588 MB / 0.6898 GB, free: 92.56 MB / 482.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.000216/1.749, allocations: 0.7082 MB / 0.6905 GB, free: 91.81 MB / 482.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/1.749, allocations: 2.062 kB / 0.6905 GB, free: 91.81 MB / 482.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001915/1.751, allocations: 469.2 kB / 0.691 GB, free: 91.67 MB / 482.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001539/1.753, allocations: 283.2 kB / 0.6912 GB, free: 91.65 MB / 482.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004716/1.758, allocations: 3.911 MB / 0.695 GB, free: 88.21 MB / 482.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/1.759, allocations: 140 kB / 0.6952 GB, free: 88.2 MB / 482.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001281/1.759, allocations: 38.03 kB / 0.6952 GB, free: 88.19 MB / 482.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/1.759, allocations: 3.812 kB / 0.6952 GB, free: 88.19 MB / 482.8 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003802/1.763, allocations: 1.198 MB / 0.6964 GB, free: 87.74 MB / 482.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/1.763, allocations: 1.844 kB / 0.6964 GB, free: 87.74 MB / 482.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001884/1.765, allocations: 405.2 kB / 0.6968 GB, free: 87.62 MB / 482.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001373/1.766, allocations: 224 kB / 0.697 GB, free: 87.59 MB / 482.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008215/1.775, allocations: 5.65 MB / 0.7025 GB, free: 82.93 MB / 482.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/1.776, allocations: 60.34 kB / 0.7026 GB, free: 82.92 MB / 482.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/1.776, allocations: 35.95 kB / 0.7026 GB, free: 82.91 MB / 482.8 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.0005343/1.777, allocations: 170.6 kB / 0.7028 GB, free: 82.77 MB / 482.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002545/1.777, allocations: 116.4 kB / 0.7029 GB, free: 82.71 MB / 482.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003054/1.78, allocations: 1.187 MB / 0.704 GB, free: 81.87 MB / 482.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/1.78, allocations: 11.75 kB / 0.704 GB, free: 81.86 MB / 482.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/1.78, allocations: 4 kB / 0.7041 GB, free: 81.86 MB / 482.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.416e-05/1.78, allocations: 7.141 kB / 0.7041 GB, free: 81.85 MB / 482.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005273/1.785, allocations: 2.937 MB / 0.7069 GB, free: 79.45 MB / 482.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/1.785, allocations: 0 / 0.7069 GB, free: 79.45 MB / 482.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001704/1.787, allocations: 423.5 kB / 0.7073 GB, free: 79.11 MB / 482.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002891/1.787, allocations: 111 kB / 0.7074 GB, free: 79.02 MB / 482.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.578e-05/1.787, allocations: 23.66 kB / 0.7075 GB, free: 79 MB / 482.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002609/1.79, allocations: 2.953 MB / 0.7103 GB, free: 75.95 MB / 482.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/1.79, allocations: 6.938 kB / 0.7103 GB, free: 75.95 MB / 482.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003463/1.794, allocations: 1.887 MB / 0.7122 GB, free: 74.15 MB / 482.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004181/1.798, allocations: 2.893 MB / 0.715 GB, free: 71.34 MB / 482.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003918/1.798, allocations: 199.2 kB / 0.7152 GB, free: 71.14 MB / 482.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002291/1.798, allocations: 11.47 kB / 0.7152 GB, free: 71.13 MB / 482.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/1.8, allocations: 171.5 kB / 0.7154 GB, free: 71 MB / 482.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001914/1.8, allocations: 84.53 kB / 0.7155 GB, free: 70.95 MB / 482.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.707e-05/1.8, allocations: 34.38 kB / 0.7155 GB, free: 70.92 MB / 482.8 MB Notification: Performance of sort global known variables: time 0.0007178/1.801, allocations: 0.5447 MB / 0.716 GB, free: 70.4 MB / 482.8 MB Notification: Performance of remove unused functions: time 0.002726/1.803, allocations: 379.3 kB / 0.7164 GB, free: 70.04 MB / 482.8 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.0002737/1.804, allocations: 159.8 kB / 0.7165 GB, free: 69.88 MB / 482.8 MB Notification: Performance of simCode: created initialization part: time 0.003412/1.807, allocations: 2.185 MB / 0.7187 GB, free: 67.71 MB / 482.8 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.807, allocations: 0 / 0.7187 GB, free: 67.71 MB / 482.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0009304/1.808, allocations: 0.7657 MB / 0.7194 GB, free: 66.95 MB / 482.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/1.809, allocations: 140.9 kB / 0.7196 GB, free: 66.84 MB / 482.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004852/1.814, allocations: 1.909 MB / 0.7214 GB, free: 65.06 MB / 482.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001345/1.815, allocations: 1.28 MB / 0.7227 GB, free: 63.96 MB / 482.8 MB Notification: Performance of SimCode: time 1.733e-06/1.815, allocations: 0 / 0.7227 GB, free: 63.96 MB / 482.8 MB (rm -f OpenIPSL_OpenIPSL.Tests.Solar.PowerFactory.DIgSILENT_PV.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Solar.PowerFactory.DIgSILENT_PV.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Solar.PowerFactory.DIgSILENT_PV.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Solar.PowerFactory.DIgSILENT_PV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Solar_PowerFactory_DIgSILENT_PV_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Solar_PowerFactory_DIgSILENT_PV.fmu > OpenIPSL_OpenIPSL.Tests.Solar.PowerFactory.DIgSILENT_PV.pipe 2>&1)