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.00522/0.00522, allocations: 100.8 kB / 15.87 MB, free: 5.871 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.304/1.304, allocations: 222.9 MB / 239.5 MB, free: 4.828 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.001316/0.001316, allocations: 200.4 kB / 289.8 MB, free: 2.547 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5012/0.5012, allocations: 91.89 MB / 431.8 MB, free: 9.488 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 79.88 kB / 0.5018 GB, free: 8.242 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3556, allocations: 71.27 MB / 0.5714 GB, free: 36.32 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Solar.PSAT.SolarPVTest): time 0.005262/0.3609, allocations: 6.429 MB / 0.5777 GB, free: 32.51 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003257/0.3642, allocations: 1.862 MB / 0.5795 GB, free: 31.48 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005003/0.3647, allocations: 9.25 kB / 0.5796 GB, free: 31.48 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005019/0.3652, allocations: 181.4 kB / 0.5797 GB, free: 31.41 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001069/0.3663, allocations: 0.4996 MB / 0.5802 GB, free: 31.08 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001364/0.3677, allocations: 0.727 MB / 0.5809 GB, free: 30.68 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001185/0.3689, allocations: 1.351 MB / 0.5822 GB, free: 30.02 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003306/0.3692, allocations: 251.7 kB / 0.5825 GB, free: 29.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005403/0.3698, allocations: 0.528 MB / 0.583 GB, free: 29.66 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005945/0.3704, allocations: 0.6981 MB / 0.5837 GB, free: 29.34 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001232/0.3705, allocations: 69.66 kB / 0.5837 GB, free: 29.34 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003817/0.3709, allocations: 184.4 kB / 0.5839 GB, free: 29.3 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001744/0.3711, allocations: 251.6 kB / 0.5842 GB, free: 29.15 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003942/0.3715, allocations: 0.5728 MB / 0.5847 GB, free: 28.79 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007706/0.3723, allocations: 1.137 MB / 0.5858 GB, free: 28.34 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3723, allocations: 0 / 0.5858 GB, free: 28.34 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.3723, allocations: 0 / 0.5858 GB, free: 28.34 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.179e-05/0.3723, allocations: 0 / 0.5858 GB, free: 28.34 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.007995/0.3803, allocations: 2.541 MB / 0.5883 GB, free: 27.21 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.3804, allocations: 8.781 kB / 0.5883 GB, free: 27.21 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004188/0.3846, allocations: 0.6802 MB / 0.589 GB, free: 27.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/0.3858, allocations: 0.7575 MB / 0.5897 GB, free: 26.54 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002957/0.3861, allocations: 346.7 kB / 0.5901 GB, free: 26.22 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/0.3862, allocations: 75.91 kB / 0.5901 GB, free: 26.2 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002201/0.3884, allocations: 1.137 MB / 0.5912 GB, free: 25.77 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.3885, allocations: 0 / 0.5912 GB, free: 25.77 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.325e-05/0.3886, allocations: 30 kB / 0.5913 GB, free: 25.74 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.3886, allocations: 17.91 kB / 0.5913 GB, free: 25.74 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002291/0.3909, allocations: 1.067 MB / 0.5923 GB, free: 25.39 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.006406/0.3973, allocations: 3.741 MB / 0.596 GB, free: 23.13 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007361/0.4047, allocations: 2.495 MB / 0.5984 GB, free: 22.13 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001798/0.4065, allocations: 0.771 MB / 0.5992 GB, free: 21.82 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001306/0.4067, allocations: 22.8 kB / 0.5992 GB, free: 21.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.4067, allocations: 47.28 kB / 0.5992 GB, free: 21.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 2.896e-06/0.4067, allocations: 0 / 0.5992 GB, free: 21.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.03476/0.4415, allocations: 7.994 MB / 0.607 GB, free: 20.41 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/0.4416, allocations: 88.3 kB / 0.6071 GB, free: 20.31 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/0.4429, allocations: 0.8414 MB / 0.6079 GB, free: 19.95 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002395/0.4431, allocations: 44.89 kB / 0.608 GB, free: 19.9 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002836/0.4434, allocations: 446.9 kB / 0.6084 GB, free: 19.55 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003394/0.4438, allocations: 329.9 kB / 0.6087 GB, free: 19.29 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003538/0.4441, allocations: 168.3 kB / 0.6089 GB, free: 19.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.85e-05/0.4442, allocations: 343.7 kB / 0.6092 GB, free: 18.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001515/0.4457, allocations: 0.6562 MB / 0.6099 GB, free: 18.65 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001596/0.4474, allocations: 0.8061 MB / 0.6106 GB, free: 18.28 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01621/0.4636, allocations: 4.547 MB / 0.6151 GB, free: 16.35 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/0.4636, allocations: 5.906 kB / 0.6151 GB, free: 16.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.01393/0.4776, allocations: 4.36 MB / 0.6194 GB, free: 13.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/0.4776, allocations: 8.312 kB / 0.6194 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.4777, allocations: 8 kB / 0.6194 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00634/0.484, allocations: 2.072 MB / 0.6214 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007385/0.4848, allocations: 139.8 kB / 0.6215 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02256/0.5074, allocations: 9.786 MB / 0.6311 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001634/0.509, allocations: 163.2 kB / 0.6312 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/0.5092, allocations: 32 kB / 0.6313 GB, free: 0.8867 MB / 430.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.000477/0.5096, allocations: 248.8 kB / 0.6315 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002403/0.5099, allocations: 110.6 kB / 0.6316 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01386/0.5237, allocations: 4.278 MB / 0.6358 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-05/0.5238, allocations: 12 kB / 0.6358 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5238, allocations: 4 kB / 0.6358 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.784e-05/0.5239, allocations: 3.984 kB / 0.6358 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01665/0.5405, allocations: 5.764 MB / 0.6414 GB, free: 6.328 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.692e-05/0.5406, allocations: 4 kB / 0.6414 GB, free: 6.324 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005735/0.5412, allocations: 87.91 kB / 0.6415 GB, free: 6.238 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006824/0.548, allocations: 1.983 MB / 0.6435 GB, free: 4.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000272/0.5483, allocations: 23.98 kB / 0.6435 GB, free: 4.227 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02223/0.5706, allocations: 8.575 MB / 0.6519 GB, free: 11.51 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.5706, allocations: 0 / 0.6519 GB, free: 11.51 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01648/0.5871, allocations: 5.332 MB / 0.6571 GB, free: 6.152 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005207/0.5877, allocations: 199.5 kB / 0.6573 GB, free: 5.938 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000208/0.5879, allocations: 16 kB / 0.6573 GB, free: 5.922 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/0.5891, allocations: 115.8 kB / 0.6574 GB, free: 5.809 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007824/0.5899, allocations: 212.6 kB / 0.6576 GB, free: 5.602 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.243e-05/0.59, allocations: 31.98 kB / 0.6576 GB, free: 5.57 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007871/0.5908, allocations: 0.578 MB / 0.6582 GB, free: 4.98 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5908, allocations: 0 / 0.6582 GB, free: 4.98 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001437/0.5922, allocations: 435.5 kB / 0.6586 GB, free: 4.555 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.0002514/0.5925, allocations: 123.1 kB / 0.6587 GB, free: 4.422 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007478/0.6, allocations: 2.438 MB / 0.6611 GB, free: 1.973 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.6, allocations: 0 / 0.6611 GB, free: 1.973 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00541/0.6054, allocations: 1.662 MB / 0.6627 GB, free: 300 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.6065, allocations: 91.44 kB / 0.6628 GB, free: 208 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004269/0.6108, allocations: 2.524 MB / 0.6653 GB, free: 13.64 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005854/0.6114, allocations: 1.061 MB / 0.6663 GB, free: 12.56 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002788/0.6117, allocations: 67.42 kB / 0.6664 GB, free: 12.49 MB / 478.1 MB Notification: Performance of SimCode: time 8.82e-07/0.6117, allocations: 0 / 0.6664 GB, free: 12.49 MB / 478.1 MB Notification: Performance of Templates: time 0.02337/0.635, allocations: 19.27 MB / 0.6852 GB, free: 9.199 MB / 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)