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.005726/0.005726, allocations: 101 kB / 15.73 MB, free: 6.059 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.355/1.355, allocations: 222.9 MB / 239.4 MB, free: 4.516 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.001489/0.001489, allocations: 192.5 kB / 289.7 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.516/0.516, allocations: 91.9 MB / 431.8 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 77.66 kB / 0.5722 GB, free: 33.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1192, allocations: 71.29 MB / 0.6419 GB, free: 4.102 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Solar.PSAT.SolarPVTest): time 0.006703/0.126, allocations: 6.059 MB / 0.6478 GB, free: 14.01 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003799/0.1298, allocations: 1.809 MB / 0.6495 GB, free: 12.2 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008471/0.1307, allocations: 8 kB / 0.6496 GB, free: 12.19 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008231/0.1315, allocations: 238.1 kB / 0.6498 GB, free: 11.95 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002001/0.1336, allocations: 0.6095 MB / 0.6504 GB, free: 11.34 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001957/0.1355, allocations: 0.7792 MB / 0.6511 GB, free: 10.57 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002095/0.1377, allocations: 1.413 MB / 0.6525 GB, free: 9.148 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005519/0.1382, allocations: 287.7 kB / 0.6528 GB, free: 8.855 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009215/0.1392, allocations: 0.5718 MB / 0.6533 GB, free: 8.281 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001018/0.1402, allocations: 0.7351 MB / 0.6541 GB, free: 7.543 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001986/0.1404, allocations: 112 kB / 0.6542 GB, free: 7.434 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004796/0.1409, allocations: 227.9 kB / 0.6544 GB, free: 7.211 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002276/0.1411, allocations: 282.9 kB / 0.6547 GB, free: 6.934 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005238/0.1417, allocations: 0.6098 MB / 0.6553 GB, free: 6.32 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00147/0.1431, allocations: 1.513 MB / 0.6567 GB, free: 4.801 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1431, allocations: 0 / 0.6567 GB, free: 4.801 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1432, allocations: 4 kB / 0.6567 GB, free: 4.797 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.502e-05/0.1432, allocations: 4 kB / 0.6567 GB, free: 4.793 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.007699/0.1509, allocations: 2.57 MB / 0.6592 GB, free: 2.168 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.1509, allocations: 12.03 kB / 0.6593 GB, free: 2.156 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001488/0.1511, allocations: 122.5 kB / 0.6594 GB, free: 2.027 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004035/0.1551, allocations: 0.686 MB / 0.66 GB, free: 1.34 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/0.1563, allocations: 0.7641 MB / 0.6608 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003305/0.1567, allocations: 349.3 kB / 0.6611 GB, free: 140 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/0.1568, allocations: 79.89 kB / 0.6612 GB, free: 60 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002144/0.159, allocations: 1.129 MB / 0.6623 GB, free: 14.92 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.159, allocations: 3.938 kB / 0.6623 GB, free: 14.91 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.843e-05/0.1591, allocations: 36 kB / 0.6623 GB, free: 14.88 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.1591, allocations: 16 kB / 0.6624 GB, free: 14.86 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002164/0.1613, allocations: 1.07 MB / 0.6634 GB, free: 13.79 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.006127/0.1674, allocations: 3.716 MB / 0.667 GB, free: 9.867 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00695/0.1744, allocations: 2.5 MB / 0.6695 GB, free: 7.238 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001521/0.1759, allocations: 0.7704 MB / 0.6702 GB, free: 6.461 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001274/0.1761, allocations: 12.98 kB / 0.6702 GB, free: 6.449 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.1761, allocations: 43.56 kB / 0.6703 GB, free: 6.398 MB / 478.1 MB Notification: Performance of pre-optimization done (n=94): time 3.026e-06/0.1761, allocations: 0 / 0.6703 GB, free: 6.398 MB / 478.1 MB Notification: Performance of matching and sorting (n=94): time 0.03154/0.2077, allocations: 8.002 MB / 0.6781 GB, free: 14.36 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.063e-05/0.2078, allocations: 86.11 kB / 0.6782 GB, free: 14.26 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/0.209, allocations: 0.8431 MB / 0.679 GB, free: 13.39 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001624/0.2092, allocations: 45.7 kB / 0.679 GB, free: 13.34 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003077/0.2095, allocations: 453.1 kB / 0.6795 GB, free: 12.89 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003421/0.2099, allocations: 349 kB / 0.6798 GB, free: 12.55 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003593/0.2102, allocations: 166.6 kB / 0.68 GB, free: 12.38 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.2104, allocations: 341.9 kB / 0.6803 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001495/0.2119, allocations: 0.6617 MB / 0.6809 GB, free: 11.38 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001654/0.2135, allocations: 0.8079 MB / 0.6817 GB, free: 10.52 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01568/0.2292, allocations: 4.546 MB / 0.6862 GB, free: 5.93 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/0.2293, allocations: 8 kB / 0.6862 GB, free: 5.922 MB / 494.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.01456/0.2438, allocations: 4.363 MB / 0.6904 GB, free: 1.543 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.876e-05/0.2439, allocations: 8.031 kB / 0.6904 GB, free: 1.535 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.2439, allocations: 4 kB / 0.6904 GB, free: 1.531 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006897/0.2508, allocations: 2.084 MB / 0.6925 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000702/0.2516, allocations: 135.8 kB / 0.6926 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02745/0.279, allocations: 10.62 MB / 0.703 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001724/0.2808, allocations: 163.3 kB / 0.7031 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/0.2809, allocations: 39.98 kB / 0.7032 GB, free: 4.34 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.0004774/0.2814, allocations: 246.5 kB / 0.7034 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002231/0.2816, allocations: 115.2 kB / 0.7035 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01423/0.2959, allocations: 4.278 MB / 0.7077 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.608e-05/0.2959, allocations: 11.94 kB / 0.7077 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.2959, allocations: 0 / 0.7077 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.967e-05/0.296, allocations: 7.984 kB / 0.7077 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01604/0.312, allocations: 5.772 MB / 0.7134 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/0.3121, allocations: 3.938 kB / 0.7134 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000493/0.3126, allocations: 95.83 kB / 0.7134 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006579/0.3192, allocations: 1.975 MB / 0.7154 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001184/0.3193, allocations: 23.92 kB / 0.7154 GB, free: 7.672 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02348/0.3428, allocations: 9.396 MB / 0.7246 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.3428, allocations: 8 kB / 0.7246 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01648/0.3593, allocations: 5.335 MB / 0.7298 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004487/0.3598, allocations: 208.2 kB / 0.73 GB, free: 8.539 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/0.3599, allocations: 20 kB / 0.73 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/0.361, allocations: 103.9 kB / 0.7301 GB, free: 8.418 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006965/0.3617, allocations: 224.7 kB / 0.7303 GB, free: 8.195 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.83e-05/0.3618, allocations: 24 kB / 0.7303 GB, free: 8.172 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007467/0.3626, allocations: 0.578 MB / 0.7309 GB, free: 7.582 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3626, allocations: 3.938 kB / 0.7309 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001296/0.3639, allocations: 439.6 kB / 0.7313 GB, free: 7.148 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.01646/0.3803, allocations: 5.901 MB / 0.7371 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00733/0.3877, allocations: 2.486 MB / 0.7395 GB, free: 14.71 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/0.3878, allocations: 0 / 0.7395 GB, free: 14.71 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005601/0.3934, allocations: 1.706 MB / 0.7412 GB, free: 12.99 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009057/0.3943, allocations: 96.52 kB / 0.7413 GB, free: 12.89 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06448/0.4588, allocations: 15.65 MB / 0.7566 GB, free: 13 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005579/0.4594, allocations: 1.053 MB / 0.7576 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003586/0.4598, allocations: 82.48 kB / 0.7577 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004662/0.4602, allocations: 415.3 kB / 0.7581 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of SimCode: time 5.92e-07/0.4602, allocations: 0 / 0.7581 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3303/0.7906, allocations: 36.38 MB / 0.7936 GB, free: 110.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.57/16.36, allocations: 10.64 kB / 0.7936 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)