Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest.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.SolarPQTest,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Solar_PSAT_SolarPQTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Solar.PSAT.SolarPQTest,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Solar_PSAT_SolarPQTest",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.001271/0.001271, allocations: 174.5 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 221.4 MB / 234.6 MB, free: 14.42 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009501/0.0009499, allocations: 99.28 kB / 285.6 MB, free: 12.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.459/0.459, allocations: 78.89 MB / 415.4 MB, free: 10.24 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.043e-05/4.058e-05, allocations: 4 kB / 492.9 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3483, allocations: 69.51 MB / 0.5492 GB, free: 19.45 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1554/0.5038, allocations: 99.37 MB / 0.6463 GB, free: 104 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003327/0.5042, allocations: 75.95 kB / 0.6463 GB, free: 28 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08857/0.5928, allocations: 29.04 MB / 0.6747 GB, free: 2.766 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.5928, allocations: 0 / 0.6747 GB, free: 2.766 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.693e-05/0.5929, allocations: 16 kB / 0.6747 GB, free: 2.75 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.005198/0.5982, allocations: 1.613 MB / 0.6763 GB, free: 1.09 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.267e-05/0.5982, allocations: 15.97 kB / 0.6763 GB, free: 1.074 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003882/0.5986, allocations: 122.5 kB / 0.6764 GB, free: 0.9453 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002737/0.6014, allocations: 498 kB / 0.6769 GB, free: 468 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3282/0.9295, allocations: 0.6535 MB / 0.6775 GB, free: 105.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004673/0.9301, allocations: 358.9 kB / 0.6779 GB, free: 105.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002082/0.9303, allocations: 71.81 kB / 0.6779 GB, free: 105.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001919/0.9322, allocations: 0.9295 MB / 0.6788 GB, free: 105.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.9322, allocations: 0 / 0.6788 GB, free: 105.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.393e-05/0.9323, allocations: 29.09 kB / 0.6789 GB, free: 105.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.54e-05/0.9324, allocations: 17.41 kB / 0.6789 GB, free: 105.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001793/0.9342, allocations: 0.8669 MB / 0.6797 GB, free: 105.1 MB / 490.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.007683/0.9419, allocations: 3.76 MB / 0.6834 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00778/0.9497, allocations: 2.749 MB / 0.6861 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00107/0.9508, allocations: 0.5775 MB / 0.6866 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001295/0.9509, allocations: 23.27 kB / 0.6867 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.9509, allocations: 41.41 kB / 0.6867 GB, free: 103.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=92): time 2.906e-06/0.9509, allocations: 3.906 kB / 0.6867 GB, free: 103.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=92): time 0.01292/0.9639, allocations: 4.449 MB / 0.6911 GB, free: 103 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.964, allocations: 92.34 kB / 0.6911 GB, free: 102.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009776/0.9649, allocations: 0.7051 MB / 0.6918 GB, free: 102.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001682/0.9651, allocations: 46.44 kB / 0.6919 GB, free: 102.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000232/0.9654, allocations: 448.6 kB / 0.6923 GB, free: 102.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002874/0.9657, allocations: 333.9 kB / 0.6926 GB, free: 102.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.037e-05/0.9657, allocations: 12 kB / 0.6926 GB, free: 102.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.782e-05/0.9658, allocations: 340.2 kB / 0.693 GB, free: 101.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000666/0.9665, allocations: 441.5 kB / 0.6934 GB, free: 101.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006823/0.9672, allocations: 0.5648 MB / 0.6939 GB, free: 101.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006942/0.9679, allocations: 480.8 kB / 0.6944 GB, free: 101.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/0.9679, allocations: 3.719 kB / 0.6944 GB, free: 101.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.01274/0.9806, allocations: 4.534 MB / 0.6988 GB, free: 100.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.84e-05/0.9807, allocations: 7.906 kB / 0.6988 GB, free: 100.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.9807, allocations: 3.938 kB / 0.6988 GB, free: 100.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005552/0.9863, allocations: 1.928 MB / 0.7007 GB, free: 99.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005439/0.9868, allocations: 113.2 kB / 0.7008 GB, free: 99.85 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01631/1.003, allocations: 8.107 MB / 0.7087 GB, free: 93.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001514/1.005, allocations: 192.3 kB / 0.7089 GB, free: 93.83 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001659/1.005, allocations: 32 kB / 0.709 GB, free: 93.8 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: SPQ.iq:VARIABLE(start = SPQ.iqref unit = "1" ) "q-axis current" type: Real SPQ.id:VARIABLE(start = SPQ.idref unit = "1" ) "d-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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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.0002849/1.005, allocations: 147.7 kB / 0.7091 GB, free: 93.66 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003804/1.006, allocations: 110.6 kB / 0.7092 GB, free: 93.55 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01378/1.019, allocations: 4.519 MB / 0.7136 GB, free: 90.06 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/1.019, allocations: 12 kB / 0.7136 GB, free: 90.05 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/1.019, allocations: 3.75 kB / 0.7136 GB, free: 90.05 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.881e-05/1.019, allocations: 3.797 kB / 0.7136 GB, free: 90.05 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01483/1.034, allocations: 6.023 MB / 0.7195 GB, free: 85.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.324e-05/1.034, allocations: 4 kB / 0.7195 GB, free: 85.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005167/1.035, allocations: 83.06 kB / 0.7196 GB, free: 85.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005208/1.04, allocations: 1.823 MB / 0.7214 GB, free: 83.77 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001407/1.04, allocations: 20 kB / 0.7214 GB, free: 83.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01497/1.055, allocations: 7.271 MB / 0.7285 GB, free: 76.57 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/1.055, allocations: 0 / 0.7285 GB, free: 76.57 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01326/1.069, allocations: 5.346 MB / 0.7337 GB, free: 71.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004791/1.069, allocations: 203.5 kB / 0.7339 GB, free: 70.98 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002972/1.069, allocations: 27.33 kB / 0.7339 GB, free: 70.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/1.071, allocations: 151.8 kB / 0.7341 GB, free: 70.81 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007436/1.071, allocations: 224.4 kB / 0.7343 GB, free: 70.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.745e-05/1.072, allocations: 32 kB / 0.7343 GB, free: 70.56 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008475/1.072, allocations: 0.5508 MB / 0.7349 GB, free: 70 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.072, allocations: 0 / 0.7349 GB, free: 70 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001558/1.074, allocations: 427.3 kB / 0.7353 GB, free: 69.58 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (gENCLS.delta,gENCLS.eq,SPQ.id,SPQ.iq,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 53 * 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.01349/1.088, allocations: 6.002 MB / 0.7411 GB, free: 63.56 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005598/1.093, allocations: 2.176 MB / 0.7433 GB, free: 61.37 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/1.093, allocations: 0 / 0.7433 GB, free: 61.37 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004595/1.098, allocations: 1.654 MB / 0.7449 GB, free: 59.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008205/1.099, allocations: 67.39 kB / 0.7449 GB, free: 59.63 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003449/1.102, allocations: 1.699 MB / 0.7466 GB, free: 57.93 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004245/1.102, allocations: 1.084 MB / 0.7477 GB, free: 56.82 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003051/1.103, allocations: 61.47 kB / 0.7477 GB, free: 56.76 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004116/1.103, allocations: 391.3 kB / 0.7481 GB, free: 56.38 MB / 490.7 MB Notification: Performance of SimCode: time 1.283e-06/1.103, allocations: 4 kB / 0.7481 GB, free: 56.37 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05202/1.155, allocations: 31.59 MB / 0.7789 GB, free: 25.23 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001467/1.155, allocations: 165.2 kB / 0.7791 GB, free: 25.01 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.932/4.087, allocations: 4 kB / 0.7791 GB, free: 25.01 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Solar_PSAT_SolarPQTest_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Solar_PSAT_SolarPQTest.fmu > OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest.pipe 2>&1)