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.005847/0.005847, allocations: 102 kB / 15.73 MB, free: 6.438 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.29/1.29, allocations: 222.9 MB / 239.4 MB, free: 4.523 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.001822/0.001822, allocations: 176.5 kB / 289.7 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4965/0.4965, allocations: 91.9 MB / 431.8 MB, free: 9.145 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002497/0.002497, allocations: 78.53 kB / 0.5722 GB, free: 33.63 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1807, allocations: 71.28 MB / 0.6419 GB, free: 4.102 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Solar.PSAT.SolarPVTest): time 0.01032/0.191, allocations: 6.063 MB / 0.6478 GB, free: 14.01 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005365/0.1964, allocations: 1.809 MB / 0.6495 GB, free: 12.19 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001297/0.1978, allocations: 12 kB / 0.6495 GB, free: 12.18 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001078/0.1989, allocations: 238.1 kB / 0.6498 GB, free: 11.95 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00267/0.2016, allocations: 0.6082 MB / 0.6504 GB, free: 11.34 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002771/0.2044, allocations: 0.7745 MB / 0.6511 GB, free: 10.57 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002691/0.2071, allocations: 1.42 MB / 0.6525 GB, free: 9.141 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007135/0.2078, allocations: 286.2 kB / 0.6528 GB, free: 8.852 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001121/0.209, allocations: 0.5719 MB / 0.6533 GB, free: 8.277 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001499/0.2105, allocations: 0.7351 MB / 0.6541 GB, free: 7.539 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000436/0.211, allocations: 112 kB / 0.6542 GB, free: 7.43 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008211/0.2118, allocations: 227.9 kB / 0.6544 GB, free: 7.207 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004302/0.2122, allocations: 290.8 kB / 0.6547 GB, free: 6.922 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000971/0.2132, allocations: 0.6059 MB / 0.6553 GB, free: 6.312 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002532/0.2158, allocations: 1.503 MB / 0.6567 GB, free: 4.805 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.2158, allocations: 4 kB / 0.6567 GB, free: 4.801 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2158, allocations: 0 / 0.6567 GB, free: 4.801 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.471e-05/0.2159, allocations: 0 / 0.6567 GB, free: 4.801 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: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.01304/0.2289, allocations: 2.536 MB / 0.6592 GB, free: 2.211 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.915e-05/0.229, allocations: 12.03 kB / 0.6592 GB, free: 2.199 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002278/0.2292, allocations: 122.5 kB / 0.6593 GB, free: 2.07 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008879/0.2381, allocations: 0.6774 MB / 0.66 GB, free: 1.391 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002099/0.2403, allocations: 0.7556 MB / 0.6607 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000593/0.2409, allocations: 349.3 kB / 0.6611 GB, free: 200 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002624/0.2412, allocations: 75.91 kB / 0.6611 GB, free: 124 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003995/0.2452, allocations: 1.129 MB / 0.6622 GB, free: 14.98 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.747e-05/0.2453, allocations: 4 kB / 0.6622 GB, free: 14.98 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000143/0.2454, allocations: 28 kB / 0.6623 GB, free: 14.95 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.722e-05/0.2455, allocations: 20 kB / 0.6623 GB, free: 14.93 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004202/0.2497, allocations: 1.07 MB / 0.6633 GB, free: 13.86 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.01165/0.2613, allocations: 3.719 MB / 0.667 GB, free: 9.93 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01039/0.2718, allocations: 2.5 MB / 0.6694 GB, free: 7.301 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002601/0.2744, allocations: 0.7665 MB / 0.6702 GB, free: 6.527 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001889/0.2746, allocations: 16.98 kB / 0.6702 GB, free: 6.512 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.28e-05/0.2747, allocations: 47.55 kB / 0.6702 GB, free: 6.457 MB / 478.1 MB Notification: Performance of pre-optimization done (n=94): time 4.208e-06/0.2747, allocations: 0 / 0.6702 GB, free: 6.457 MB / 478.1 MB Notification: Performance of matching and sorting (n=94): time 0.04274/0.3175, allocations: 7.99 MB / 0.678 GB, free: 14.43 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.221e-05/0.3176, allocations: 90.11 kB / 0.6781 GB, free: 14.32 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001412/0.319, allocations: 0.843 MB / 0.6789 GB, free: 13.46 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000218/0.3192, allocations: 41.7 kB / 0.679 GB, free: 13.41 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003335/0.3196, allocations: 440.6 kB / 0.6794 GB, free: 12.97 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004457/0.32, allocations: 335.2 kB / 0.6797 GB, free: 12.64 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004479/0.3205, allocations: 162.6 kB / 0.6799 GB, free: 12.48 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.3206, allocations: 349.9 kB / 0.6802 GB, free: 12.13 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001438/0.3221, allocations: 0.6617 MB / 0.6808 GB, free: 11.46 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001536/0.3236, allocations: 0.8042 MB / 0.6816 GB, free: 10.61 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01509/0.3387, allocations: 4.554 MB / 0.6861 GB, free: 6.016 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/0.3388, allocations: 0 / 0.6861 GB, free: 6.016 MB / 494.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.01441/0.3532, allocations: 4.359 MB / 0.6903 GB, free: 1.641 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.57e-05/0.3532, allocations: 9.25 kB / 0.6903 GB, free: 1.633 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.3533, allocations: 4 kB / 0.6903 GB, free: 1.629 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006558/0.3598, allocations: 2.08 MB / 0.6924 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007371/0.3606, allocations: 143.8 kB / 0.6925 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02584/0.3864, allocations: 10.62 MB / 0.7029 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/0.3879, allocations: 163 kB / 0.703 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002081/0.3882, allocations: 36 kB / 0.7031 GB, free: 4.438 MB / 0.4981 GB 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.0006282/0.3888, allocations: 238.5 kB / 0.7033 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003264/0.3892, allocations: 106.7 kB / 0.7034 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01309/0.4022, allocations: 4.278 MB / 0.7076 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.729e-05/0.4023, allocations: 12 kB / 0.7076 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.4023, allocations: 0 / 0.7076 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.141e-05/0.4023, allocations: 3.984 kB / 0.7076 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01518/0.4175, allocations: 5.772 MB / 0.7132 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/0.4176, allocations: 7.938 kB / 0.7132 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004757/0.4181, allocations: 87.89 kB / 0.7133 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00608/0.4241, allocations: 1.979 MB / 0.7153 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000143/0.4243, allocations: 23.94 kB / 0.7153 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0222/0.4465, allocations: 9.391 MB / 0.7244 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.4466, allocations: 0 / 0.7244 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01493/0.4615, allocations: 5.33 MB / 0.7297 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003764/0.4619, allocations: 203.7 kB / 0.7298 GB, free: 8.676 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002379/0.4622, allocations: 20 kB / 0.7299 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/0.4633, allocations: 107.9 kB / 0.73 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007288/0.4641, allocations: 224.6 kB / 0.7302 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/0.4642, allocations: 28 kB / 0.7302 GB, free: 8.301 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008297/0.465, allocations: 0.578 MB / 0.7308 GB, free: 7.711 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.465, allocations: 0 / 0.7308 GB, free: 7.711 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001389/0.4664, allocations: 431.6 kB / 0.7312 GB, free: 7.289 MB / 0.5294 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 () * 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.01509/0.4815, allocations: 5.901 MB / 0.7369 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007017/0.4886, allocations: 2.475 MB / 0.7394 GB, free: 14.86 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.4886, allocations: 0 / 0.7394 GB, free: 14.86 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005132/0.4937, allocations: 1.711 MB / 0.741 GB, free: 13.14 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.4948, allocations: 95.38 kB / 0.7411 GB, free: 13.04 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03842/0.5332, allocations: 15.61 MB / 0.7564 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006234/0.5339, allocations: 1.057 MB / 0.7574 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003411/0.5343, allocations: 82.48 kB / 0.7575 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000531/0.5348, allocations: 415.3 kB / 0.7579 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of SimCode: time 7.61e-07/0.5348, allocations: 0 / 0.7579 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3501/0.8849, allocations: 36.37 MB / 0.7934 GB, free: 110.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.55/16.44, allocations: 7.844 kB / 0.7934 GB, free: 110.2 MB / 0.5606 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)