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.0009361/0.0009361, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.42/1.42, allocations: 223.2 MB / 239 MB, free: 5.449 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.001103/0.001103, allocations: 180.5 kB / 290.3 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4999/0.4999, allocations: 79.48 MB / 420.8 MB, free: 3.922 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004173/0.0004174, allocations: 8 kB / 0.4892 GB, free: 5.445 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4306/0.431, allocations: 69.5 MB / 0.5571 GB, free: 37.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Solar.PSAT.SolarPVTest): time 0.005199/0.4363, allocations: 5.585 MB / 0.5625 GB, free: 37.2 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003976/0.4403, allocations: 1.763 MB / 0.5643 GB, free: 36.86 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007627/0.4411, allocations: 15.28 kB / 0.5643 GB, free: 36.86 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005291/0.4416, allocations: 169.7 kB / 0.5644 GB, free: 36.79 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001342/0.443, allocations: 483.9 kB / 0.5649 GB, free: 36.57 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001434/0.4444, allocations: 0.6411 MB / 0.5655 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001387/0.4458, allocations: 1.284 MB / 0.5668 GB, free: 36.13 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003441/0.4461, allocations: 225.5 kB / 0.567 GB, free: 36.09 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005424/0.4467, allocations: 499.4 kB / 0.5675 GB, free: 35.96 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006999/0.4474, allocations: 0.6541 MB / 0.5681 GB, free: 35.79 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001144/0.4475, allocations: 58.88 kB / 0.5682 GB, free: 35.79 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004191/0.448, allocations: 166.7 kB / 0.5683 GB, free: 35.78 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002531/0.4482, allocations: 231.9 kB / 0.5686 GB, free: 35.71 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002194/0.4484, allocations: 215.3 kB / 0.5688 GB, free: 35.64 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009079/0.4494, allocations: 1.113 MB / 0.5698 GB, free: 35.45 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.4494, allocations: 0 / 0.5698 GB, free: 35.45 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4494, allocations: 0 / 0.5698 GB, free: 35.45 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.429e-05/0.4494, allocations: 5.156 kB / 0.5698 GB, free: 35.45 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.006752/0.4562, allocations: 2.394 MB / 0.5722 GB, free: 34.63 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.4562, allocations: 12.22 kB / 0.5722 GB, free: 34.63 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002256/0.4564, allocations: 124.6 kB / 0.5723 GB, free: 34.59 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003924/0.4604, allocations: 0.6776 MB / 0.573 GB, free: 34.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001381/0.4618, allocations: 0.7233 MB / 0.5737 GB, free: 34.17 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000302/0.4621, allocations: 357.4 kB / 0.574 GB, free: 33.86 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.4622, allocations: 70.53 kB / 0.5741 GB, free: 33.84 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002148/0.4644, allocations: 1.212 MB / 0.5753 GB, free: 33.41 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.4644, allocations: 4.5 kB / 0.5753 GB, free: 33.4 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.351e-05/0.4645, allocations: 29.7 kB / 0.5753 GB, free: 33.38 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/0.4645, allocations: 17.69 kB / 0.5753 GB, free: 33.38 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002083/0.4666, allocations: 1.153 MB / 0.5765 GB, free: 33.02 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.005683/0.4723, allocations: 3.823 MB / 0.5802 GB, free: 30.75 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006456/0.4788, allocations: 3.067 MB / 0.5832 GB, free: 29.68 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001659/0.4805, allocations: 0.8383 MB / 0.584 GB, free: 29.37 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001358/0.4806, allocations: 19.36 kB / 0.584 GB, free: 29.37 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.4807, allocations: 47.66 kB / 0.5841 GB, free: 29.32 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 3.216e-06/0.4807, allocations: 0 / 0.5841 GB, free: 29.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.03156/0.5122, allocations: 9.809 MB / 0.5936 GB, free: 27.77 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.5123, allocations: 92.3 kB / 0.5937 GB, free: 27.67 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/0.5137, allocations: 0.829 MB / 0.5945 GB, free: 27.3 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002291/0.514, allocations: 42.83 kB / 0.5946 GB, free: 27.26 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002891/0.5143, allocations: 450.1 kB / 0.595 GB, free: 26.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000339/0.5146, allocations: 335.1 kB / 0.5953 GB, free: 26.64 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.377e-05/0.5147, allocations: 18.88 kB / 0.5953 GB, free: 26.62 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.797e-05/0.5148, allocations: 343.4 kB / 0.5957 GB, free: 26.3 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001524/0.5163, allocations: 0.7366 MB / 0.5964 GB, free: 26.07 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001625/0.5179, allocations: 0.8815 MB / 0.5973 GB, free: 25.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001592/0.5195, allocations: 0.7822 MB / 0.598 GB, free: 25.38 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.5196, allocations: 1.594 kB / 0.598 GB, free: 25.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.01573/0.5353, allocations: 5.37 MB / 0.6033 GB, free: 24.29 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.626e-05/0.5354, allocations: 7.656 kB / 0.6033 GB, free: 24.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.5354, allocations: 3.188 kB / 0.6033 GB, free: 24.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007424/0.5428, allocations: 2.433 MB / 0.6057 GB, free: 23.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000758/0.5436, allocations: 139.1 kB / 0.6058 GB, free: 23.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02517/0.5688, allocations: 11.07 MB / 0.6166 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001616/0.5705, allocations: 203.1 kB / 0.6168 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002283/0.5707, allocations: 36 kB / 0.6168 GB, free: 15.29 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.0006765/0.5714, allocations: 238.7 kB / 0.6171 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003914/0.5718, allocations: 116.5 kB / 0.6172 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01275/0.5846, allocations: 5.294 MB / 0.6223 GB, free: 9.633 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-05/0.5846, allocations: 12 kB / 0.6223 GB, free: 9.621 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.5846, allocations: 0 / 0.6223 GB, free: 9.621 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.275e-05/0.5847, allocations: 7.984 kB / 0.6224 GB, free: 9.613 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01541/0.6001, allocations: 6.784 MB / 0.629 GB, free: 2.719 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.917e-05/0.6002, allocations: 0 / 0.629 GB, free: 2.719 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005559/0.6007, allocations: 87.91 kB / 0.6291 GB, free: 2.633 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006152/0.6069, allocations: 2.336 MB / 0.6313 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002468/0.6072, allocations: 19.98 kB / 0.6314 GB, free: 280 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02341/0.6306, allocations: 9.71 MB / 0.6408 GB, free: 6.418 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.6307, allocations: 4 kB / 0.6408 GB, free: 6.414 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01657/0.6472, allocations: 6.411 MB / 0.6471 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004936/0.6478, allocations: 203.5 kB / 0.6473 GB, free: 15.76 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003927/0.6482, allocations: 20 kB / 0.6473 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001305/0.6495, allocations: 147.9 kB / 0.6475 GB, free: 15.6 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008153/0.6503, allocations: 224.5 kB / 0.6477 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001521/0.6505, allocations: 33.17 kB / 0.6477 GB, free: 15.34 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009093/0.6514, allocations: 0.5663 MB / 0.6483 GB, free: 14.77 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6514, allocations: 0 / 0.6483 GB, free: 14.77 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00199/0.6534, allocations: 436.8 kB / 0.6487 GB, free: 14.34 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.0167/0.6702, allocations: 6.984 MB / 0.6555 GB, free: 7.316 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007799/0.678, allocations: 2.8 MB / 0.6582 GB, free: 4.508 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.6781, allocations: 0 / 0.6582 GB, free: 4.508 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005567/0.6836, allocations: 1.938 MB / 0.6601 GB, free: 2.562 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001438/0.6851, allocations: 96.42 kB / 0.6602 GB, free: 2.469 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02622/0.7114, allocations: 11.6 MB / 0.6715 GB, free: 6.621 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007314/0.7121, allocations: 1.057 MB / 0.6726 GB, free: 5.539 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004648/0.7126, allocations: 85.2 kB / 0.6727 GB, free: 5.453 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006208/0.7133, allocations: 408.8 kB / 0.673 GB, free: 5.055 MB / 478.1 MB Notification: Performance of SimCode: time 6.12e-07/0.7133, allocations: 4 kB / 0.673 GB, free: 5.051 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06058/0.7739, allocations: 32.29 MB / 0.7046 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001796/0.7741, allocations: 196.7 kB / 0.7048 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.672/3.447, allocations: 4 kB / 0.7048 GB, free: 4.836 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: