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.0009581/0.0009581, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.438/1.438, allocations: 223.3 MB / 239.4 MB, free: 5.488 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.001307/0.001307, allocations: 192.5 kB / 290.6 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5273/0.5273, allocations: 91.93 MB / 433.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003445/0.0003446, allocations: 12 kB / 0.5049 GB, free: 7.164 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4011/0.4014, allocations: 72.46 MB / 0.5756 GB, free: 36.65 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Solar.PSAT.SolarPVTest): time 0.005054/0.4065, allocations: 5.974 MB / 0.5815 GB, free: 32.64 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003502/0.4101, allocations: 1.842 MB / 0.5833 GB, free: 31.34 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007195/0.4108, allocations: 10.88 kB / 0.5833 GB, free: 31.34 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005075/0.4113, allocations: 195.7 kB / 0.5835 GB, free: 31.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001302/0.4127, allocations: 497.3 kB / 0.5839 GB, free: 30.92 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001395/0.4141, allocations: 0.7178 MB / 0.5846 GB, free: 30.52 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001327/0.4154, allocations: 1.352 MB / 0.586 GB, free: 29.86 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003497/0.4158, allocations: 242.3 kB / 0.5862 GB, free: 29.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006001/0.4164, allocations: 0.5026 MB / 0.5867 GB, free: 29.54 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006154/0.417, allocations: 0.6812 MB / 0.5873 GB, free: 29.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001163/0.4171, allocations: 62.94 kB / 0.5874 GB, free: 29.23 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003731/0.4175, allocations: 167.7 kB / 0.5876 GB, free: 29.2 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001656/0.4177, allocations: 238.3 kB / 0.5878 GB, free: 29.05 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003631/0.418, allocations: 0.5754 MB / 0.5884 GB, free: 28.68 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009824/0.419, allocations: 1.419 MB / 0.5897 GB, free: 28.14 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.4191, allocations: 5.125 kB / 0.5897 GB, free: 28.14 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4191, allocations: 1.906 kB / 0.5897 GB, free: 28.14 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.346e-05/0.4191, allocations: 0 / 0.5897 GB, free: 28.14 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.008345/0.4274, allocations: 2.385 MB / 0.5921 GB, free: 27.14 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.4275, allocations: 8.531 kB / 0.5921 GB, free: 27.14 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002665/0.4278, allocations: 124.1 kB / 0.5922 GB, free: 27.05 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004585/0.4324, allocations: 0.6785 MB / 0.5929 GB, free: 26.92 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/0.4336, allocations: 0.7659 MB / 0.5936 GB, free: 26.38 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003296/0.4339, allocations: 358 kB / 0.594 GB, free: 26.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001623/0.4341, allocations: 71.47 kB / 0.594 GB, free: 26.04 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002514/0.4366, allocations: 1.218 MB / 0.5952 GB, free: 25.61 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/0.4367, allocations: 0 / 0.5952 GB, free: 25.61 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.737e-05/0.4368, allocations: 27.19 kB / 0.5952 GB, free: 25.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/0.4368, allocations: 16.81 kB / 0.5953 GB, free: 25.59 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002558/0.4393, allocations: 1.162 MB / 0.5964 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.006976/0.4463, allocations: 3.83 MB / 0.6001 GB, free: 22.94 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008532/0.4549, allocations: 3.065 MB / 0.6031 GB, free: 21.87 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002122/0.457, allocations: 0.8423 MB / 0.6039 GB, free: 21.57 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001345/0.4572, allocations: 16.67 kB / 0.604 GB, free: 21.56 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.4572, allocations: 44.48 kB / 0.604 GB, free: 21.52 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 3.727e-06/0.4573, allocations: 0 / 0.604 GB, free: 21.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.03972/0.497, allocations: 9.857 MB / 0.6136 GB, free: 19.94 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.4971, allocations: 96.16 kB / 0.6137 GB, free: 19.84 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001314/0.4984, allocations: 0.8405 MB / 0.6145 GB, free: 19.47 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000237/0.4986, allocations: 41.7 kB / 0.6146 GB, free: 19.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002918/0.4989, allocations: 450.6 kB / 0.615 GB, free: 19.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003451/0.4993, allocations: 338.9 kB / 0.6153 GB, free: 18.8 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001588/0.4995, allocations: 85.62 kB / 0.6154 GB, free: 18.76 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.904e-05/0.4996, allocations: 343.8 kB / 0.6157 GB, free: 18.44 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001772/0.5013, allocations: 0.7414 MB / 0.6165 GB, free: 18.16 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001844/0.5032, allocations: 0.8851 MB / 0.6173 GB, free: 17.66 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01677/0.52, allocations: 5.099 MB / 0.6223 GB, free: 13.25 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/0.52, allocations: 0 / 0.6223 GB, free: 13.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.0158/0.5358, allocations: 5.375 MB / 0.6276 GB, free: 7.859 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.278e-05/0.5359, allocations: 8.031 kB / 0.6276 GB, free: 7.852 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.5359, allocations: 4 kB / 0.6276 GB, free: 7.848 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00763/0.5436, allocations: 2.439 MB / 0.63 GB, free: 5.402 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008887/0.5445, allocations: 135.8 kB / 0.6301 GB, free: 5.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02846/0.573, allocations: 11.1 MB / 0.6409 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001801/0.5748, allocations: 203.1 kB / 0.6411 GB, free: 9.828 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/0.575, allocations: 35.98 kB / 0.6411 GB, free: 9.793 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.0005396/0.5755, allocations: 237.4 kB / 0.6414 GB, free: 9.555 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002504/0.5758, allocations: 114.7 kB / 0.6415 GB, free: 9.441 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01756/0.5933, allocations: 5.301 MB / 0.6467 GB, free: 4.121 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.258e-05/0.5934, allocations: 12 kB / 0.6467 GB, free: 4.109 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.5934, allocations: 0 / 0.6467 GB, free: 4.109 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.929e-05/0.5934, allocations: 3.984 kB / 0.6467 GB, free: 4.105 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01963/0.6131, allocations: 6.791 MB / 0.6533 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.49e-05/0.6131, allocations: 0 / 0.6533 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006058/0.6138, allocations: 87.91 kB / 0.6534 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007991/0.6218, allocations: 2.339 MB / 0.6557 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002227/0.622, allocations: 19.98 kB / 0.6557 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02564/0.6477, allocations: 9.731 MB / 0.6652 GB, free: 0.875 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.6477, allocations: 0 / 0.6652 GB, free: 0.875 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01948/0.6672, allocations: 6.426 MB / 0.6715 GB, free: 10.42 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004537/0.6677, allocations: 207.6 kB / 0.6717 GB, free: 10.2 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001831/0.6679, allocations: 16 kB / 0.6717 GB, free: 10.18 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001282/0.6692, allocations: 155.8 kB / 0.6718 GB, free: 10.03 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007431/0.6699, allocations: 212.6 kB / 0.672 GB, free: 9.824 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.818e-05/0.67, allocations: 31.98 kB / 0.6721 GB, free: 9.793 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007666/0.6708, allocations: 0.578 MB / 0.6726 GB, free: 9.203 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.6708, allocations: 0 / 0.6726 GB, free: 9.203 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001402/0.6722, allocations: 435.5 kB / 0.673 GB, free: 8.777 MB / 478.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.01971/0.6919, allocations: 6.987 MB / 0.6799 GB, free: 1.754 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008519/0.7005, allocations: 2.802 MB / 0.6826 GB, free: 14.94 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.7005, allocations: 4 kB / 0.6826 GB, free: 14.94 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006467/0.707, allocations: 1.939 MB / 0.6845 GB, free: 12.97 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.7081, allocations: 95.38 kB / 0.6846 GB, free: 12.88 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04809/0.7562, allocations: 18.68 MB / 0.7028 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006352/0.7569, allocations: 1.057 MB / 0.7039 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004394/0.7574, allocations: 82.48 kB / 0.704 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005081/0.7579, allocations: 407.3 kB / 0.7043 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of SimCode: time 9.92e-07/0.7579, allocations: 0 / 0.7043 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05587/0.8138, allocations: 32.58 MB / 0.7362 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001893/0.814, allocations: 206.8 kB / 0.7364 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.724/3.538, allocations: 4.062 kB / 0.7364 GB, free: 7.547 MB / 0.5294 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)