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/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: translateModel(OpenIPSL.Tests.Solar.PSAT.SolarPQTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest") translateModel(OpenIPSL.Tests.Solar.PSAT.SolarPQTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 92.08 kB / 16.02 MB, free: 80 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.348/1.348, allocations: 223.3 MB / 240 MB, free: 5.512 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.0009648/0.0009648, allocations: 175.6 kB / 291.3 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5193/0.5193, allocations: 91.93 MB / 434.3 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004157/0.0004157, allocations: 19.98 kB / 0.5054 GB, free: 7.246 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.3741, allocations: 72.47 MB / 0.5762 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Solar.PSAT.SolarPQTest): time 0.004526/0.3787, allocations: 5.95 MB / 0.582 GB, free: 32.75 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003392/0.3821, allocations: 1.823 MB / 0.5838 GB, free: 31.46 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007387/0.3829, allocations: 13.66 kB / 0.5838 GB, free: 31.46 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000515/0.3835, allocations: 188.2 kB / 0.584 GB, free: 31.38 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001336/0.3848, allocations: 493.6 kB / 0.5844 GB, free: 31.05 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001389/0.3862, allocations: 0.7133 MB / 0.5851 GB, free: 30.66 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001372/0.3876, allocations: 1.336 MB / 0.5864 GB, free: 30.01 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003677/0.388, allocations: 250.2 kB / 0.5867 GB, free: 29.9 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006548/0.3886, allocations: 0.5061 MB / 0.5872 GB, free: 29.67 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006229/0.3893, allocations: 0.6689 MB / 0.5878 GB, free: 29.37 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001359/0.3894, allocations: 58.88 kB / 0.5879 GB, free: 29.37 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003852/0.3898, allocations: 168.5 kB / 0.588 GB, free: 29.33 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001605/0.39, allocations: 236.5 kB / 0.5883 GB, free: 29.19 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003964/0.3904, allocations: 0.5749 MB / 0.5888 GB, free: 28.81 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008458/0.3912, allocations: 1.097 MB / 0.5899 GB, free: 28.47 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3912, allocations: 0 / 0.5899 GB, free: 28.47 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3912, allocations: 0 / 0.5899 GB, free: 28.47 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.965e-05/0.3913, allocations: 2.625 kB / 0.5899 GB, free: 28.47 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.007724/0.399, allocations: 2.364 MB / 0.5922 GB, free: 27.49 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.3991, allocations: 9.219 kB / 0.5922 GB, free: 27.49 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004318/0.4034, allocations: 0.6817 MB / 0.5929 GB, free: 27.36 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001396/0.4048, allocations: 0.7568 MB / 0.5936 GB, free: 26.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003425/0.4052, allocations: 355.2 kB / 0.594 GB, free: 26.51 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001651/0.4053, allocations: 70.31 kB / 0.594 GB, free: 26.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002481/0.4078, allocations: 1.212 MB / 0.5952 GB, free: 26.05 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.4079, allocations: 0 / 0.5952 GB, free: 26.05 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.434e-05/0.408, allocations: 29.69 kB / 0.5952 GB, free: 26.02 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.257e-05/0.408, allocations: 17.19 kB / 0.5953 GB, free: 26.02 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002399/0.4104, allocations: 1.154 MB / 0.5964 GB, free: 25.66 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.006792/0.4172, allocations: 3.802 MB / 0.6001 GB, free: 23.4 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008567/0.4258, allocations: 3.076 MB / 0.6031 GB, free: 22.32 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001975/0.4278, allocations: 0.8383 MB / 0.6039 GB, free: 22.02 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001167/0.4279, allocations: 15.84 kB / 0.6039 GB, free: 22.01 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.428, allocations: 44.41 kB / 0.604 GB, free: 21.96 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 3.056e-06/0.428, allocations: 1.219 kB / 0.604 GB, free: 21.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.03969/0.4677, allocations: 9.995 MB / 0.6137 GB, free: 20.37 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.4678, allocations: 87.17 kB / 0.6138 GB, free: 20.27 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001763/0.4696, allocations: 0.8347 MB / 0.6146 GB, free: 19.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002847/0.4699, allocations: 40.64 kB / 0.6147 GB, free: 19.87 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003404/0.4702, allocations: 445.5 kB / 0.6151 GB, free: 19.52 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005014/0.4707, allocations: 326.2 kB / 0.6154 GB, free: 19.26 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002471/0.471, allocations: 87.98 kB / 0.6155 GB, free: 19.21 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.765e-05/0.4711, allocations: 346.8 kB / 0.6158 GB, free: 18.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001906/0.473, allocations: 0.7292 MB / 0.6165 GB, free: 18.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001914/0.4749, allocations: 0.8844 MB / 0.6174 GB, free: 18.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01645/0.4914, allocations: 5.052 MB / 0.6223 GB, free: 13.82 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.344e-05/0.4914, allocations: 7.938 kB / 0.6223 GB, free: 13.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.01581/0.5073, allocations: 5.359 MB / 0.6276 GB, free: 8.445 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/0.5073, allocations: 4 kB / 0.6276 GB, free: 8.441 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.5074, allocations: 4 kB / 0.6276 GB, free: 8.438 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007082/0.5144, allocations: 2.436 MB / 0.63 GB, free: 5.996 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007135/0.5152, allocations: 131.8 kB / 0.6301 GB, free: 5.867 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02827/0.5435, allocations: 11.08 MB / 0.6409 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001951/0.5455, allocations: 203.1 kB / 0.6411 GB, free: 10.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002393/0.5457, allocations: 35.98 kB / 0.6411 GB, free: 10.4 MB / 446.1 MB Warning: Assuming fixed start value for the following 2 variables: SPQ.id:VARIABLE(start = SPQ.idref unit = "1" fixed = true ) "d-axis current" type: Real SPQ.iq:VARIABLE(start = SPQ.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 (83): * Single equations (assignments): 82 * 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.0007637/0.5465, allocations: 241.6 kB / 0.6414 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004247/0.5469, allocations: 106.7 kB / 0.6415 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01752/0.5645, allocations: 5.341 MB / 0.6467 GB, free: 4.695 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.19e-05/0.5645, allocations: 8 kB / 0.6467 GB, free: 4.688 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.5646, allocations: 0 / 0.6467 GB, free: 4.688 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.029e-05/0.5646, allocations: 3.984 kB / 0.6467 GB, free: 4.684 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0207/0.5853, allocations: 6.756 MB / 0.6533 GB, free: 13.81 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.831e-05/0.5854, allocations: 0 / 0.6533 GB, free: 13.81 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006066/0.586, allocations: 83.91 kB / 0.6534 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007993/0.594, allocations: 2.335 MB / 0.6557 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002565/0.5943, allocations: 19.94 kB / 0.6557 GB, free: 11.37 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02641/0.6207, allocations: 9.735 MB / 0.6652 GB, free: 1.492 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.6208, allocations: 4 kB / 0.6652 GB, free: 1.488 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01916/0.6399, allocations: 6.36 MB / 0.6714 GB, free: 11.11 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005412/0.6405, allocations: 215.5 kB / 0.6716 GB, free: 10.88 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003699/0.6409, allocations: 16 kB / 0.6716 GB, free: 10.86 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001437/0.6424, allocations: 147.8 kB / 0.6718 GB, free: 10.71 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007787/0.6432, allocations: 216.6 kB / 0.672 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/0.6433, allocations: 23.94 kB / 0.672 GB, free: 10.48 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0008894/0.6442, allocations: 0.5778 MB / 0.6726 GB, free: 9.887 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6442, allocations: 0 / 0.6726 GB, free: 9.887 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001708/0.6459, allocations: 427.6 kB / 0.673 GB, free: 9.469 MB / 478.1 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 () * Number of clocked 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 (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.0002694/0.6462, allocations: 119.7 kB / 0.6731 GB, free: 9.34 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008682/0.6549, allocations: 2.786 MB / 0.6758 GB, free: 6.547 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/0.6549, allocations: 0 / 0.6758 GB, free: 6.547 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00667/0.6616, allocations: 1.927 MB / 0.6777 GB, free: 4.598 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001444/0.6631, allocations: 97.97 kB / 0.6778 GB, free: 4.504 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004544/0.6677, allocations: 2.531 MB / 0.6802 GB, free: 1.945 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006818/0.6684, allocations: 1.058 MB / 0.6813 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003339/0.6687, allocations: 59.42 kB / 0.6813 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of SimCode: time 1.082e-06/0.6687, allocations: 0 / 0.6813 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of Templates: time 0.02878/0.6975, allocations: 18.98 MB / 0.6999 GB, free: 13.8 MB / 0.4981 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest.makefile (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 & ./OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest.pipe 2>&1)