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.001474/0.001474, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 222.9 MB / 239.3 MB, free: 4.574 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.001438/0.001438, allocations: 200.4 kB / 289.6 MB, free: 2.297 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5057/0.5057, allocations: 91.9 MB / 431.6 MB, free: 9.199 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00162/0.00162, allocations: 79.88 kB / 0.502 GB, free: 7.574 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3257, allocations: 71.27 MB / 0.5716 GB, free: 36.81 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Solar.PSAT.SolarPVTest): time 0.004879/0.3306, allocations: 6.05 MB / 0.5775 GB, free: 33.24 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002713/0.3333, allocations: 1.824 MB / 0.5793 GB, free: 32.11 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003584/0.3337, allocations: 13.69 kB / 0.5793 GB, free: 32.11 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000429/0.3342, allocations: 237.1 kB / 0.5795 GB, free: 31.98 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009966/0.3352, allocations: 0.5525 MB / 0.58 GB, free: 31.61 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001299/0.3365, allocations: 0.7675 MB / 0.5808 GB, free: 31.2 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009908/0.3375, allocations: 1.418 MB / 0.5822 GB, free: 30.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003289/0.3378, allocations: 279.9 kB / 0.5824 GB, free: 30.39 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004231/0.3383, allocations: 0.5732 MB / 0.583 GB, free: 30.1 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005744/0.3388, allocations: 0.7368 MB / 0.5837 GB, free: 29.75 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001424/0.339, allocations: 108.8 kB / 0.5838 GB, free: 29.75 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003491/0.3394, allocations: 224.6 kB / 0.584 GB, free: 29.71 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001634/0.3395, allocations: 288.1 kB / 0.5843 GB, free: 29.52 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003511/0.3399, allocations: 0.6134 MB / 0.5849 GB, free: 29.12 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00095/0.3408, allocations: 1.488 MB / 0.5864 GB, free: 28.44 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3409, allocations: 3.938 kB / 0.5864 GB, free: 28.44 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3409, allocations: 0 / 0.5864 GB, free: 28.44 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.498e-05/0.3409, allocations: 0 / 0.5864 GB, free: 28.44 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.008064/0.349, allocations: 2.535 MB / 0.5888 GB, free: 27.32 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.349, allocations: 8.656 kB / 0.5889 GB, free: 27.32 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001387/0.3491, allocations: 124.7 kB / 0.589 GB, free: 27.23 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00423/0.3534, allocations: 0.6777 MB / 0.5896 GB, free: 27.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009419/0.3543, allocations: 0.7551 MB / 0.5904 GB, free: 26.56 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002893/0.3546, allocations: 347.1 kB / 0.5907 GB, free: 26.24 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001438/0.3548, allocations: 79.7 kB / 0.5908 GB, free: 26.21 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002106/0.3569, allocations: 1.129 MB / 0.5919 GB, free: 25.79 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.3569, allocations: 1.125 kB / 0.5919 GB, free: 25.79 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-05/0.357, allocations: 30 kB / 0.5919 GB, free: 25.77 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.659e-05/0.3571, allocations: 20 kB / 0.5919 GB, free: 25.77 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002258/0.3593, allocations: 1.071 MB / 0.593 GB, free: 25.41 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.006103/0.3654, allocations: 3.737 MB / 0.5966 GB, free: 23.15 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007614/0.3731, allocations: 2.507 MB / 0.5991 GB, free: 22.13 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001729/0.3748, allocations: 0.7792 MB / 0.5998 GB, free: 21.82 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001132/0.3749, allocations: 16.73 kB / 0.5999 GB, free: 21.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.375, allocations: 44.52 kB / 0.5999 GB, free: 21.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 2.796e-06/0.375, allocations: 0 / 0.5999 GB, free: 21.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.03546/0.4105, allocations: 7.991 MB / 0.6077 GB, free: 20.42 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.4105, allocations: 92.06 kB / 0.6078 GB, free: 20.32 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/0.4118, allocations: 0.8371 MB / 0.6086 GB, free: 19.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001693/0.412, allocations: 45.23 kB / 0.6086 GB, free: 19.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000285/0.4122, allocations: 442.4 kB / 0.6091 GB, free: 19.56 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00031/0.4126, allocations: 334.2 kB / 0.6094 GB, free: 19.3 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003663/0.4129, allocations: 169.8 kB / 0.6095 GB, free: 19.21 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.006e-05/0.413, allocations: 342.4 kB / 0.6099 GB, free: 18.89 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001574/0.4146, allocations: 0.6593 MB / 0.6105 GB, free: 18.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001848/0.4164, allocations: 0.8084 MB / 0.6113 GB, free: 18.18 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01578/0.4322, allocations: 4.563 MB / 0.6158 GB, free: 15.92 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.4323, allocations: 2.062 kB / 0.6158 GB, free: 15.92 MB / 430.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.01445/0.4467, allocations: 4.358 MB / 0.62 GB, free: 12.35 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/0.4468, allocations: 8 kB / 0.62 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.4468, allocations: 4 kB / 0.62 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006656/0.4535, allocations: 2.08 MB / 0.6221 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000711/0.4542, allocations: 139.8 kB / 0.6222 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02544/0.4797, allocations: 10.63 MB / 0.6326 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001967/0.4817, allocations: 155.2 kB / 0.6327 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/0.4818, allocations: 39.98 kB / 0.6328 GB, free: 15.14 MB / 446.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.0005111/0.4823, allocations: 246.1 kB / 0.633 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002439/0.4826, allocations: 110.6 kB / 0.6331 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01488/0.4975, allocations: 4.282 MB / 0.6373 GB, free: 10.49 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.997e-05/0.4975, allocations: 12 kB / 0.6373 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.4975, allocations: 0 / 0.6373 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.798e-05/0.4975, allocations: 3.984 kB / 0.6373 GB, free: 10.47 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01728/0.5148, allocations: 5.772 MB / 0.6429 GB, free: 4.582 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.468e-05/0.5149, allocations: 0 / 0.6429 GB, free: 4.582 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005378/0.5154, allocations: 91.89 kB / 0.643 GB, free: 4.492 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007105/0.5225, allocations: 1.979 MB / 0.645 GB, free: 2.508 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001408/0.5227, allocations: 23.94 kB / 0.645 GB, free: 2.484 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02601/0.5487, allocations: 9.406 MB / 0.6542 GB, free: 8.93 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.044e-06/0.5488, allocations: 4 kB / 0.6542 GB, free: 8.926 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01807/0.5669, allocations: 5.332 MB / 0.6594 GB, free: 3.566 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000506/0.5674, allocations: 199.6 kB / 0.6596 GB, free: 3.352 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003637/0.5678, allocations: 16 kB / 0.6596 GB, free: 3.336 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001366/0.5692, allocations: 107.9 kB / 0.6597 GB, free: 3.23 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007882/0.57, allocations: 228.7 kB / 0.6599 GB, free: 3.008 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001186/0.5701, allocations: 24 kB / 0.6599 GB, free: 2.984 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000945/0.5711, allocations: 0.5741 MB / 0.6605 GB, free: 2.398 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5711, allocations: 0 / 0.6605 GB, free: 2.398 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001601/0.5727, allocations: 435.5 kB / 0.6609 GB, free: 1.973 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.0183/0.591, allocations: 5.901 MB / 0.6667 GB, free: 12.03 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008663/0.5997, allocations: 2.507 MB / 0.6691 GB, free: 9.512 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.5997, allocations: 7.875 kB / 0.6691 GB, free: 9.504 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006135/0.6059, allocations: 1.699 MB / 0.6708 GB, free: 7.793 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/0.607, allocations: 98.7 kB / 0.6709 GB, free: 7.699 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04447/0.6515, allocations: 16.09 MB / 0.6866 GB, free: 7.215 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007568/0.6523, allocations: 1.057 MB / 0.6876 GB, free: 6.133 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003939/0.6527, allocations: 82.48 kB / 0.6877 GB, free: 6.047 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006015/0.6534, allocations: 415.3 kB / 0.6881 GB, free: 5.641 MB / 494.1 MB Notification: Performance of SimCode: time 5.51e-07/0.6534, allocations: 0 / 0.6881 GB, free: 5.641 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07322/0.7266, allocations: 35.98 MB / 0.7232 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/12.28, allocations: 11.92 kB / 0.7232 GB, free: 1.734 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 & 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)