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/ModelicaServices 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/Complex 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Solar.PowerFactory.DIgSILENT_PV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Solar.PowerFactory.DIgSILENT_PV") translateModel(OpenIPSL.Tests.Solar.PowerFactory.DIgSILENT_PV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Solar.PowerFactory.DIgSILENT_PV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 104.2 kB / 16.41 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 222.9 MB / 240.1 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 184.5 kB / 290.4 MB, free: 2.094 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5026/0.5026, allocations: 91.91 MB / 432.4 MB, free: 9.133 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 76.22 kB / 0.5734 GB, free: 33.37 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1085, allocations: 71.29 MB / 0.643 GB, free: 3.598 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Solar.PowerFactory.DIgSILENT_PV): time 0.007049/0.1156, allocations: 6.229 MB / 0.6491 GB, free: 13.33 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003881/0.1195, allocations: 2.554 MB / 0.6516 GB, free: 10.77 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006034/0.1201, allocations: 27.88 kB / 0.6516 GB, free: 10.75 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000535/0.1207, allocations: 217.6 kB / 0.6518 GB, free: 10.53 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006021/0.1213, allocations: 301.4 kB / 0.6521 GB, free: 10.23 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001848/0.1232, allocations: 1.265 MB / 0.6533 GB, free: 8.977 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001872/0.1251, allocations: 2.232 MB / 0.6555 GB, free: 6.738 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001139/0.1262, allocations: 0.9147 MB / 0.6564 GB, free: 5.781 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007573/0.127, allocations: 0.7551 MB / 0.6571 GB, free: 5.023 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006605/0.1276, allocations: 0.7698 MB / 0.6579 GB, free: 4.25 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002938/0.1279, allocations: 288 kB / 0.6581 GB, free: 3.969 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003301/0.1283, allocations: 296 kB / 0.6584 GB, free: 3.68 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003629/0.1287, allocations: 498.5 kB / 0.6589 GB, free: 3.191 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007218/0.1294, allocations: 0.9138 MB / 0.6598 GB, free: 2.273 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002466/0.1319, allocations: 3.123 MB / 0.6628 GB, free: 15.14 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1319, allocations: 0 / 0.6628 GB, free: 15.14 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1319, allocations: 0 / 0.6628 GB, free: 15.14 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.452e-05/0.1319, allocations: 0 / 0.6628 GB, free: 15.14 MB / 478.1 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.003563/0.1355, allocations: 1.925 MB / 0.6647 GB, free: 13.16 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.1355, allocations: 12.03 kB / 0.6647 GB, free: 13.14 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003731/0.1359, allocations: 178.9 kB / 0.6649 GB, free: 12.97 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001629/0.1375, allocations: 1.166 MB / 0.666 GB, free: 11.75 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002004/0.1377, allocations: 205.1 kB / 0.6662 GB, free: 11.52 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001819/0.1379, allocations: 120 kB / 0.6664 GB, free: 11.4 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002907/0.1409, allocations: 1.505 MB / 0.6678 GB, free: 9.812 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.1409, allocations: 0 / 0.6678 GB, free: 9.812 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001228/0.141, allocations: 52 kB / 0.6679 GB, free: 9.762 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.015e-05/0.141, allocations: 24 kB / 0.6679 GB, free: 9.738 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00312/0.1442, allocations: 1.297 MB / 0.6692 GB, free: 8.434 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006693/0.1509, allocations: 4.872 MB / 0.6739 GB, free: 3.449 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003397/0.1543, allocations: 1.38 MB / 0.6753 GB, free: 2.062 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001379/0.1557, allocations: 0.5972 MB / 0.6759 GB, free: 1.461 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.127e-05/0.1558, allocations: 20.97 kB / 0.6759 GB, free: 1.438 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001613/0.1574, allocations: 0.7251 MB / 0.6766 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of pre-optimization done (n=105): time 3.066e-06/0.1574, allocations: 0 / 0.6766 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of matching and sorting (n=109): time 0.0101/0.1675, allocations: 3.757 MB / 0.6803 GB, free: 12.89 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001452/0.1676, allocations: 325.4 kB / 0.6806 GB, free: 12.49 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001303/0.169, allocations: 1.005 MB / 0.6815 GB, free: 11.47 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001102/0.1691, allocations: 57.7 kB / 0.6816 GB, free: 11.41 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004852/0.1696, allocations: 0.5636 MB / 0.6821 GB, free: 10.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003059/0.1699, allocations: 351 kB / 0.6825 GB, free: 10.49 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003908/0.1703, allocations: 210.9 kB / 0.6827 GB, free: 10.27 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.1704, allocations: 349.9 kB / 0.683 GB, free: 9.926 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001445/0.1719, allocations: 0.5799 MB / 0.6836 GB, free: 9.344 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001619/0.1735, allocations: 0.7824 MB / 0.6843 GB, free: 8.508 MB / 494.1 MB Notification: It was not possible to check the given initialization system for consistency 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 = voltage_source.v_0 (voltage.offset + (if time < voltage.startTime then 0.0 else voltage.height) = voltage_source.v_0) Notification: Performance of analyzeInitialSystem (initialization): time 0.01012/0.1836, allocations: 3.278 MB / 0.6876 GB, free: 5.195 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.1836, allocations: 0 / 0.6876 GB, free: 5.195 MB / 494.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.006011/0.1897, allocations: 2.005 MB / 0.6895 GB, free: 3.172 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.1897, allocations: 8 kB / 0.6895 GB, free: 3.164 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.1897, allocations: 3.984 kB / 0.6895 GB, free: 3.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001771/0.1915, allocations: 454.3 kB / 0.69 GB, free: 2.707 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/0.1926, allocations: 239.6 kB / 0.6902 GB, free: 2.473 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01288/0.2055, allocations: 7.678 MB / 0.6977 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000979/0.2065, allocations: 111.9 kB / 0.6978 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.842e-05/0.2066, allocations: 35.98 kB / 0.6978 GB, free: 10.23 MB / 0.4981 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: $DER.pv_plant.pv_array.module.local_E = 0.0 voltage.y = voltage_source.v_0. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001307/0.2079, allocations: 0.6783 MB / 0.6985 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001057/0.209, allocations: 0.6083 MB / 0.6991 GB, free: 8.879 MB / 0.4981 GB Notification: It was not possible to check the given initialization system for consistency 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 = voltage_source.v_0 (voltage.offset + (if time < voltage.startTime then 0.0 else voltage.height) = voltage_source.v_0) Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007947/0.217, allocations: 2.675 MB / 0.7017 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.287e-06/0.217, allocations: 0 / 0.7017 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of matching and sorting (n=131) (initialization_lambda0): time 0.004268/0.2212, allocations: 1.505 MB / 0.7032 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.2213, allocations: 7.984 kB / 0.7032 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.2213, allocations: 4 kB / 0.7032 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001563/0.2228, allocations: 410.3 kB / 0.7036 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009143/0.2238, allocations: 199.6 kB / 0.7038 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01056/0.2344, allocations: 7.04 MB / 0.7106 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.2354, allocations: 76.09 kB / 0.7107 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/0.2355, allocations: 43.91 kB / 0.7107 GB, free: 12.45 MB / 0.5137 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization_lambda0 system: $DER.pv_plant.pv_array.module.local_E = 0.0 voltage.y = voltage_source.v_0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 30 ($PRE.pv_plant.controller.current_limiter.picdro.timer1.entryTime,$PRE.pv_plant.controller.current_limiter.picdro.rSFlipFlop.pre.u,$PRE.pv_plant.controller.current_limiter.picdro.timer.entryTime,$PRE.pv_plant.controller.reactivePowerSupport.picdro.timer1.entryTime,$PRE.pv_plant.controller.reactivePowerSupport.picdro.rSFlipFlop.pre.u,$PRE.pv_plant.controller.reactivePowerSupport.picdro.timer.entryTime,pv_plant.controller.current_limiter.switch1.u2,pv_plant.controller.current_limiter.greaterEqualThreshold.y,pv_plant.controller.current_limiter.picdro.not1.y,pv_plant.controller.current_limiter.picdro.greaterThreshold1.y,pv_plant.controller.current_limiter.picdro.timer1.entryTime,pv_plant.controller.current_limiter.picdro.rSFlipFlop.pre.u,pv_plant.controller.current_limiter.picdro.rSFlipFlop.QI,pv_plant.controller.current_limiter.picdro.timer.entryTime,pv_plant.controller.current_limiter.pythagoras.valid,pv_plant.controller.reactivePowerSupport.switch1.u2,pv_plant.controller.reactivePowerSupport.greaterEqualThreshold.y,pv_plant.controller.reactivePowerSupport.picdro.not1.y,pv_plant.controller.reactivePowerSupport.picdro.greaterThreshold1.y,pv_plant.controller.reactivePowerSupport.picdro.timer1.entryTime,pv_plant.controller.reactivePowerSupport.picdro.rSFlipFlop.pre.u,pv_plant.controller.reactivePowerSupport.picdro.rSFlipFlop.QI,pv_plant.controller.reactivePowerSupport.picdro.timer.entryTime,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,pv_plant.busbar.integrator.local_reset,pv_plant.controller.activePowerController.tracker.local_reset,pv_plant.controller.activePowerController.I.local_reset) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,18), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0004243/0.2359, allocations: 264 kB / 0.711 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002728/0.2362, allocations: 130.4 kB / 0.7111 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004799/0.241, allocations: 1.593 MB / 0.7127 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.597e-05/0.2411, allocations: 11.91 kB / 0.7127 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.2411, allocations: 4 kB / 0.7127 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002835/0.2414, allocations: 203.6 kB / 0.7129 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002055/0.2416, allocations: 24 kB / 0.7129 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/0.2426, allocations: 131.8 kB / 0.713 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002457/0.2429, allocations: 104.9 kB / 0.7131 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005291/0.2482, allocations: 1.705 MB / 0.7148 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005164/0.2534, allocations: 2.376 MB / 0.7171 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001556/0.255, allocations: 0.7027 MB / 0.7178 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00102/0.256, allocations: 0.6711 MB / 0.7185 GB, free: 4.461 MB / 0.5137 GB Notification: Performance of Backend: time 5.71e-07/0.256, allocations: 0 / 0.7185 GB, free: 4.461 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005038/0.261, allocations: 2.416 MB / 0.7208 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of SimCode: time 0.003896/0.265, allocations: 2.721 MB / 0.7235 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of Templates: time 0.0444/0.3094, allocations: 28.38 MB / 0.7512 GB, free: 2.941 MB / 0.545 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Solar.PowerFactory.DIgSILENT_PV.makefile (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 & ./OpenIPSL_dev_OpenIPSL.Tests.Solar.PowerFactory.DIgSILENT_PV -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Solar.PowerFactory.DIgSILENT_PV.pipe 2>&1)