Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest.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.SolarPQTest,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Solar_PSAT_SolarPQTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Solar.PSAT.SolarPQTest,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Solar_PSAT_SolarPQTest",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.00546/0.00546, allocations: 101.2 kB / 15.73 MB, free: 6.027 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.374/1.374, 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.001461/0.001461, allocations: 188.5 kB / 289.7 MB, free: 2.254 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5241/0.5241, allocations: 91.91 MB / 431.8 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002249/0.002249, allocations: 80.98 kB / 0.5722 GB, free: 33.82 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1192, allocations: 71.29 MB / 0.6419 GB, free: 4.094 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Solar.PSAT.SolarPQTest): time 0.006963/0.1262, allocations: 6.024 MB / 0.6477 GB, free: 14.04 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003763/0.13, allocations: 1.801 MB / 0.6495 GB, free: 12.23 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005376/0.1306, allocations: 8 kB / 0.6495 GB, free: 12.22 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005877/0.1312, allocations: 234.1 kB / 0.6497 GB, free: 11.99 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001308/0.1325, allocations: 0.5549 MB / 0.6503 GB, free: 11.43 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00176/0.1343, allocations: 0.7716 MB / 0.651 GB, free: 10.66 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001831/0.1362, allocations: 1.401 MB / 0.6524 GB, free: 9.258 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000449/0.1366, allocations: 291.6 kB / 0.6527 GB, free: 8.961 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007487/0.1374, allocations: 0.5563 MB / 0.6532 GB, free: 8.402 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009088/0.1383, allocations: 0.7312 MB / 0.6539 GB, free: 7.668 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000183/0.1385, allocations: 115.9 kB / 0.654 GB, free: 7.555 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004761/0.139, allocations: 215.9 kB / 0.6543 GB, free: 7.344 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002627/0.1392, allocations: 290.8 kB / 0.6545 GB, free: 7.059 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006124/0.1399, allocations: 0.602 MB / 0.6551 GB, free: 6.453 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001858/0.1417, allocations: 1.498 MB / 0.6566 GB, free: 4.949 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1418, allocations: 0 / 0.6566 GB, free: 4.949 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1418, allocations: 0 / 0.6566 GB, free: 4.949 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.327e-05/0.1418, allocations: 0 / 0.6566 GB, free: 4.949 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.008439/0.1502, allocations: 2.562 MB / 0.6591 GB, free: 2.332 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.1503, allocations: 12.03 kB / 0.6591 GB, free: 2.32 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001667/0.1505, allocations: 118.5 kB / 0.6592 GB, free: 2.195 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004344/0.1548, allocations: 0.6861 MB / 0.6599 GB, free: 1.508 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001379/0.1562, allocations: 0.7718 MB / 0.6606 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004058/0.1566, allocations: 345.2 kB / 0.661 GB, free: 308 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001593/0.1568, allocations: 72 kB / 0.661 GB, free: 236 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002339/0.1592, allocations: 1.125 MB / 0.6621 GB, free: 15.09 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.1592, allocations: 0 / 0.6621 GB, free: 15.09 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.876e-05/0.1593, allocations: 24 kB / 0.6621 GB, free: 15.07 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.198e-05/0.1593, allocations: 20 kB / 0.6622 GB, free: 15.05 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002345/0.1617, allocations: 1.066 MB / 0.6632 GB, free: 13.98 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.006991/0.1687, allocations: 3.692 MB / 0.6668 GB, free: 10.08 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00745/0.1761, allocations: 2.501 MB / 0.6693 GB, free: 7.453 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001691/0.1779, allocations: 0.7548 MB / 0.67 GB, free: 6.691 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000118/0.178, allocations: 16.97 kB / 0.67 GB, free: 6.676 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.1781, allocations: 43.56 kB / 0.6701 GB, free: 6.625 MB / 478.1 MB Notification: Performance of pre-optimization done (n=92): time 3.397e-06/0.1781, allocations: 4 kB / 0.6701 GB, free: 6.621 MB / 478.1 MB Notification: Performance of matching and sorting (n=92): time 0.03324/0.2113, allocations: 8.1 MB / 0.678 GB, free: 14.48 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.72e-05/0.2114, allocations: 90.11 kB / 0.6781 GB, free: 14.38 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001313/0.2128, allocations: 0.8349 MB / 0.6789 GB, free: 13.52 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001988/0.213, allocations: 41.7 kB / 0.6789 GB, free: 13.47 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003787/0.2134, allocations: 461 kB / 0.6793 GB, free: 13.02 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003843/0.2138, allocations: 341 kB / 0.6797 GB, free: 12.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003666/0.2141, allocations: 162.6 kB / 0.6798 GB, free: 12.52 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.2143, allocations: 345.9 kB / 0.6802 GB, free: 12.17 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001556/0.2159, allocations: 0.65 MB / 0.6808 GB, free: 11.52 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001603/0.2175, allocations: 0.7963 MB / 0.6816 GB, free: 10.68 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01582/0.2333, allocations: 4.507 MB / 0.686 GB, free: 6.125 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.917e-06/0.2334, allocations: 8 kB / 0.686 GB, free: 6.117 MB / 494.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.01521/0.2486, allocations: 4.336 MB / 0.6902 GB, free: 1.766 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.966e-05/0.2487, allocations: 8.312 kB / 0.6902 GB, free: 1.758 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.2487, allocations: 4 kB / 0.6902 GB, free: 1.754 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006921/0.2556, allocations: 2.084 MB / 0.6923 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000707/0.2563, allocations: 139.8 kB / 0.6924 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02748/0.2838, allocations: 10.63 MB / 0.7028 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/0.2854, allocations: 163.3 kB / 0.7029 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.537e-05/0.2855, allocations: 32 kB / 0.703 GB, free: 4.555 MB / 0.4981 GB Warning: Assuming fixed start value for the following 2 variables: SPQ.id:VARIABLE(start = SPQ.idref unit = "1" fixed = true ) "d-axis current" type: Real SPQ.iq:VARIABLE(start = SPQ.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 (83): * Single equations (assignments): 82 * 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.0004922/0.286, allocations: 242.6 kB / 0.7032 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00023/0.2862, allocations: 115.3 kB / 0.7033 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01477/0.301, allocations: 4.317 MB / 0.7075 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.929e-05/0.301, allocations: 8 kB / 0.7075 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.3011, allocations: 3.984 kB / 0.7075 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.232e-05/0.3011, allocations: 3.984 kB / 0.7075 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01666/0.3177, allocations: 5.725 MB / 0.7131 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/0.3178, allocations: 4 kB / 0.7131 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000515/0.3183, allocations: 87.89 kB / 0.7132 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006711/0.325, allocations: 1.971 MB / 0.7151 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001148/0.3252, allocations: 23.92 kB / 0.7152 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02412/0.3493, allocations: 9.427 MB / 0.7244 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3493, allocations: 0 / 0.7244 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01622/0.3656, allocations: 5.276 MB / 0.7295 GB, free: 9.039 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004244/0.366, allocations: 208.2 kB / 0.7297 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001768/0.3662, allocations: 19.98 kB / 0.7297 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001135/0.3674, allocations: 99.89 kB / 0.7298 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000739/0.3681, allocations: 236.4 kB / 0.7301 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.168e-05/0.3682, allocations: 20 kB / 0.7301 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008027/0.369, allocations: 0.5739 MB / 0.7306 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.6e-07/0.369, allocations: 0 / 0.7306 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001316/0.3703, allocations: 431.7 kB / 0.731 GB, free: 7.438 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (gENCLS.delta,gENCLS.eq,SPQ.id,SPQ.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 (54): * Single equations (assignments): 53 * 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.01687/0.3872, allocations: 5.839 MB / 0.7368 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007561/0.3948, allocations: 2.471 MB / 0.7392 GB, free: 15.07 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3948, allocations: 3.938 kB / 0.7392 GB, free: 15.07 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005485/0.4003, allocations: 1.695 MB / 0.7408 GB, free: 13.36 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008858/0.4012, allocations: 99.33 kB / 0.7409 GB, free: 13.27 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04069/0.4419, allocations: 15.41 MB / 0.756 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008188/0.4428, allocations: 1.057 MB / 0.757 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000358/0.4432, allocations: 82.44 kB / 0.7571 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005592/0.4437, allocations: 403.3 kB / 0.7575 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of SimCode: time 7.11e-07/0.4437, allocations: 4 kB / 0.7575 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3234/0.7672, allocations: 36.07 MB / 0.7927 GB, free: 111.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.49/17.26, allocations: 7.828 kB / 0.7927 GB, free: 111.4 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest_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_SolarPQTest.fmu > OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest.pipe 2>&1)