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.00114/0.00114, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.337/1.337, allocations: 222.9 MB / 238.9 MB, free: 4.676 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.001666/0.001666, allocations: 192.4 kB / 289.1 MB, free: 2.414 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.545/0.545, allocations: 91.89 MB / 431.2 MB, free: 9.418 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 75.89 kB / 0.5013 GB, free: 8.047 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3717/0.3732, allocations: 71.26 MB / 0.5709 GB, free: 36 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Solar.PSAT.SolarPVTest): time 0.005334/0.3785, allocations: 6.425 MB / 0.5772 GB, free: 32.2 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002982/0.3816, allocations: 1.867 MB / 0.579 GB, free: 31.42 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003597/0.3819, allocations: 8.938 kB / 0.579 GB, free: 31.42 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004692/0.3824, allocations: 198.7 kB / 0.5792 GB, free: 31.34 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009831/0.3834, allocations: 498.7 kB / 0.5797 GB, free: 31.01 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001329/0.3848, allocations: 0.7324 MB / 0.5804 GB, free: 30.61 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001039/0.3858, allocations: 1.354 MB / 0.5817 GB, free: 29.95 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003466/0.3862, allocations: 246.5 kB / 0.582 GB, free: 29.84 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004773/0.3866, allocations: 0.5252 MB / 0.5825 GB, free: 29.59 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006332/0.3873, allocations: 0.7047 MB / 0.5832 GB, free: 29.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001359/0.3874, allocations: 73.03 kB / 0.5832 GB, free: 29.27 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003512/0.3878, allocations: 178.9 kB / 0.5834 GB, free: 29.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000182/0.388, allocations: 248.1 kB / 0.5836 GB, free: 29.08 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003957/0.3884, allocations: 0.5666 MB / 0.5842 GB, free: 28.72 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001099/0.3895, allocations: 1.458 MB / 0.5856 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.3895, allocations: 0 / 0.5856 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.3895, allocations: 0 / 0.5856 GB, free: 28.07 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.3895, allocations: 0 / 0.5856 GB, free: 28.07 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.008181/0.3977, allocations: 2.539 MB / 0.5881 GB, free: 26.95 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.3978, allocations: 8.719 kB / 0.5881 GB, free: 26.95 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001392/0.3979, allocations: 126.2 kB / 0.5882 GB, free: 26.86 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004069/0.402, allocations: 0.6777 MB / 0.5889 GB, free: 26.71 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.4031, allocations: 0.7537 MB / 0.5896 GB, free: 26.19 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000326/0.4034, allocations: 349.3 kB / 0.5899 GB, free: 25.87 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001567/0.4036, allocations: 76.84 kB / 0.59 GB, free: 25.84 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002262/0.4058, allocations: 1.131 MB / 0.5911 GB, free: 25.41 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.4059, allocations: 1.125 kB / 0.5911 GB, free: 25.41 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.289e-05/0.406, allocations: 30.09 kB / 0.5912 GB, free: 25.39 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.173e-05/0.406, allocations: 20.78 kB / 0.5912 GB, free: 25.39 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002274/0.4083, allocations: 1.073 MB / 0.5922 GB, free: 25.03 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.006076/0.4144, allocations: 3.735 MB / 0.5959 GB, free: 22.77 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007366/0.4217, allocations: 2.507 MB / 0.5983 GB, free: 21.76 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001485/0.4232, allocations: 0.7662 MB / 0.5991 GB, free: 21.46 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001211/0.4234, allocations: 11.69 kB / 0.5991 GB, free: 21.46 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.4234, allocations: 45.67 kB / 0.5991 GB, free: 21.41 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 3.206e-06/0.4234, allocations: 0 / 0.5991 GB, free: 21.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.03407/0.4575, allocations: 7.993 MB / 0.6069 GB, free: 20.05 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.675e-05/0.4576, allocations: 88.94 kB / 0.607 GB, free: 19.96 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001464/0.4591, allocations: 0.8383 MB / 0.6078 GB, free: 19.6 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000211/0.4593, allocations: 45.2 kB / 0.6079 GB, free: 19.55 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002881/0.4596, allocations: 445.9 kB / 0.6083 GB, free: 19.2 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003432/0.46, allocations: 334.6 kB / 0.6086 GB, free: 18.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000378/0.4603, allocations: 167.6 kB / 0.6088 GB, free: 18.85 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.109e-05/0.4604, allocations: 348 kB / 0.6091 GB, free: 18.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001542/0.462, allocations: 0.655 MB / 0.6097 GB, free: 18.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001636/0.4636, allocations: 0.8107 MB / 0.6105 GB, free: 17.92 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01576/0.4794, allocations: 4.551 MB / 0.615 GB, free: 15.9 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/0.4795, allocations: 1.375 kB / 0.615 GB, free: 15.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.01383/0.4933, allocations: 4.359 MB / 0.6192 GB, free: 12.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/0.4934, allocations: 8 kB / 0.6192 GB, free: 12.58 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.4934, allocations: 4 kB / 0.6193 GB, free: 12.58 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006258/0.4997, allocations: 2.073 MB / 0.6213 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007219/0.5004, allocations: 139.8 kB / 0.6214 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02361/0.524, allocations: 9.781 MB / 0.631 GB, free: 448 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001705/0.5258, allocations: 155.2 kB / 0.6311 GB, free: 292 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002346/0.526, allocations: 36 kB / 0.6311 GB, free: 256 kB / 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.000709/0.5267, allocations: 246.4 kB / 0.6314 GB, free: 0 / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005451/0.5273, allocations: 110.8 kB / 0.6315 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01504/0.5424, allocations: 4.278 MB / 0.6357 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.246e-05/0.5424, allocations: 15.98 kB / 0.6357 GB, free: 11.58 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.5424, allocations: 0 / 0.6357 GB, free: 11.58 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-05/0.5425, allocations: 7.922 kB / 0.6357 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0174/0.5599, allocations: 5.768 MB / 0.6413 GB, free: 5.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.356e-05/0.5599, allocations: 4 kB / 0.6413 GB, free: 5.676 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000535/0.5605, allocations: 87.84 kB / 0.6414 GB, free: 5.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006729/0.5672, allocations: 1.983 MB / 0.6433 GB, free: 3.602 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001105/0.5673, allocations: 24 kB / 0.6434 GB, free: 3.578 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0243/0.5916, allocations: 8.575 MB / 0.6517 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-06/0.5917, allocations: 7.938 kB / 0.6517 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01747/0.6092, allocations: 5.321 MB / 0.6569 GB, free: 5.508 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005456/0.6097, allocations: 199.5 kB / 0.6571 GB, free: 5.293 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003433/0.6101, allocations: 16 kB / 0.6571 GB, free: 5.277 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001418/0.6115, allocations: 111.8 kB / 0.6573 GB, free: 5.168 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007899/0.6123, allocations: 220.6 kB / 0.6575 GB, free: 4.953 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/0.6124, allocations: 23.98 kB / 0.6575 GB, free: 4.93 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009784/0.6134, allocations: 0.5741 MB / 0.658 GB, free: 4.344 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.6134, allocations: 4 kB / 0.6581 GB, free: 4.34 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001796/0.6152, allocations: 439.5 kB / 0.6585 GB, free: 3.91 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.01761/0.6329, allocations: 5.889 MB / 0.6642 GB, free: 13.98 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008191/0.6411, allocations: 2.43 MB / 0.6666 GB, free: 11.54 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.6411, allocations: 0 / 0.6666 GB, free: 11.54 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006045/0.6472, allocations: 1.666 MB / 0.6682 GB, free: 9.855 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001503/0.6487, allocations: 97.41 kB / 0.6683 GB, free: 9.762 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04473/0.6935, allocations: 16.45 MB / 0.6844 GB, free: 8.926 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000977/0.6945, allocations: 1.069 MB / 0.6854 GB, free: 7.832 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004519/0.695, allocations: 78.48 kB / 0.6855 GB, free: 7.75 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006672/0.6957, allocations: 415.2 kB / 0.6859 GB, free: 7.344 MB / 494.1 MB Notification: Performance of SimCode: time 1.343e-06/0.6957, allocations: 0 / 0.6859 GB, free: 7.344 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05447/0.7502, allocations: 33.18 MB / 0.7183 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003052/0.7505, allocations: 210.9 kB / 0.7185 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.836/3.586, allocations: 0 / 0.7185 GB, free: 6.039 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)