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.008913/0.008913, allocations: 100.8 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.333/1.333, allocations: 222.9 MB / 239.4 MB, free: 4.504 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.001396/0.001396, allocations: 184.5 kB / 289.7 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4945/0.4945, allocations: 91.9 MB / 431.8 MB, free: 9.117 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 80.16 kB / 0.5722 GB, free: 33.53 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1379, allocations: 71.29 MB / 0.6419 GB, free: 4.062 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Solar.PSAT.SolarPQTest): time 0.005953/0.1439, allocations: 6.028 MB / 0.6477 GB, free: 14 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003617/0.1475, allocations: 1.805 MB / 0.6495 GB, free: 12.19 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006508/0.1482, allocations: 12 kB / 0.6495 GB, free: 12.18 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005991/0.1488, allocations: 230.1 kB / 0.6497 GB, free: 11.95 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001498/0.1504, allocations: 0.6009 MB / 0.6503 GB, free: 11.35 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00165/0.152, allocations: 0.775 MB / 0.6511 GB, free: 10.58 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001541/0.1536, allocations: 1.401 MB / 0.6524 GB, free: 9.172 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000434/0.154, allocations: 283.6 kB / 0.6527 GB, free: 8.883 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007465/0.1548, allocations: 0.5719 MB / 0.6533 GB, free: 8.309 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007828/0.1556, allocations: 0.7312 MB / 0.654 GB, free: 7.574 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001652/0.1558, allocations: 108 kB / 0.6541 GB, free: 7.469 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004878/0.1563, allocations: 219.9 kB / 0.6543 GB, free: 7.254 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002326/0.1565, allocations: 282.9 kB / 0.6546 GB, free: 6.977 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000515/0.157, allocations: 0.602 MB / 0.6552 GB, free: 6.371 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001554/0.1586, allocations: 1.505 MB / 0.6566 GB, free: 4.859 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1586, allocations: 0 / 0.6566 GB, free: 4.859 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1586, allocations: 0 / 0.6566 GB, free: 4.859 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.943e-05/0.1586, allocations: 0 / 0.6566 GB, free: 4.859 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.008138/0.1668, allocations: 2.562 MB / 0.6591 GB, free: 2.242 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.1668, allocations: 12.03 kB / 0.6591 GB, free: 2.23 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001464/0.167, allocations: 118.5 kB / 0.6593 GB, free: 2.105 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004043/0.171, allocations: 0.6822 MB / 0.6599 GB, free: 1.422 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/0.1724, allocations: 0.7679 MB / 0.6607 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003887/0.1728, allocations: 349.3 kB / 0.661 GB, free: 220 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/0.1729, allocations: 68 kB / 0.6611 GB, free: 152 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002292/0.1752, allocations: 1.125 MB / 0.6622 GB, free: 15.01 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.1753, allocations: 0 / 0.6622 GB, free: 15.01 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.471e-05/0.1754, allocations: 32 kB / 0.6622 GB, free: 14.98 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/0.1754, allocations: 16 kB / 0.6622 GB, free: 14.96 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002275/0.1777, allocations: 1.066 MB / 0.6633 GB, free: 13.89 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.006521/0.1842, allocations: 3.692 MB / 0.6669 GB, free: 9.996 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007142/0.1914, allocations: 2.501 MB / 0.6693 GB, free: 7.367 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001504/0.1929, allocations: 0.7547 MB / 0.67 GB, free: 6.605 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001148/0.193, allocations: 20.98 kB / 0.6701 GB, free: 6.586 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.193, allocations: 43.56 kB / 0.6701 GB, free: 6.535 MB / 478.1 MB Notification: Performance of pre-optimization done (n=92): time 2.434e-06/0.193, allocations: 0 / 0.6701 GB, free: 6.535 MB / 478.1 MB Notification: Performance of matching and sorting (n=92): time 0.0323/0.2253, allocations: 8.108 MB / 0.678 GB, free: 14.39 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/0.2254, allocations: 90.11 kB / 0.6781 GB, free: 14.29 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.2265, allocations: 0.831 MB / 0.6789 GB, free: 13.43 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001468/0.2267, allocations: 41.7 kB / 0.679 GB, free: 13.38 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000287/0.227, allocations: 453.1 kB / 0.6794 GB, free: 12.93 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003188/0.2273, allocations: 345 kB / 0.6797 GB, free: 12.59 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003337/0.2276, allocations: 166.6 kB / 0.6799 GB, free: 12.43 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.2278, allocations: 341.9 kB / 0.6802 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001457/0.2292, allocations: 0.6461 MB / 0.6808 GB, free: 11.44 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001541/0.2308, allocations: 0.8002 MB / 0.6816 GB, free: 10.59 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01512/0.2459, allocations: 4.511 MB / 0.686 GB, free: 6.035 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-06/0.246, allocations: 0 / 0.686 GB, free: 6.035 MB / 494.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.01438/0.2603, allocations: 4.344 MB / 0.6903 GB, free: 1.676 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.781e-05/0.2604, allocations: 8.625 kB / 0.6903 GB, free: 1.668 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.2604, allocations: 4 kB / 0.6903 GB, free: 1.664 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006749/0.2672, allocations: 2.08 MB / 0.6923 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000689/0.2679, allocations: 147.8 kB / 0.6925 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02602/0.2939, allocations: 10.63 MB / 0.7028 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/0.2953, allocations: 163.3 kB / 0.703 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.71e-05/0.2954, allocations: 28 kB / 0.703 GB, free: 4.465 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.0004108/0.2958, allocations: 242.7 kB / 0.7032 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002006/0.2961, allocations: 111.3 kB / 0.7033 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01413/0.3102, allocations: 4.317 MB / 0.7076 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.3102, allocations: 8 kB / 0.7076 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.3102, allocations: 11.97 kB / 0.7076 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.503e-05/0.3103, allocations: 7.984 kB / 0.7076 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01575/0.326, allocations: 5.717 MB / 0.7132 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.35e-05/0.3261, allocations: 4 kB / 0.7132 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004873/0.3266, allocations: 87.89 kB / 0.7133 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006699/0.3333, allocations: 1.979 MB / 0.7152 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001399/0.3334, allocations: 23.94 kB / 0.7152 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02331/0.3568, allocations: 9.423 MB / 0.7244 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3568, allocations: 0 / 0.7244 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01578/0.3726, allocations: 5.276 MB / 0.7296 GB, free: 8.945 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003641/0.373, allocations: 204.2 kB / 0.7298 GB, free: 8.727 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001383/0.3731, allocations: 19.98 kB / 0.7298 GB, free: 8.707 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/0.3742, allocations: 103.9 kB / 0.7299 GB, free: 8.605 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006345/0.3749, allocations: 224.5 kB / 0.7301 GB, free: 8.383 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.526e-05/0.3749, allocations: 20 kB / 0.7301 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006685/0.3756, allocations: 0.5739 MB / 0.7307 GB, free: 7.777 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3756, allocations: 0 / 0.7307 GB, free: 7.777 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001166/0.3768, allocations: 431.7 kB / 0.7311 GB, free: 7.355 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.01618/0.393, allocations: 5.851 MB / 0.7368 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007346/0.4004, allocations: 2.471 MB / 0.7392 GB, free: 14.98 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.4004, allocations: 0 / 0.7392 GB, free: 14.98 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005396/0.4058, allocations: 1.706 MB / 0.7409 GB, free: 13.26 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008596/0.4067, allocations: 88.8 kB / 0.741 GB, free: 13.18 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03786/0.4445, allocations: 15.4 MB / 0.756 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005908/0.4452, allocations: 1.057 MB / 0.757 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003225/0.4455, allocations: 82.44 kB / 0.7571 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004623/0.446, allocations: 403.3 kB / 0.7575 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of SimCode: time 4.81e-07/0.446, allocations: 0 / 0.7575 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3352/0.7812, allocations: 36.07 MB / 0.7927 GB, free: 111.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.46/16.24, allocations: 8.828 kB / 0.7927 GB, free: 111.2 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)