Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL_Tests_Solar_PowerFactory_DIgSILENT_PV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Solar.PowerFactory.DIgSILENT_PV,fileNamePrefix="OpenIPSL_dev_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.00437/0.00437, allocations: 181.5 kB / 7.459 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.39/1.39, allocations: 221.4 MB / 229.3 MB, free: 3.023 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.0009712/0.0009712, allocations: 96.89 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.4903/0.4903, allocations: 78.92 MB / 409.8 MB, free: 15.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1809/0.6713, allocations: 75.64 MB / 485.5 MB, free: 3.613 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/1.043, allocations: 69.51 MB / 0.542 GB, free: 20.69 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1401/1.184, allocations: 103.1 MB / 0.6426 GB, free: 0.8164 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/1.184, allocations: 67.97 kB / 0.6427 GB, free: 0.75 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.07798/1.262, allocations: 30.47 MB / 0.6724 GB, free: 2.094 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/1.262, allocations: 8 kB / 0.6724 GB, free: 2.086 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008264/1.263, allocations: 185.9 kB / 0.6726 GB, free: 1.902 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002546/1.265, allocations: 1.126 MB / 0.6737 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002619/1.266, allocations: 177 kB / 0.6739 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003294/1.266, allocations: 68 kB / 0.6739 GB, free: 464 kB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.2049/1.471, allocations: 0.9786 MB / 0.6749 GB, free: 138.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002022/1.473, allocations: 1.18 MB / 0.6761 GB, free: 138.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.889e-05/1.473, allocations: 3.688 kB / 0.6761 GB, free: 138.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/1.473, allocations: 1.875 kB / 0.6761 GB, free: 138.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.405e-05/1.473, allocations: 29.16 kB / 0.6761 GB, free: 138.3 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007078/1.48, allocations: 4.81 MB / 0.6808 GB, free: 137.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/1.482, allocations: 0.7726 MB / 0.6815 GB, free: 137.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006259/1.482, allocations: 444.2 kB / 0.682 GB, free: 137.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.328e-05/1.482, allocations: 16.88 kB / 0.682 GB, free: 137.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007678/1.483, allocations: 0.546 MB / 0.6825 GB, free: 137.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=105): time 3.035e-06/1.483, allocations: 0 / 0.6825 GB, free: 137.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=109): time 0.005291/1.488, allocations: 2.44 MB / 0.6849 GB, free: 136.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/1.489, allocations: 330.9 kB / 0.6852 GB, free: 136.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/1.49, allocations: 0.7356 MB / 0.6859 GB, free: 136.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001027/1.49, allocations: 39.2 kB / 0.686 GB, free: 136.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002872/1.49, allocations: 398.8 kB / 0.6863 GB, free: 135.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002828/1.49, allocations: 335 kB / 0.6867 GB, free: 135.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.515e-05/1.49, allocations: 1.5 kB / 0.6867 GB, free: 135.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.712e-05/1.49, allocations: 347.7 kB / 0.687 GB, free: 135.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006384/1.491, allocations: 423.6 kB / 0.6874 GB, free: 135.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007874/1.492, allocations: 0.6106 MB / 0.688 GB, free: 135.3 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.005809/1.498, allocations: 2.051 MB / 0.69 GB, free: 135.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.498, allocations: 0 / 0.69 GB, free: 135.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.00385/1.502, allocations: 1.588 MB / 0.6916 GB, free: 135 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001327/1.502, allocations: 0.7075 MB / 0.6922 GB, free: 134.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/1.502, allocations: 3.812 kB / 0.6922 GB, free: 134.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001428/1.503, allocations: 464.5 kB / 0.6927 GB, free: 134.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/1.504, allocations: 288.4 kB / 0.693 GB, free: 134.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003697/1.508, allocations: 3.902 MB / 0.6968 GB, free: 131.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/1.509, allocations: 144 kB / 0.6969 GB, free: 131.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/1.509, allocations: 41.81 kB / 0.697 GB, free: 131.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.656e-06/1.509, allocations: 3.812 kB / 0.697 GB, free: 131.4 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003227/1.513, allocations: 1.189 MB / 0.6981 GB, free: 131.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/1.513, allocations: 6.969 kB / 0.6981 GB, free: 131.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001345/1.514, allocations: 408.2 kB / 0.6985 GB, free: 131.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009329/1.515, allocations: 219.6 kB / 0.6987 GB, free: 131.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006105/1.521, allocations: 5.662 MB / 0.7043 GB, free: 127.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/1.522, allocations: 65.88 kB / 0.7043 GB, free: 127.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.077e-05/1.522, allocations: 35.91 kB / 0.7044 GB, free: 127.6 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.0004836/1.523, allocations: 167.5 kB / 0.7045 GB, free: 127.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002005/1.523, allocations: 120.9 kB / 0.7046 GB, free: 127.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002818/1.526, allocations: 1.183 MB / 0.7058 GB, free: 127.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.504e-05/1.526, allocations: 11.41 kB / 0.7058 GB, free: 127.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/1.526, allocations: 5.312 kB / 0.7058 GB, free: 127.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/1.526, allocations: 7.172 kB / 0.7058 GB, free: 127.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005306/1.531, allocations: 2.941 MB / 0.7087 GB, free: 126.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/1.531, allocations: 0 / 0.7087 GB, free: 126.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001787/1.533, allocations: 420.8 kB / 0.7091 GB, free: 126.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002929/1.534, allocations: 118.9 kB / 0.7092 GB, free: 126.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.48e-05/1.534, allocations: 12.7 kB / 0.7092 GB, free: 126.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002765/1.536, allocations: 2.962 MB / 0.7121 GB, free: 123.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/1.536, allocations: 2.516 kB / 0.7121 GB, free: 123.9 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00393/1.54, allocations: 1.875 MB / 0.7139 GB, free: 122.9 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005024/1.545, allocations: 2.909 MB / 0.7168 GB, free: 121.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004009/1.546, allocations: 191.2 kB / 0.717 GB, free: 121.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002156/1.546, allocations: 8.125 kB / 0.717 GB, free: 121.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/1.547, allocations: 161.5 kB / 0.7171 GB, free: 121.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002538/1.547, allocations: 89.72 kB / 0.7172 GB, free: 121.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.772e-05/1.548, allocations: 32.89 kB / 0.7172 GB, free: 121 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0009635/1.549, allocations: 0.5481 MB / 0.7178 GB, free: 120.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002913/1.551, allocations: 377.9 kB / 0.7181 GB, free: 120.8 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.0003041/1.552, allocations: 160.9 kB / 0.7183 GB, free: 120.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003593/1.555, allocations: 2.194 MB / 0.7204 GB, free: 119.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/1.555, allocations: 1.656 kB / 0.7204 GB, free: 119.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009629/1.556, allocations: 0.7572 MB / 0.7212 GB, free: 119 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009576/1.557, allocations: 150.8 kB / 0.7213 GB, free: 118.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004288/1.562, allocations: 1.899 MB / 0.7232 GB, free: 118.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009761/1.563, allocations: 1.279 MB / 0.7244 GB, free: 117.3 MB / 490.7 MB Notification: Performance of SimCode: time 1.032e-06/1.563, allocations: 2.938 kB / 0.7244 GB, free: 117.3 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Solar.PowerFactory.DIgSILENT_PV.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Solar.PowerFactory.DIgSILENT_PV.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Solar.PowerFactory.DIgSILENT_PV.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Solar.PowerFactory.DIgSILENT_PV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Solar_PowerFactory_DIgSILENT_PV_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Solar_PowerFactory_DIgSILENT_PV.fmu > OpenIPSL_dev_OpenIPSL.Tests.Solar.PowerFactory.DIgSILENT_PV.pipe 2>&1)