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.004643/0.004643, allocations: 99.52 kB / 15.73 MB, free: 6.039 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.359/1.359, allocations: 222.9 MB / 239.4 MB, free: 4.547 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.00143/0.00143, allocations: 188.5 kB / 289.7 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5149/0.5149, allocations: 91.97 MB / 431.8 MB, free: 9.109 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002166/0.002167, allocations: 84.27 kB / 0.5723 GB, free: 33.82 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1197, allocations: 71.3 MB / 0.642 GB, free: 4.02 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Solar.PSAT.SolarPVTest): time 0.007139/0.1269, allocations: 6.063 MB / 0.6479 GB, free: 13.93 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003883/0.1308, allocations: 1.801 MB / 0.6496 GB, free: 12.12 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000916/0.1318, allocations: 12 kB / 0.6497 GB, free: 12.11 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000823/0.1326, allocations: 238 kB / 0.6499 GB, free: 11.87 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00202/0.1347, allocations: 0.551 MB / 0.6504 GB, free: 11.32 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001947/0.1366, allocations: 0.7712 MB / 0.6512 GB, free: 10.55 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00222/0.1389, allocations: 1.424 MB / 0.6526 GB, free: 9.121 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00058/0.1395, allocations: 279.7 kB / 0.6528 GB, free: 8.836 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009972/0.1405, allocations: 0.5718 MB / 0.6534 GB, free: 8.262 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001275/0.1418, allocations: 0.7429 MB / 0.6541 GB, free: 7.516 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003958/0.1422, allocations: 112 kB / 0.6542 GB, free: 7.406 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007106/0.1429, allocations: 219.9 kB / 0.6544 GB, free: 7.191 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004153/0.1433, allocations: 286.8 kB / 0.6547 GB, free: 6.91 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009184/0.1443, allocations: 0.6098 MB / 0.6553 GB, free: 6.297 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002368/0.1466, allocations: 1.509 MB / 0.6568 GB, free: 4.781 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1466, allocations: 0 / 0.6568 GB, free: 4.781 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1467, allocations: 0 / 0.6568 GB, free: 4.781 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.973e-05/0.1467, allocations: 4 kB / 0.6568 GB, free: 4.777 MB / 462.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.008806/0.1555, allocations: 2.579 MB / 0.6593 GB, free: 2.145 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.1556, allocations: 12.03 kB / 0.6593 GB, free: 2.133 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002625/0.1558, allocations: 118.5 kB / 0.6594 GB, free: 2.008 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004348/0.1602, allocations: 0.6899 MB / 0.6601 GB, free: 1.316 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001437/0.1617, allocations: 0.7719 MB / 0.6608 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004545/0.1621, allocations: 345.3 kB / 0.6612 GB, free: 112 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002209/0.1624, allocations: 75.95 kB / 0.6612 GB, free: 36 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002668/0.1651, allocations: 1.133 MB / 0.6624 GB, free: 14.89 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.1651, allocations: 0 / 0.6624 GB, free: 14.89 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.1652, allocations: 28 kB / 0.6624 GB, free: 14.86 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.088e-05/0.1652, allocations: 16 kB / 0.6624 GB, free: 14.85 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002652/0.1679, allocations: 1.077 MB / 0.6634 GB, free: 13.77 MB / 478.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.007483/0.1754, allocations: 3.72 MB / 0.6671 GB, free: 9.84 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007765/0.1832, allocations: 2.5 MB / 0.6695 GB, free: 7.211 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001763/0.185, allocations: 0.7626 MB / 0.6703 GB, free: 6.441 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001416/0.1851, allocations: 12.98 kB / 0.6703 GB, free: 6.43 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.176e-05/0.1852, allocations: 51.5 kB / 0.6703 GB, free: 6.371 MB / 478.1 MB Notification: Performance of pre-optimization done (n=94): time 2.885e-06/0.1852, allocations: 0 / 0.6703 GB, free: 6.371 MB / 478.1 MB Notification: Performance of matching and sorting (n=94): time 0.03365/0.2188, allocations: 7.998 MB / 0.6781 GB, free: 14.34 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.006e-05/0.2189, allocations: 94.05 kB / 0.6782 GB, free: 14.23 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001309/0.2203, allocations: 0.8353 MB / 0.679 GB, free: 13.37 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001984/0.2205, allocations: 45.69 kB / 0.6791 GB, free: 13.32 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003806/0.2209, allocations: 453.2 kB / 0.6795 GB, free: 12.87 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000462/0.2213, allocations: 349 kB / 0.6799 GB, free: 12.52 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004525/0.2218, allocations: 162.6 kB / 0.68 GB, free: 12.36 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.222, allocations: 345.9 kB / 0.6803 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001655/0.2236, allocations: 0.6539 MB / 0.681 GB, free: 11.36 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001751/0.2254, allocations: 0.808 MB / 0.6818 GB, free: 10.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01658/0.242, allocations: 4.562 MB / 0.6862 GB, free: 5.898 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.926e-06/0.242, allocations: 4 kB / 0.6862 GB, free: 5.895 MB / 494.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.01568/0.2577, allocations: 4.363 MB / 0.6905 GB, free: 1.516 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.514e-05/0.2578, allocations: 9.234 kB / 0.6905 GB, free: 1.508 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/0.2578, allocations: 4 kB / 0.6905 GB, free: 1.504 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007328/0.2651, allocations: 2.077 MB / 0.6925 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007395/0.2659, allocations: 135.8 kB / 0.6927 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02961/0.2955, allocations: 10.63 MB / 0.703 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001668/0.2972, allocations: 167.3 kB / 0.7032 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002503/0.2975, allocations: 35.98 kB / 0.7032 GB, free: 4.305 MB / 0.4981 GB 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.0006697/0.2982, allocations: 247.1 kB / 0.7035 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003499/0.2986, allocations: 115.2 kB / 0.7036 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01539/0.314, allocations: 4.282 MB / 0.7078 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.322e-05/0.314, allocations: 8 kB / 0.7078 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.314, allocations: 0 / 0.7078 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.233e-05/0.3141, allocations: 3.984 kB / 0.7078 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01788/0.332, allocations: 5.776 MB / 0.7134 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-05/0.332, allocations: 0 / 0.7134 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005736/0.3326, allocations: 95.89 kB / 0.7135 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007245/0.3399, allocations: 1.964 MB / 0.7154 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000273/0.3402, allocations: 31.86 kB / 0.7155 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0264/0.3666, allocations: 9.4 MB / 0.7246 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/0.3666, allocations: 4 kB / 0.7246 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01815/0.3848, allocations: 5.343 MB / 0.7299 GB, free: 8.727 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004817/0.3853, allocations: 204.2 kB / 0.73 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003818/0.3857, allocations: 16 kB / 0.7301 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001317/0.3871, allocations: 107.9 kB / 0.7302 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008406/0.3879, allocations: 236.6 kB / 0.7304 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000133/0.3881, allocations: 20 kB / 0.7304 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000962/0.389, allocations: 0.5741 MB / 0.731 GB, free: 7.547 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3891, allocations: 0 / 0.731 GB, free: 7.547 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001554/0.3906, allocations: 443.6 kB / 0.7314 GB, free: 7.113 MB / 0.5294 GB 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.01803/0.4086, allocations: 5.901 MB / 0.7372 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00833/0.417, allocations: 2.483 MB / 0.7396 GB, free: 14.67 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.4171, allocations: 0 / 0.7396 GB, free: 14.67 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006211/0.4233, allocations: 1.703 MB / 0.7412 GB, free: 12.96 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/0.4245, allocations: 99.42 kB / 0.7413 GB, free: 12.86 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04491/0.4694, allocations: 15.65 MB / 0.7566 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000801/0.4703, allocations: 1.057 MB / 0.7577 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003767/0.4707, allocations: 86.47 kB / 0.7577 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006268/0.4713, allocations: 415.3 kB / 0.7581 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of SimCode: time 5.21e-07/0.4713, allocations: 0 / 0.7581 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3368/0.8082, allocations: 36.37 MB / 0.7937 GB, free: 110.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.03/16.83, allocations: 7.625 kB / 0.7937 GB, free: 110.2 MB / 0.5606 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 & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPVTest_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_dev_OpenIPSL_Tests_Solar_PSAT_SolarPVTest.fmu > OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPVTest.pipe 2>&1)