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.001106/0.001106, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.313/1.313, allocations: 222.9 MB / 239 MB, free: 4.734 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.001198/0.001198, allocations: 196.4 kB / 289.3 MB, free: 2.469 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5067/0.5067, allocations: 91.9 MB / 431.3 MB, free: 9.434 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 71.89 kB / 0.5014 GB, free: 8.098 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.361, allocations: 71.27 MB / 0.571 GB, free: 36.55 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Solar.PSAT.SolarPQTest): time 0.005102/0.3661, allocations: 6.39 MB / 0.5772 GB, free: 32.77 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002855/0.369, allocations: 1.85 MB / 0.579 GB, free: 31.7 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004313/0.3695, allocations: 11.41 kB / 0.579 GB, free: 31.7 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004801/0.37, allocations: 184.5 kB / 0.5792 GB, free: 31.62 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001034/0.371, allocations: 0.4924 MB / 0.5797 GB, free: 31.29 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.3723, allocations: 0.709 MB / 0.5804 GB, free: 30.9 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001226/0.3736, allocations: 1.389 MB / 0.5817 GB, free: 30.21 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003361/0.3739, allocations: 291.2 kB / 0.582 GB, free: 30.09 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004661/0.3744, allocations: 0.5641 MB / 0.5826 GB, free: 29.8 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005745/0.375, allocations: 0.7335 MB / 0.5833 GB, free: 29.45 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001388/0.3751, allocations: 109.1 kB / 0.5834 GB, free: 29.45 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003695/0.3755, allocations: 222.2 kB / 0.5836 GB, free: 29.41 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001569/0.3757, allocations: 284.6 kB / 0.5839 GB, free: 29.23 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000355/0.376, allocations: 0.6114 MB / 0.5845 GB, free: 28.82 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001072/0.3771, allocations: 1.477 MB / 0.5859 GB, free: 28.15 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3771, allocations: 0 / 0.5859 GB, free: 28.15 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3771, allocations: 0 / 0.5859 GB, free: 28.15 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.616e-05/0.3772, allocations: 0 / 0.5859 GB, free: 28.15 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.00758/0.3848, allocations: 2.524 MB / 0.5884 GB, free: 27.04 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.3848, allocations: 13.12 kB / 0.5884 GB, free: 27.03 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004072/0.3889, allocations: 0.6769 MB / 0.5891 GB, free: 26.89 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000974/0.3899, allocations: 0.7604 MB / 0.5898 GB, free: 26.36 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002916/0.3902, allocations: 340.7 kB / 0.5901 GB, free: 26.04 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/0.3903, allocations: 70.91 kB / 0.5902 GB, free: 26.02 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002146/0.3925, allocations: 1.132 MB / 0.5913 GB, free: 25.59 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/0.3925, allocations: 0 / 0.5913 GB, free: 25.59 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.441e-05/0.3926, allocations: 30.25 kB / 0.5913 GB, free: 25.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.336e-05/0.3927, allocations: 20.16 kB / 0.5913 GB, free: 25.56 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00213/0.3948, allocations: 1.058 MB / 0.5924 GB, free: 25.21 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.005808/0.4006, allocations: 3.713 MB / 0.596 GB, free: 22.96 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007533/0.4082, allocations: 2.503 MB / 0.5984 GB, free: 21.96 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00166/0.4098, allocations: 0.7547 MB / 0.5992 GB, free: 21.67 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001354/0.41, allocations: 19.41 kB / 0.5992 GB, free: 21.66 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.41, allocations: 49.94 kB / 0.5992 GB, free: 21.61 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 2.935e-06/0.41, allocations: 0 / 0.5992 GB, free: 21.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.03395/0.444, allocations: 8.093 MB / 0.6071 GB, free: 20.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.4441, allocations: 87.86 kB / 0.6072 GB, free: 20.15 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/0.4453, allocations: 0.8334 MB / 0.608 GB, free: 19.79 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001887/0.4455, allocations: 41.39 kB / 0.6081 GB, free: 19.74 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002354/0.4457, allocations: 451.2 kB / 0.6085 GB, free: 19.39 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002903/0.446, allocations: 324.8 kB / 0.6088 GB, free: 19.13 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003435/0.4464, allocations: 165.8 kB / 0.609 GB, free: 19.04 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.653e-05/0.4464, allocations: 342.4 kB / 0.6093 GB, free: 18.72 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001443/0.4479, allocations: 0.6487 MB / 0.6099 GB, free: 18.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001532/0.4494, allocations: 0.7946 MB / 0.6107 GB, free: 18.13 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01484/0.4643, allocations: 4.516 MB / 0.6151 GB, free: 16.14 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.4643, allocations: 5.094 kB / 0.6151 GB, free: 16.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.01371/0.478, allocations: 4.339 MB / 0.6194 GB, free: 12.66 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.4781, allocations: 4 kB / 0.6194 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.4781, allocations: 7.984 kB / 0.6194 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006205/0.4843, allocations: 2.088 MB / 0.6214 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007517/0.4851, allocations: 143.8 kB / 0.6216 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02382/0.5089, allocations: 10.62 MB / 0.6319 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001544/0.5105, allocations: 159.1 kB / 0.6321 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.627e-05/0.5106, allocations: 32 kB / 0.6321 GB, free: 15.45 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.0004462/0.5111, allocations: 237.6 kB / 0.6323 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002122/0.5113, allocations: 106.7 kB / 0.6324 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01442/0.5257, allocations: 4.321 MB / 0.6367 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.5257, allocations: 12 kB / 0.6367 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.5258, allocations: 0 / 0.6367 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.528e-05/0.5258, allocations: 3.984 kB / 0.6367 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01627/0.5421, allocations: 5.729 MB / 0.6423 GB, free: 4.906 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/0.5421, allocations: 0 / 0.6423 GB, free: 4.906 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005039/0.5426, allocations: 87.89 kB / 0.6424 GB, free: 4.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006708/0.5493, allocations: 1.987 MB / 0.6443 GB, free: 2.828 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001369/0.5495, allocations: 19.94 kB / 0.6443 GB, free: 2.809 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03281/0.5823, allocations: 9.414 MB / 0.6535 GB, free: 9.238 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.5823, allocations: 4 kB / 0.6535 GB, free: 9.234 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0258/0.6081, allocations: 5.274 MB / 0.6587 GB, free: 3.938 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005432/0.6087, allocations: 207.6 kB / 0.6589 GB, free: 3.715 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002049/0.609, allocations: 20 kB / 0.6589 GB, free: 3.695 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001681/0.6106, allocations: 103.9 kB / 0.659 GB, free: 3.594 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001027/0.6117, allocations: 220.7 kB / 0.6592 GB, free: 3.375 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/0.6118, allocations: 27.92 kB / 0.6592 GB, free: 3.348 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001098/0.6129, allocations: 0.5739 MB / 0.6598 GB, free: 2.762 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6129, allocations: 0 / 0.6598 GB, free: 2.762 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002203/0.6151, allocations: 423.6 kB / 0.6602 GB, free: 2.348 MB / 462.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.000304/0.6155, allocations: 127.8 kB / 0.6603 GB, free: 2.211 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01246/0.6279, allocations: 2.495 MB / 0.6627 GB, free: 15.71 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.628, allocations: 0 / 0.6627 GB, free: 15.71 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008383/0.6364, allocations: 1.69 MB / 0.6644 GB, free: 14 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/0.6379, allocations: 103.2 kB / 0.6645 GB, free: 13.9 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00586/0.6437, allocations: 2.408 MB / 0.6668 GB, free: 11.47 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008055/0.6446, allocations: 1.053 MB / 0.6679 GB, free: 10.39 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004952/0.6451, allocations: 82.44 kB / 0.6679 GB, free: 10.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002934/0.6454, allocations: 63.42 kB / 0.668 GB, free: 10.24 MB / 478.1 MB Notification: Performance of SimCode: time 6.92e-07/0.6454, allocations: 0 / 0.668 GB, free: 10.24 MB / 478.1 MB Notification: Performance of Templates: time 0.05945/0.7048, allocations: 25.68 MB / 0.6931 GB, free: 0.5625 MB / 494.1 MB 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)