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.001013/0.001013, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.316/1.316, allocations: 223.2 MB / 238.9 MB, free: 5.488 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.001102/0.001102, allocations: 189 kB / 290.2 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4912/0.4912, allocations: 79.46 MB / 420.7 MB, free: 3.949 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000374/0.0003741, allocations: 12 kB / 0.4891 GB, free: 5.508 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3994/0.3997, allocations: 69.51 MB / 0.557 GB, free: 37.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Solar.PSAT.SolarPVTest): time 0.00442/0.4042, allocations: 5.272 MB / 0.5621 GB, free: 37.27 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003353/0.4076, allocations: 1.801 MB / 0.5639 GB, free: 37.04 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000709/0.4083, allocations: 10.88 kB / 0.5639 GB, free: 37.04 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005168/0.4089, allocations: 173.5 kB / 0.564 GB, free: 36.98 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001396/0.4103, allocations: 0.527 MB / 0.5646 GB, free: 36.92 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001398/0.4117, allocations: 0.6452 MB / 0.5652 GB, free: 36.88 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00142/0.4131, allocations: 0.9166 MB / 0.5661 GB, free: 36.68 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003701/0.4135, allocations: 222.9 kB / 0.5663 GB, free: 36.64 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005956/0.4141, allocations: 0.4951 MB / 0.5668 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007695/0.4149, allocations: 0.6436 MB / 0.5674 GB, free: 36.34 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001301/0.415, allocations: 60.62 kB / 0.5675 GB, free: 36.34 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003814/0.4154, allocations: 151.9 kB / 0.5676 GB, free: 36.34 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001772/0.4156, allocations: 228 kB / 0.5678 GB, free: 36.27 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001509/0.4157, allocations: 211.8 kB / 0.568 GB, free: 36.2 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009219/0.4167, allocations: 1.073 MB / 0.5691 GB, free: 36.03 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.4167, allocations: 0 / 0.5691 GB, free: 36.03 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4167, allocations: 0 / 0.5691 GB, free: 36.03 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.9e-05/0.4167, allocations: 0.9375 kB / 0.5691 GB, free: 36.03 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.008211/0.4249, allocations: 2.399 MB / 0.5714 GB, free: 35.22 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.326e-05/0.425, allocations: 10.94 kB / 0.5714 GB, free: 35.22 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004389/0.4254, allocations: 122.9 kB / 0.5715 GB, free: 35.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004345/0.4298, allocations: 0.6754 MB / 0.5722 GB, free: 35.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00149/0.4313, allocations: 0.7292 MB / 0.5729 GB, free: 34.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003588/0.4317, allocations: 355.6 kB / 0.5733 GB, free: 34.27 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001639/0.4319, allocations: 74.78 kB / 0.5733 GB, free: 34.25 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00237/0.4342, allocations: 1.204 MB / 0.5745 GB, free: 33.82 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.4343, allocations: 0 / 0.5745 GB, free: 33.82 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.639e-05/0.4344, allocations: 30.52 kB / 0.5745 GB, free: 33.8 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/0.4344, allocations: 17.72 kB / 0.5746 GB, free: 33.8 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002435/0.4368, allocations: 1.159 MB / 0.5757 GB, free: 33.43 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.007057/0.4439, allocations: 3.941 MB / 0.5795 GB, free: 31.03 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007366/0.4513, allocations: 3.065 MB / 0.5825 GB, free: 29.97 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002093/0.4516, allocations: 20.27 kB / 0.5825 GB, free: 29.96 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.4516, allocations: 52.03 kB / 0.5826 GB, free: 29.91 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 2.765e-06/0.4516, allocations: 0 / 0.5826 GB, free: 29.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.03605/0.4876, allocations: 9.804 MB / 0.5922 GB, free: 28.36 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.202e-05/0.4878, allocations: 87.52 kB / 0.5923 GB, free: 28.27 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/0.4891, allocations: 0.8347 MB / 0.5931 GB, free: 27.9 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002285/0.4893, allocations: 41.42 kB / 0.5931 GB, free: 27.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002705/0.4896, allocations: 449.7 kB / 0.5935 GB, free: 27.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000354/0.49, allocations: 334.9 kB / 0.5939 GB, free: 27.24 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.798e-05/0.4901, allocations: 20.12 kB / 0.5939 GB, free: 27.22 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.932e-05/0.4901, allocations: 342.7 kB / 0.5942 GB, free: 26.9 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00166/0.4918, allocations: 0.7363 MB / 0.5949 GB, free: 26.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001738/0.4936, allocations: 0.8838 MB / 0.5958 GB, free: 26.28 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001759/0.4953, allocations: 0.7861 MB / 0.5966 GB, free: 25.97 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.4953, allocations: 1 kB / 0.5966 GB, free: 25.97 MB / 430.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.01742/0.5128, allocations: 5.37 MB / 0.6018 GB, free: 24.88 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.527e-05/0.5129, allocations: 6.594 kB / 0.6018 GB, free: 24.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/0.5129, allocations: 3.375 kB / 0.6018 GB, free: 24.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008475/0.5214, allocations: 2.425 MB / 0.6042 GB, free: 24.49 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008243/0.5223, allocations: 143.5 kB / 0.6043 GB, free: 24.47 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02952/0.5518, allocations: 11.61 MB / 0.6157 GB, free: 16.35 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001717/0.5536, allocations: 203.1 kB / 0.6158 GB, free: 16.15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/0.5537, allocations: 35.98 kB / 0.6159 GB, free: 16.12 MB / 430.1 MB Warning: Assuming fixed start value for the following 3 variables: SPV.iq:VARIABLE(start = SPV.iqref unit = "1" fixed = true ) "q-axis current" type: Real SPV.id:VARIABLE(start = SPV.idref unit = "1" fixed = true ) "d-axis current" type: Real SPV.x:VARIABLE(start = SPV.Q_0 * SPV.CoB unit = "1" fixed = true protected = true ) 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 15} Notification: Performance of prepare postOptimizeDAE: time 0.000545/0.5542, allocations: 247 kB / 0.6161 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002378/0.5545, allocations: 110.6 kB / 0.6162 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01416/0.5686, allocations: 5.298 MB / 0.6214 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.031e-05/0.5687, allocations: 8 kB / 0.6214 GB, free: 10.44 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.5687, allocations: 4.75 kB / 0.6214 GB, free: 10.44 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.658e-05/0.5688, allocations: 3.984 kB / 0.6214 GB, free: 10.43 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01621/0.585, allocations: 6.787 MB / 0.628 GB, free: 3.535 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-05/0.585, allocations: 4 kB / 0.628 GB, free: 3.531 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005425/0.5856, allocations: 87.89 kB / 0.6281 GB, free: 3.445 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006621/0.5922, allocations: 2.329 MB / 0.6304 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002064/0.5925, allocations: 20.48 kB / 0.6304 GB, free: 1.094 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02536/0.6178, allocations: 10.25 MB / 0.6404 GB, free: 6.695 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.6179, allocations: 0 / 0.6404 GB, free: 6.695 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01785/0.6357, allocations: 6.434 MB / 0.6467 GB, free: 240 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005594/0.6364, allocations: 203.6 kB / 0.6469 GB, free: 16 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001893/0.6366, allocations: 20.05 kB / 0.6469 GB, free: 15.99 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/0.6377, allocations: 139.8 kB / 0.6471 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006541/0.6384, allocations: 228.6 kB / 0.6473 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.181e-05/0.6385, allocations: 24 kB / 0.6473 GB, free: 15.61 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007186/0.6392, allocations: 0.5663 MB / 0.6479 GB, free: 15.03 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6392, allocations: 0 / 0.6479 GB, free: 15.03 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001397/0.6406, allocations: 439.5 kB / 0.6483 GB, free: 14.6 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.01799/0.6586, allocations: 7.069 MB / 0.6552 GB, free: 7.492 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008112/0.6668, allocations: 2.796 MB / 0.6579 GB, free: 4.688 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/0.6668, allocations: 4 kB / 0.6579 GB, free: 4.684 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006064/0.6729, allocations: 1.935 MB / 0.6598 GB, free: 2.742 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008831/0.6738, allocations: 83.42 kB / 0.6599 GB, free: 2.66 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005904/0.6797, allocations: 5.386 MB / 0.6651 GB, free: 13.2 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006877/0.6805, allocations: 1.081 MB / 0.6662 GB, free: 12.09 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003392/0.6808, allocations: 84.03 kB / 0.6663 GB, free: 12 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004582/0.6813, allocations: 407.3 kB / 0.6667 GB, free: 11.6 MB / 478.1 MB Notification: Performance of SimCode: time 1.232e-06/0.6813, allocations: 0 / 0.6667 GB, free: 11.6 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05371/0.735, allocations: 31.73 MB / 0.6977 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/0.7353, allocations: 188.4 kB / 0.6978 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.627/3.362, allocations: 0 / 0.6978 GB, free: 11.96 MB / 0.4981 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Solar_PSAT_SolarPVTest_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Solar_PSAT_SolarPVTest.fmu > OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPVTest.pipe 2>&1) Environment - environmentSimulation: