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.001563/0.001563, allocations: 108 kB / 15.61 MB, free: 152 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.565/1.565, allocations: 222.9 MB / 239.3 MB, free: 4.617 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.001687/0.001687, allocations: 192.5 kB / 289.6 MB, free: 2.328 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6889/0.6889, allocations: 91.91 MB / 431.6 MB, free: 9.277 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 79.86 kB / 0.502 GB, free: 7.668 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5271/0.529, allocations: 71.27 MB / 0.5716 GB, free: 36.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Solar.PSAT.SolarPVTest): time 0.007087/0.5362, allocations: 6.051 MB / 0.5775 GB, free: 33.12 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003308/0.5395, allocations: 1.827 MB / 0.5793 GB, free: 32.02 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004147/0.5399, allocations: 8.438 kB / 0.5793 GB, free: 32.02 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005778/0.5405, allocations: 233.6 kB / 0.5795 GB, free: 31.89 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001439/0.542, allocations: 0.5649 MB / 0.58 GB, free: 31.51 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001727/0.5438, allocations: 0.767 MB / 0.5808 GB, free: 31.1 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001796/0.5456, allocations: 1.413 MB / 0.5822 GB, free: 30.4 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004855/0.5461, allocations: 280.5 kB / 0.5824 GB, free: 30.29 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007335/0.5468, allocations: 0.5719 MB / 0.583 GB, free: 30.01 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000874/0.5477, allocations: 0.7353 MB / 0.5837 GB, free: 29.65 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001945/0.5479, allocations: 113.3 kB / 0.5838 GB, free: 29.65 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005442/0.5484, allocations: 223 kB / 0.584 GB, free: 29.62 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002809/0.5487, allocations: 288.3 kB / 0.5843 GB, free: 29.43 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005692/0.5493, allocations: 0.6072 MB / 0.5849 GB, free: 29.03 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001615/0.5509, allocations: 1.493 MB / 0.5864 GB, free: 28.35 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.551, allocations: 0 / 0.5864 GB, free: 28.35 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.551, allocations: 0 / 0.5864 GB, free: 28.35 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.046e-05/0.551, allocations: 0 / 0.5864 GB, free: 28.35 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.008499/0.5595, allocations: 2.537 MB / 0.5888 GB, free: 27.23 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.5595, allocations: 8.531 kB / 0.5889 GB, free: 27.23 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001487/0.5597, allocations: 126.4 kB / 0.589 GB, free: 27.14 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004101/0.5638, allocations: 0.6802 MB / 0.5896 GB, free: 27 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001171/0.565, allocations: 0.7543 MB / 0.5904 GB, free: 26.47 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003456/0.5653, allocations: 343.9 kB / 0.5907 GB, free: 26.15 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001586/0.5655, allocations: 79.19 kB / 0.5908 GB, free: 26.12 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002416/0.5679, allocations: 1.134 MB / 0.5919 GB, free: 25.7 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/0.568, allocations: 3.938 kB / 0.5919 GB, free: 25.69 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/0.5681, allocations: 30.12 kB / 0.5919 GB, free: 25.67 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.771e-05/0.5681, allocations: 20.06 kB / 0.5919 GB, free: 25.67 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00254/0.5707, allocations: 1.072 MB / 0.593 GB, free: 25.31 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.006552/0.5772, allocations: 3.732 MB / 0.5966 GB, free: 23.05 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008108/0.5853, allocations: 2.512 MB / 0.5991 GB, free: 22.04 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001846/0.5872, allocations: 0.7667 MB / 0.5998 GB, free: 21.74 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001241/0.5874, allocations: 16.34 kB / 0.5998 GB, free: 21.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.5874, allocations: 43.38 kB / 0.5999 GB, free: 21.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 4.258e-06/0.5874, allocations: 1.281 kB / 0.5999 GB, free: 21.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.03725/0.6247, allocations: 7.992 MB / 0.6077 GB, free: 20.34 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.59e-05/0.6248, allocations: 90.92 kB / 0.6078 GB, free: 20.23 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001906/0.6267, allocations: 0.838 MB / 0.6086 GB, free: 19.87 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002162/0.627, allocations: 45.02 kB / 0.6086 GB, free: 19.82 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004254/0.6274, allocations: 446.9 kB / 0.6091 GB, free: 19.47 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004656/0.6279, allocations: 330.4 kB / 0.6094 GB, free: 19.21 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004418/0.6283, allocations: 167.4 kB / 0.6095 GB, free: 19.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.6284, allocations: 343.4 kB / 0.6099 GB, free: 18.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001872/0.6303, allocations: 0.6605 MB / 0.6105 GB, free: 18.58 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001943/0.6323, allocations: 0.8083 MB / 0.6113 GB, free: 18.18 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0171/0.6494, allocations: 4.563 MB / 0.6158 GB, free: 15.91 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/0.6494, allocations: 1.094 kB / 0.6158 GB, free: 15.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.01511/0.6646, allocations: 4.361 MB / 0.62 GB, free: 12.42 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.269e-05/0.6646, allocations: 7.984 kB / 0.62 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.819e-05/0.6647, allocations: 4 kB / 0.62 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00672/0.6714, allocations: 2.076 MB / 0.6221 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007919/0.6722, allocations: 143.8 kB / 0.6222 GB, free: 10.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02644/0.6987, allocations: 10.63 MB / 0.6326 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002053/0.7007, allocations: 159.2 kB / 0.6327 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002555/0.701, allocations: 35.98 kB / 0.6328 GB, free: 15.21 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.0009467/0.702, allocations: 247.5 kB / 0.633 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006246/0.7026, allocations: 110.6 kB / 0.6331 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0159/0.7185, allocations: 4.278 MB / 0.6373 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.738e-05/0.7186, allocations: 8 kB / 0.6373 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.7186, allocations: 4 kB / 0.6373 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.852e-05/0.7186, allocations: 3.984 kB / 0.6373 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01955/0.7382, allocations: 5.768 MB / 0.6429 GB, free: 4.656 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.505e-05/0.7383, allocations: 0 / 0.6429 GB, free: 4.656 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006332/0.7389, allocations: 91.84 kB / 0.643 GB, free: 4.566 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007725/0.7467, allocations: 1.979 MB / 0.645 GB, free: 2.582 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001469/0.7468, allocations: 27.86 kB / 0.645 GB, free: 2.555 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02765/0.7745, allocations: 9.417 MB / 0.6542 GB, free: 8.988 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.7746, allocations: 0 / 0.6542 GB, free: 8.988 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01744/0.792, allocations: 5.328 MB / 0.6594 GB, free: 3.633 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007108/0.7928, allocations: 207.6 kB / 0.6596 GB, free: 3.41 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000376/0.7932, allocations: 16 kB / 0.6596 GB, free: 3.395 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001303/0.7945, allocations: 99.88 kB / 0.6597 GB, free: 3.297 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007017/0.7952, allocations: 228.7 kB / 0.6599 GB, free: 3.074 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001208/0.7953, allocations: 24 kB / 0.6599 GB, free: 3.051 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001159/0.7965, allocations: 0.5741 MB / 0.6605 GB, free: 2.465 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.435e-06/0.7965, allocations: 0 / 0.6605 GB, free: 2.465 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002322/0.7988, allocations: 439.5 kB / 0.6609 GB, free: 2.035 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.01833/0.8172, allocations: 5.893 MB / 0.6667 GB, free: 12.1 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008862/0.8261, allocations: 2.505 MB / 0.6691 GB, free: 9.586 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/0.8261, allocations: 8.25 kB / 0.6691 GB, free: 9.578 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006109/0.8322, allocations: 1.707 MB / 0.6708 GB, free: 7.859 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.8334, allocations: 87.44 kB / 0.6709 GB, free: 7.773 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04891/0.8823, allocations: 16.1 MB / 0.6866 GB, free: 7.285 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/0.8834, allocations: 1.061 MB / 0.6876 GB, free: 6.199 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000469/0.8839, allocations: 86.47 kB / 0.6877 GB, free: 6.109 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007969/0.8847, allocations: 411.3 kB / 0.6881 GB, free: 5.707 MB / 494.1 MB Notification: Performance of SimCode: time 1.823e-06/0.8847, allocations: 0 / 0.6881 GB, free: 5.707 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1494/1.034, allocations: 35.99 MB / 0.7232 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.43/14.46, allocations: 8.797 kB / 0.7233 GB, free: 1.793 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 & /home/hudson/saved_omc/OMSimulator/install/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)