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.001549/0.00155, allocations: 106.1 kB / 15.98 MB, free: 5.891 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.373/1.373, allocations: 222.9 MB / 239.6 MB, free: 4.781 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.001442/0.001442, allocations: 196.4 kB / 289.9 MB, free: 2.516 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5218/0.5218, allocations: 91.9 MB / 432 MB, free: 9.457 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 79.88 kB / 0.502 GB, free: 8.117 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3796/0.3811, allocations: 71.25 MB / 0.5716 GB, free: 36.47 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Solar.PSAT.SolarPVTest): time 0.005595/0.3868, allocations: 6.44 MB / 0.5779 GB, free: 32.65 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00337/0.3902, allocations: 1.853 MB / 0.5797 GB, free: 31.6 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004986/0.3907, allocations: 10.94 kB / 0.5797 GB, free: 31.6 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005302/0.3912, allocations: 191.3 kB / 0.5799 GB, free: 31.52 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00112/0.3924, allocations: 490.5 kB / 0.5804 GB, free: 31.2 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001411/0.3938, allocations: 0.7254 MB / 0.5811 GB, free: 30.79 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00118/0.395, allocations: 1.402 MB / 0.5824 GB, free: 30.1 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000365/0.3954, allocations: 292.8 kB / 0.5827 GB, free: 29.98 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004623/0.3958, allocations: 0.5668 MB / 0.5833 GB, free: 29.7 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005845/0.3964, allocations: 0.7421 MB / 0.584 GB, free: 29.34 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001262/0.3966, allocations: 110.5 kB / 0.5841 GB, free: 29.34 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003618/0.3969, allocations: 220.1 kB / 0.5843 GB, free: 29.3 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001671/0.3971, allocations: 286.8 kB / 0.5846 GB, free: 29.12 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003566/0.3975, allocations: 0.6145 MB / 0.5852 GB, free: 28.71 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008741/0.3984, allocations: 1.161 MB / 0.5863 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3984, allocations: 4 kB / 0.5863 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3984, allocations: 0 / 0.5863 GB, free: 28.25 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.496e-05/0.3984, allocations: 0 / 0.5863 GB, free: 28.25 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.007864/0.4063, allocations: 2.539 MB / 0.5888 GB, free: 27.13 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.4063, allocations: 9.125 kB / 0.5888 GB, free: 27.13 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004/0.4103, allocations: 0.6838 MB / 0.5895 GB, free: 26.98 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.4114, allocations: 0.7545 MB / 0.5902 GB, free: 26.45 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003047/0.4117, allocations: 348 kB / 0.5906 GB, free: 26.14 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/0.4119, allocations: 75.94 kB / 0.5906 GB, free: 26.11 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002158/0.414, allocations: 1.127 MB / 0.5917 GB, free: 25.69 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.414, allocations: 4 kB / 0.5917 GB, free: 25.68 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.572e-05/0.4141, allocations: 29.78 kB / 0.5918 GB, free: 25.66 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.021e-05/0.4142, allocations: 21.75 kB / 0.5918 GB, free: 25.66 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002204/0.4164, allocations: 1.072 MB / 0.5928 GB, free: 25.3 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.005987/0.4224, allocations: 3.739 MB / 0.5965 GB, free: 23.04 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007184/0.4296, allocations: 2.506 MB / 0.5989 GB, free: 22.03 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001617/0.4312, allocations: 0.7673 MB / 0.5997 GB, free: 21.73 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001348/0.4314, allocations: 14.17 kB / 0.5997 GB, free: 21.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.4314, allocations: 50.41 kB / 0.5997 GB, free: 21.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 3.086e-06/0.4314, allocations: 0 / 0.5997 GB, free: 21.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.03425/0.4657, allocations: 7.988 MB / 0.6075 GB, free: 20.33 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.367e-05/0.4658, allocations: 91.97 kB / 0.6076 GB, free: 20.23 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001858/0.4677, allocations: 0.8377 MB / 0.6084 GB, free: 19.86 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003777/0.4681, allocations: 44.58 kB / 0.6085 GB, free: 19.82 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003828/0.4685, allocations: 447 kB / 0.6089 GB, free: 19.46 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005012/0.469, allocations: 334.5 kB / 0.6092 GB, free: 19.2 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004278/0.4694, allocations: 172.3 kB / 0.6094 GB, free: 19.11 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.961e-05/0.4695, allocations: 342.4 kB / 0.6097 GB, free: 18.79 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001645/0.4712, allocations: 0.6569 MB / 0.6104 GB, free: 18.57 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001683/0.4729, allocations: 0.8014 MB / 0.6111 GB, free: 18.19 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01569/0.4886, allocations: 4.563 MB / 0.6156 GB, free: 16.16 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.986e-06/0.4886, allocations: 5.375 kB / 0.6156 GB, free: 16.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.01384/0.5025, allocations: 4.359 MB / 0.6199 GB, free: 12.84 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.917e-05/0.5025, allocations: 8 kB / 0.6199 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.5026, allocations: 4 kB / 0.6199 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006459/0.509, allocations: 2.084 MB / 0.6219 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007739/0.5098, allocations: 139.8 kB / 0.622 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02466/0.5345, allocations: 10.63 MB / 0.6324 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001909/0.5365, allocations: 163.1 kB / 0.6326 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001678/0.5366, allocations: 36 kB / 0.6326 GB, free: 15.63 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.0005809/0.5372, allocations: 232.2 kB / 0.6328 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000295/0.5375, allocations: 114.6 kB / 0.633 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01449/0.552, allocations: 4.282 MB / 0.6371 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.951e-05/0.5521, allocations: 12 kB / 0.6371 GB, free: 10.97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.5521, allocations: 0 / 0.6371 GB, free: 10.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.63e-05/0.5522, allocations: 3.984 kB / 0.6371 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01661/0.5688, allocations: 5.772 MB / 0.6428 GB, free: 5.078 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-05/0.5688, allocations: 4 kB / 0.6428 GB, free: 5.074 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005678/0.5694, allocations: 83.91 kB / 0.6429 GB, free: 4.992 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0066/0.576, allocations: 1.991 MB / 0.6448 GB, free: 2.996 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001912/0.5762, allocations: 27.92 kB / 0.6448 GB, free: 2.969 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02379/0.6, allocations: 9.402 MB / 0.654 GB, free: 9.41 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.6001, allocations: 0 / 0.654 GB, free: 9.41 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01677/0.6169, allocations: 5.336 MB / 0.6592 GB, free: 4.047 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00055/0.6175, allocations: 199.6 kB / 0.6594 GB, free: 3.832 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002005/0.6177, allocations: 16 kB / 0.6594 GB, free: 3.816 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/0.6189, allocations: 108 kB / 0.6595 GB, free: 3.711 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000781/0.6197, allocations: 216.7 kB / 0.6597 GB, free: 3.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.547e-05/0.6198, allocations: 35.98 kB / 0.6598 GB, free: 3.465 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007551/0.6205, allocations: 0.5741 MB / 0.6603 GB, free: 2.879 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6206, allocations: 0 / 0.6603 GB, free: 2.879 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001402/0.622, allocations: 439.5 kB / 0.6608 GB, free: 2.449 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.0002552/0.6222, allocations: 123.2 kB / 0.6609 GB, free: 2.316 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007856/0.6301, allocations: 2.506 MB / 0.6633 GB, free: 15.8 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.6301, allocations: 0 / 0.6633 GB, free: 15.8 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005625/0.6358, allocations: 1.707 MB / 0.665 GB, free: 14.08 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.6369, allocations: 95.38 kB / 0.6651 GB, free: 13.98 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00433/0.6412, allocations: 2.511 MB / 0.6675 GB, free: 11.44 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006106/0.6419, allocations: 1.065 MB / 0.6686 GB, free: 10.35 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002817/0.6421, allocations: 67.42 kB / 0.6686 GB, free: 10.28 MB / 478.1 MB Notification: Performance of SimCode: time 9.01e-07/0.6422, allocations: 3.938 kB / 0.6686 GB, free: 10.28 MB / 478.1 MB Notification: Performance of Templates: time 0.02447/0.6666, allocations: 19.28 MB / 0.6875 GB, free: 6.973 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)