Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPVTest.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.PSAT.SolarPVTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPVTest") translateModel(OpenIPSL.Tests.Solar.PSAT.SolarPVTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPVTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.351/1.351, allocations: 222.9 MB / 239 MB, free: 4.816 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.001158/0.001158, allocations: 188.4 kB / 289.2 MB, free: 2.539 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5068/0.5068, allocations: 91.9 MB / 431.3 MB, free: 9.48 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 83.84 kB / 0.5014 GB, free: 8.16 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.3685, allocations: 71.27 MB / 0.571 GB, free: 36.6 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Solar.PSAT.SolarPVTest): time 0.006579/0.3752, allocations: 6.432 MB / 0.5773 GB, free: 32.79 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003776/0.379, allocations: 1.852 MB / 0.5791 GB, free: 31.73 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001085/0.3801, allocations: 11.56 kB / 0.5791 GB, free: 31.73 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008501/0.381, allocations: 179.3 kB / 0.5792 GB, free: 31.67 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002036/0.3831, allocations: 0.4904 MB / 0.5797 GB, free: 31.33 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00167/0.3847, allocations: 0.7258 MB / 0.5804 GB, free: 30.93 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001532/0.3863, allocations: 1.408 MB / 0.5818 GB, free: 30.23 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003996/0.3867, allocations: 283.7 kB / 0.5821 GB, free: 30.12 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006227/0.3873, allocations: 0.5762 MB / 0.5826 GB, free: 29.83 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005854/0.3879, allocations: 0.7328 MB / 0.5834 GB, free: 29.47 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001278/0.3881, allocations: 114.3 kB / 0.5835 GB, free: 29.47 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000402/0.3885, allocations: 219.4 kB / 0.5837 GB, free: 29.44 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001621/0.3886, allocations: 293.8 kB / 0.584 GB, free: 29.25 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003487/0.389, allocations: 0.6118 MB / 0.5846 GB, free: 28.84 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001056/0.3901, allocations: 1.493 MB / 0.586 GB, free: 28.16 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.3901, allocations: 3.328 kB / 0.586 GB, free: 28.16 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3901, allocations: 0 / 0.586 GB, free: 28.16 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.433e-05/0.3901, allocations: 0 / 0.586 GB, free: 28.16 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.007798/0.3979, allocations: 2.537 MB / 0.5885 GB, free: 27.04 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.398, allocations: 8.719 kB / 0.5885 GB, free: 27.04 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003991/0.402, allocations: 0.684 MB / 0.5892 GB, free: 26.89 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/0.4031, allocations: 0.7545 MB / 0.5899 GB, free: 26.37 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003003/0.4035, allocations: 346.1 kB / 0.5902 GB, free: 26.05 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001542/0.4036, allocations: 76.38 kB / 0.5903 GB, free: 26.02 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00224/0.4059, allocations: 1.131 MB / 0.5914 GB, free: 25.6 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.4059, allocations: 1.125 kB / 0.5914 GB, free: 25.6 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/0.406, allocations: 37.44 kB / 0.5915 GB, free: 25.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.025e-05/0.406, allocations: 16.94 kB / 0.5915 GB, free: 25.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002206/0.4083, allocations: 1.071 MB / 0.5925 GB, free: 25.21 MB / 430.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.006327/0.4146, allocations: 3.733 MB / 0.5962 GB, free: 22.96 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00746/0.4221, allocations: 2.502 MB / 0.5986 GB, free: 21.95 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001848/0.424, allocations: 0.7669 MB / 0.5994 GB, free: 21.65 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001376/0.4241, allocations: 14.67 kB / 0.5994 GB, free: 21.64 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.4242, allocations: 48.44 kB / 0.5994 GB, free: 21.59 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 2.435e-06/0.4242, allocations: 0 / 0.5994 GB, free: 21.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.03483/0.459, allocations: 7.988 MB / 0.6072 GB, free: 20.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.88e-05/0.4591, allocations: 91.3 kB / 0.6073 GB, free: 20.14 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001534/0.4607, allocations: 0.8419 MB / 0.6081 GB, free: 19.78 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002574/0.4609, allocations: 45.3 kB / 0.6082 GB, free: 19.73 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002829/0.4612, allocations: 446.8 kB / 0.6086 GB, free: 19.38 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003452/0.4616, allocations: 330.5 kB / 0.6089 GB, free: 19.12 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003622/0.4619, allocations: 167.6 kB / 0.6091 GB, free: 19.03 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.4621, allocations: 342.4 kB / 0.6094 GB, free: 18.71 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001523/0.4636, allocations: 0.661 MB / 0.61 GB, free: 18.48 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001618/0.4652, allocations: 0.7974 MB / 0.6108 GB, free: 18.11 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0162/0.4814, allocations: 4.567 MB / 0.6153 GB, free: 16.08 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.949e-06/0.4815, allocations: 5.125 kB / 0.6153 GB, free: 16.08 MB / 430.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.01412/0.4956, allocations: 4.362 MB / 0.6195 GB, free: 12.54 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.181e-05/0.4957, allocations: 8 kB / 0.6195 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.4957, allocations: 4 kB / 0.6196 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006467/0.5022, allocations: 2.08 MB / 0.6216 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008136/0.5031, allocations: 139.8 kB / 0.6217 GB, free: 10.31 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02471/0.5278, allocations: 10.63 MB / 0.6321 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/0.5296, allocations: 159.1 kB / 0.6323 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001515/0.5298, allocations: 39.98 kB / 0.6323 GB, free: 15.33 MB / 446.1 MB Warning: Assuming fixed start value for the following 3 variables: SPV.x:VARIABLE(start = SPV.Q_0 * SPV.CoB unit = "1" fixed = true protected = true ) type: Real SPV.id:VARIABLE(start = SPV.idref unit = "1" fixed = true ) "d-axis current" type: Real SPV.iq:VARIABLE(start = SPV.iqref unit = "1" fixed = true ) "q-axis current" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0005772/0.5304, allocations: 237.5 kB / 0.6325 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003069/0.5307, allocations: 114.6 kB / 0.6326 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01472/0.5454, allocations: 4.278 MB / 0.6368 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.042e-05/0.5455, allocations: 12 kB / 0.6368 GB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.5455, allocations: 3.938 kB / 0.6368 GB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.891e-05/0.5455, allocations: 3.984 kB / 0.6368 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01719/0.5627, allocations: 5.768 MB / 0.6425 GB, free: 4.777 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.001e-05/0.5628, allocations: 0 / 0.6425 GB, free: 4.777 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006036/0.5634, allocations: 95.83 kB / 0.6426 GB, free: 4.684 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006828/0.5702, allocations: 1.983 MB / 0.6445 GB, free: 2.695 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001931/0.5705, allocations: 23.92 kB / 0.6445 GB, free: 2.672 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02454/0.595, allocations: 9.402 MB / 0.6537 GB, free: 9.117 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.5951, allocations: 12 kB / 0.6537 GB, free: 9.105 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01668/0.6118, allocations: 5.332 MB / 0.6589 GB, free: 3.746 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005311/0.6123, allocations: 203.6 kB / 0.6591 GB, free: 3.527 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002088/0.6125, allocations: 16 kB / 0.6591 GB, free: 3.512 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/0.6137, allocations: 103.9 kB / 0.6592 GB, free: 3.41 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007703/0.6145, allocations: 232.6 kB / 0.6594 GB, free: 3.184 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.244e-05/0.6146, allocations: 24 kB / 0.6595 GB, free: 3.16 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007833/0.6154, allocations: 0.5741 MB / 0.66 GB, free: 2.574 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6154, allocations: 0 / 0.66 GB, free: 2.574 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001351/0.6168, allocations: 435.5 kB / 0.6604 GB, free: 2.148 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (gENCLS.delta,gENCLS.eq,SPV.x,SPV.id,SPV.iq,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002261/0.617, allocations: 119.2 kB / 0.6606 GB, free: 2.02 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007768/0.6248, allocations: 2.503 MB / 0.663 GB, free: 15.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.6248, allocations: 4.062 kB / 0.663 GB, free: 15.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005513/0.6303, allocations: 1.706 MB / 0.6647 GB, free: 13.78 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009437/0.6313, allocations: 99.36 kB / 0.6648 GB, free: 13.68 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004055/0.6354, allocations: 2.479 MB / 0.6672 GB, free: 11.18 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006189/0.636, allocations: 1.065 MB / 0.6682 GB, free: 10.09 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003311/0.6363, allocations: 78.48 kB / 0.6683 GB, free: 10.01 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001978/0.6365, allocations: 67.42 kB / 0.6684 GB, free: 9.941 MB / 478.1 MB Notification: Performance of SimCode: time 8.82e-07/0.6365, allocations: 0 / 0.6684 GB, free: 9.941 MB / 478.1 MB Notification: Performance of Templates: time 0.03606/0.6726, allocations: 25.81 MB / 0.6936 GB, free: 128 kB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPVTest.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPVTest.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPVTest.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPVTest.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPVTest.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPVTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPVTest.pipe 2>&1)