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: "" <> buildModelFMU(OpenIPSL.Tests.Solar.PSAT.SolarPVTest,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Solar_PSAT_SolarPVTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Solar.PSAT.SolarPVTest,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Solar_PSAT_SolarPVTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00163/0.00163, 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.558/1.558, allocations: 222.9 MB / 239 MB, free: 4.723 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.001674/0.001674, allocations: 200.4 kB / 289.3 MB, free: 2.457 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6697/0.6697, allocations: 91.9 MB / 431.3 MB, free: 9.406 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00225/0.00225, allocations: 83.86 kB / 0.5015 GB, free: 7.957 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5235/0.5258, allocations: 71.25 MB / 0.5711 GB, free: 36.48 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Solar.PSAT.SolarPVTest): time 0.007076/0.5329, allocations: 6.443 MB / 0.5774 GB, free: 32.66 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005062/0.5381, allocations: 1.856 MB / 0.5792 GB, free: 31.59 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007591/0.5388, allocations: 11.03 kB / 0.5792 GB, free: 31.59 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00069/0.5395, allocations: 192.4 kB / 0.5794 GB, free: 31.51 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001329/0.5409, allocations: 497.4 kB / 0.5798 GB, free: 31.18 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001784/0.5427, allocations: 0.7183 MB / 0.5805 GB, free: 30.79 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00183/0.5446, allocations: 1.409 MB / 0.5819 GB, free: 30.09 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004833/0.5451, allocations: 280.5 kB / 0.5822 GB, free: 29.98 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006814/0.5457, allocations: 0.5738 MB / 0.5828 GB, free: 29.69 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007863/0.5465, allocations: 0.744 MB / 0.5835 GB, free: 29.33 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000174/0.5467, allocations: 109.8 kB / 0.5836 GB, free: 29.33 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005199/0.5473, allocations: 220.6 kB / 0.5838 GB, free: 29.29 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002517/0.5475, allocations: 293.1 kB / 0.5841 GB, free: 29.1 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005214/0.548, allocations: 0.6104 MB / 0.5847 GB, free: 28.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001445/0.5495, allocations: 1.493 MB / 0.5861 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.5495, allocations: 0 / 0.5861 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.5495, allocations: 0 / 0.5861 GB, free: 28.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.702e-05/0.5496, allocations: 1.219 kB / 0.5861 GB, free: 28.02 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.009014/0.5586, allocations: 2.54 MB / 0.5886 GB, free: 26.9 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.029e-05/0.5587, allocations: 13.78 kB / 0.5886 GB, free: 26.89 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001837/0.5589, allocations: 123.5 kB / 0.5887 GB, free: 26.8 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004326/0.5632, allocations: 0.6786 MB / 0.5894 GB, free: 26.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/0.5646, allocations: 0.7579 MB / 0.5901 GB, free: 26.13 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003742/0.565, allocations: 345.1 kB / 0.5905 GB, free: 25.82 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001824/0.5652, allocations: 76.03 kB / 0.5905 GB, free: 25.79 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002562/0.5678, allocations: 1.133 MB / 0.5917 GB, free: 25.36 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.5678, allocations: 5.188 kB / 0.5917 GB, free: 25.36 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.694e-05/0.5679, allocations: 30.22 kB / 0.5917 GB, free: 25.34 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.513e-05/0.5679, allocations: 16.53 kB / 0.5917 GB, free: 25.34 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002421/0.5704, allocations: 1.07 MB / 0.5927 GB, free: 24.98 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.007221/0.5776, allocations: 3.732 MB / 0.5964 GB, free: 22.73 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007944/0.5855, allocations: 2.508 MB / 0.5988 GB, free: 21.71 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001873/0.5875, allocations: 0.7646 MB / 0.5996 GB, free: 21.42 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001381/0.5876, allocations: 16.89 kB / 0.5996 GB, free: 21.41 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.5877, allocations: 46 kB / 0.5996 GB, free: 21.36 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 3.356e-06/0.5877, allocations: 1.75 kB / 0.5996 GB, free: 21.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.0382/0.6259, allocations: 7.989 MB / 0.6074 GB, free: 20.01 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.626, allocations: 88.14 kB / 0.6075 GB, free: 19.91 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003013/0.6291, allocations: 0.8375 MB / 0.6084 GB, free: 19.55 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004073/0.6295, allocations: 45.17 kB / 0.6084 GB, free: 19.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005762/0.6301, allocations: 451.5 kB / 0.6088 GB, free: 19.15 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007951/0.6309, allocations: 333.5 kB / 0.6091 GB, free: 18.88 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008129/0.6317, allocations: 168.9 kB / 0.6093 GB, free: 18.8 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.6319, allocations: 342 kB / 0.6096 GB, free: 18.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002074/0.634, allocations: 0.657 MB / 0.6103 GB, free: 18.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002177/0.6362, allocations: 0.8058 MB / 0.6111 GB, free: 17.88 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01805/0.6542, allocations: 4.563 MB / 0.6155 GB, free: 15.8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.869e-05/0.6543, allocations: 1.344 kB / 0.6155 GB, free: 15.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.01534/0.6696, allocations: 4.364 MB / 0.6198 GB, free: 12.3 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.928e-05/0.6698, allocations: 8 kB / 0.6198 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.109e-05/0.6698, allocations: 320 / 0.6198 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007359/0.6772, allocations: 2.088 MB / 0.6218 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/0.6783, allocations: 143.8 kB / 0.622 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03013/0.7085, allocations: 10.62 MB / 0.6323 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002144/0.7107, allocations: 159.2 kB / 0.6325 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002927/0.711, allocations: 35.94 kB / 0.6325 GB, free: 15.09 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.0009029/0.7119, allocations: 242 kB / 0.6328 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005705/0.7125, allocations: 114.6 kB / 0.6329 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01488/0.7274, allocations: 4.274 MB / 0.637 GB, free: 10.44 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-05/0.7275, allocations: 11.94 kB / 0.637 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.7275, allocations: 4 kB / 0.6371 GB, free: 10.42 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-05/0.7275, allocations: 7.984 kB / 0.6371 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01827/0.7458, allocations: 5.76 MB / 0.6427 GB, free: 4.539 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.068e-05/0.7459, allocations: 3.938 kB / 0.6427 GB, free: 4.535 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006385/0.7465, allocations: 99.83 kB / 0.6428 GB, free: 4.438 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007265/0.7538, allocations: 1.983 MB / 0.6447 GB, free: 2.449 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000306/0.7542, allocations: 19.94 kB / 0.6447 GB, free: 2.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02583/0.78, allocations: 9.414 MB / 0.6539 GB, free: 8.863 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.7801, allocations: 0 / 0.6539 GB, free: 8.863 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01724/0.7973, allocations: 5.325 MB / 0.6591 GB, free: 3.512 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000591/0.7979, allocations: 203.6 kB / 0.6593 GB, free: 3.293 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004622/0.7984, allocations: 16 kB / 0.6593 GB, free: 3.277 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001501/0.7999, allocations: 103.9 kB / 0.6594 GB, free: 3.176 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009108/0.8009, allocations: 228.6 kB / 0.6597 GB, free: 2.953 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001478/0.801, allocations: 27.98 kB / 0.6597 GB, free: 2.926 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001028/0.8021, allocations: 0.5819 MB / 0.6603 GB, free: 2.332 MB / 462.1 MB Notification: Performance of sort global known variables: time 2e-07/0.8021, allocations: 0 / 0.6603 GB, free: 2.332 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001906/0.804, allocations: 435.5 kB / 0.6607 GB, free: 1.906 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.0171/0.8211, allocations: 5.897 MB / 0.6664 GB, free: 11.97 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008454/0.8296, allocations: 2.499 MB / 0.6689 GB, free: 9.457 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.8296, allocations: 0 / 0.6689 GB, free: 9.457 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006033/0.8357, allocations: 1.707 MB / 0.6705 GB, free: 7.738 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001647/0.8374, allocations: 95.36 kB / 0.6706 GB, free: 7.645 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04527/0.8827, allocations: 16.45 MB / 0.6867 GB, free: 6.809 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000862/0.8836, allocations: 1.065 MB / 0.6877 GB, free: 5.719 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005702/0.8842, allocations: 86.47 kB / 0.6878 GB, free: 5.629 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007542/0.8849, allocations: 415.3 kB / 0.6882 GB, free: 5.223 MB / 494.1 MB Notification: Performance of SimCode: time 1.162e-06/0.885, allocations: 0 / 0.6882 GB, free: 5.223 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07259/0.9576, allocations: 34.7 MB / 0.7221 GB, free: 2.668 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002248/0.9578, allocations: 213.8 kB / 0.7223 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.934/3.891, allocations: 0 / 0.7223 GB, free: 2.41 MB / 0.5137 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Solar_PSAT_SolarPVTest_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Solar_PSAT_SolarPVTest.fmu > OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPVTest.pipe 2>&1)