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/Complex 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 177.5 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 221.5 MB / 229.6 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 93.86 kB / 280.5 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5092/0.5092, allocations: 78.94 MB / 410.2 MB, free: 5.953 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.468e-05/2.48e-05, allocations: 4 kB / 486 MB, free: 11.42 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1644, allocations: 69.51 MB / 0.5425 GB, free: 5.809 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4856/0.6502, allocations: 98.79 MB / 0.639 GB, free: 15.15 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/0.6505, allocations: 79.95 kB / 0.6391 GB, free: 15.07 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07187/0.7224, allocations: 25.09 MB / 0.6636 GB, free: 6.043 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.567e-06/0.7224, allocations: 0 / 0.6636 GB, free: 6.043 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000104/0.7225, allocations: 18.41 kB / 0.6636 GB, free: 6.027 MB / 474.7 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.005256/0.7278, allocations: 1.621 MB / 0.6652 GB, free: 4.363 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.7279, allocations: 8.031 kB / 0.6652 GB, free: 4.355 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003038/0.7309, allocations: 490 kB / 0.6657 GB, free: 3.875 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001711/0.7326, allocations: 0.6744 MB / 0.6663 GB, free: 3.156 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004397/0.7331, allocations: 325.3 kB / 0.6666 GB, free: 2.785 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003015/0.7334, allocations: 47.98 kB / 0.6667 GB, free: 2.738 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00196/0.7354, allocations: 0.8318 MB / 0.6675 GB, free: 1.906 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001821/0.7372, allocations: 0.829 MB / 0.6683 GB, free: 1.066 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.7373, allocations: 0 / 0.6683 GB, free: 1.066 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-05/0.7373, allocations: 0 / 0.6683 GB, free: 1.066 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.834e-05/0.7374, allocations: 16 kB / 0.6683 GB, free: 1.051 MB / 474.7 MB Warning: The model contains alias variables with conflicting start and/or 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.007671/0.745, allocations: 3.669 MB / 0.6719 GB, free: 13.19 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007171/0.7522, allocations: 2.72 MB / 0.6745 GB, free: 10.34 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001035/0.7533, allocations: 0.551 MB / 0.6751 GB, free: 9.789 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001635/0.7535, allocations: 20.69 kB / 0.6751 GB, free: 9.766 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.486e-05/0.7536, allocations: 43.34 kB / 0.6751 GB, free: 9.715 MB / 490.7 MB Notification: Performance of pre-optimization done (n=94): time 4.378e-06/0.7536, allocations: 7.938 kB / 0.6751 GB, free: 9.707 MB / 490.7 MB Notification: Performance of matching and sorting (n=94): time 0.01461/0.7682, allocations: 4.402 MB / 0.6794 GB, free: 5.293 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.482e-05/0.7683, allocations: 89.88 kB / 0.6795 GB, free: 5.184 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001418/0.7698, allocations: 0.6667 MB / 0.6802 GB, free: 4.496 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000271/0.77, allocations: 25.7 kB / 0.6802 GB, free: 4.465 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000427/0.7705, allocations: 460.4 kB / 0.6806 GB, free: 4.008 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005768/0.7711, allocations: 315.8 kB / 0.6809 GB, free: 3.695 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.371e-05/0.7712, allocations: 0 / 0.6809 GB, free: 3.695 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.7714, allocations: 353.9 kB / 0.6813 GB, free: 3.344 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008415/0.7722, allocations: 426.6 kB / 0.6817 GB, free: 2.926 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009161/0.7731, allocations: 0.547 MB / 0.6822 GB, free: 2.332 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009108/0.7741, allocations: 470.7 kB / 0.6827 GB, free: 1.875 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.7741, allocations: 4.75 kB / 0.6827 GB, free: 1.871 MB / 490.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01417/0.7883, allocations: 4.429 MB / 0.687 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.7883, allocations: 8 kB / 0.687 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.7884, allocations: 4 kB / 0.687 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006302/0.7947, allocations: 1.827 MB / 0.6888 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000655/0.7954, allocations: 115.8 kB / 0.6889 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01995/0.8154, allocations: 7.896 MB / 0.6966 GB, free: 3.449 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001711/0.8171, allocations: 171.2 kB / 0.6968 GB, free: 3.281 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002518/0.8174, allocations: 33.48 kB / 0.6968 GB, free: 3.25 MB / 0.4948 GB Warning: Assuming fixed start value for the following 3 variables: SPV.iq:VARIABLE(start = SPV.iqref unit = "1" ) "q-axis current" type: Real SPV.id:VARIABLE(start = SPV.idref unit = "1" ) "d-axis current" type: Real SPV.x:VARIABLE(start = SPV.Q_0 * SPV.CoB unit = "1" 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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.0005575/0.818, allocations: 133.9 kB / 0.6969 GB, free: 3.113 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01474/0.8327, allocations: 4.413 MB / 0.7013 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00067/0.8335, allocations: 114.6 kB / 0.7014 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01451/0.848, allocations: 4.458 MB / 0.7057 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-05/0.8481, allocations: 12 kB / 0.7057 GB, free: 10.08 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.8481, allocations: 4 kB / 0.7057 GB, free: 10.08 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.883e-05/0.8482, allocations: 5.297 kB / 0.7057 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01799/0.8662, allocations: 5.882 MB / 0.7115 GB, free: 4.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.277e-05/0.8662, allocations: 0 / 0.7115 GB, free: 4.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006627/0.8669, allocations: 87.91 kB / 0.7116 GB, free: 4.004 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006309/0.8732, allocations: 1.815 MB / 0.7133 GB, free: 2.184 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002758/0.8736, allocations: 4 kB / 0.7133 GB, free: 2.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01776/0.8913, allocations: 7.112 MB / 0.7203 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/0.8914, allocations: 3.984 kB / 0.7203 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01539/0.9068, allocations: 5.298 MB / 0.7255 GB, free: 5.617 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005707/0.9074, allocations: 211.5 kB / 0.7257 GB, free: 5.391 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002853/0.9077, allocations: 2.688 kB / 0.7257 GB, free: 5.391 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/0.909, allocations: 135.9 kB / 0.7258 GB, free: 5.258 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007113/0.9097, allocations: 220.4 kB / 0.726 GB, free: 5.043 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.706e-05/0.9098, allocations: 27.98 kB / 0.726 GB, free: 5.016 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008007/0.9106, allocations: 0.5086 MB / 0.7265 GB, free: 4.496 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9106, allocations: 0 / 0.7265 GB, free: 4.496 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001554/0.9122, allocations: 391.5 kB / 0.7269 GB, free: 4.113 MB / 0.5261 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 () * 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.01588/0.9281, allocations: 5.949 MB / 0.7327 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.006518/0.9347, allocations: 2.109 MB / 0.7348 GB, free: 12 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/0.9347, allocations: 0 / 0.7348 GB, free: 12 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.005318/0.9401, allocations: 1.624 MB / 0.7364 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009111/0.941, allocations: 57.16 kB / 0.7364 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003823/0.9449, allocations: 1.693 MB / 0.7381 GB, free: 8.582 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006934/0.9456, allocations: 1.088 MB / 0.7391 GB, free: 7.469 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003192/0.9459, allocations: 61.5 kB / 0.7392 GB, free: 7.406 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005022/0.9464, allocations: 407.3 kB / 0.7396 GB, free: 7.008 MB / 0.5417 GB Notification: Performance of SimCode: time 1.062e-06/0.9464, allocations: 4 kB / 0.7396 GB, free: 7.004 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3642/1.311, allocations: 29.78 MB / 0.7687 GB, free: 149 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000148/1.311, allocations: 117.7 kB / 0.7688 GB, free: 148.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.999/4.31, allocations: 0 / 0.7688 GB, free: 148.8 MB / 0.5573 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)