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.001059/0.001059, allocations: 108 kB / 15.61 MB, free: 152 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.379/1.379, allocations: 222.9 MB / 239.2 MB, free: 4.605 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.001875/0.001875, allocations: 184.5 kB / 289.5 MB, free: 2.336 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5158/0.5158, allocations: 91.9 MB / 431.6 MB, free: 9.262 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00236/0.00236, allocations: 75.88 kB / 0.5019 GB, free: 7.758 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3704/0.3728, allocations: 71.27 MB / 0.5715 GB, free: 36.56 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Solar.PSAT.SolarPQTest): time 0.005029/0.3779, allocations: 6.024 MB / 0.5773 GB, free: 33.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003236/0.3811, allocations: 1.806 MB / 0.5791 GB, free: 31.98 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003612/0.3815, allocations: 11.81 kB / 0.5791 GB, free: 31.98 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004169/0.382, allocations: 237.1 kB / 0.5793 GB, free: 31.85 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001011/0.383, allocations: 0.5461 MB / 0.5799 GB, free: 31.48 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001405/0.3844, allocations: 0.7726 MB / 0.5806 GB, free: 31.07 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001022/0.3855, allocations: 1.396 MB / 0.582 GB, free: 30.38 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003257/0.3858, allocations: 290.1 kB / 0.5823 GB, free: 30.26 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004419/0.3863, allocations: 0.5603 MB / 0.5828 GB, free: 29.98 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006023/0.3869, allocations: 0.7299 MB / 0.5835 GB, free: 29.63 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001364/0.387, allocations: 112.9 kB / 0.5836 GB, free: 29.62 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003478/0.3874, allocations: 222.5 kB / 0.5839 GB, free: 29.59 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.3875, allocations: 282.5 kB / 0.5841 GB, free: 29.41 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003502/0.3879, allocations: 0.6089 MB / 0.5847 GB, free: 29 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009948/0.3889, allocations: 1.468 MB / 0.5861 GB, free: 28.34 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.3889, allocations: 7.25 kB / 0.5862 GB, free: 28.33 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3889, allocations: 0 / 0.5862 GB, free: 28.33 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.527e-05/0.3889, allocations: 0 / 0.5862 GB, free: 28.33 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.007439/0.3964, allocations: 2.524 MB / 0.5886 GB, free: 27.21 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.3964, allocations: 8.594 kB / 0.5886 GB, free: 27.21 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003995/0.4004, allocations: 0.6773 MB / 0.5893 GB, free: 27.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009133/0.4014, allocations: 0.7566 MB / 0.59 GB, free: 26.54 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002935/0.4017, allocations: 351.1 kB / 0.5904 GB, free: 26.22 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/0.4018, allocations: 71.31 kB / 0.5904 GB, free: 26.2 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002053/0.4039, allocations: 1.121 MB / 0.5915 GB, free: 25.78 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.4039, allocations: 4 kB / 0.5915 GB, free: 25.77 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.91e-05/0.404, allocations: 32.81 kB / 0.5916 GB, free: 25.75 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.404, allocations: 16.94 kB / 0.5916 GB, free: 25.75 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002131/0.4062, allocations: 1.063 MB / 0.5926 GB, free: 25.4 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.005608/0.4118, allocations: 3.713 MB / 0.5962 GB, free: 23.15 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007285/0.4191, allocations: 2.505 MB / 0.5987 GB, free: 22.14 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001465/0.4206, allocations: 0.7545 MB / 0.5994 GB, free: 21.85 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001001/0.4207, allocations: 12.89 kB / 0.5994 GB, free: 21.84 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.4207, allocations: 43.94 kB / 0.5995 GB, free: 21.8 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 2.415e-06/0.4207, allocations: 4 kB / 0.5995 GB, free: 21.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.03572/0.4564, allocations: 8.102 MB / 0.6074 GB, free: 20.43 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.4565, allocations: 91.62 kB / 0.6075 GB, free: 20.32 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001347/0.4579, allocations: 0.8295 MB / 0.6083 GB, free: 19.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001437/0.458, allocations: 45.92 kB / 0.6083 GB, free: 19.92 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003033/0.4583, allocations: 441.8 kB / 0.6088 GB, free: 19.57 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003508/0.4587, allocations: 325.4 kB / 0.6091 GB, free: 19.31 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003783/0.4591, allocations: 161.6 kB / 0.6092 GB, free: 19.23 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.613e-05/0.4592, allocations: 347.7 kB / 0.6096 GB, free: 18.91 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001539/0.4607, allocations: 0.6521 MB / 0.6102 GB, free: 18.68 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001636/0.4624, allocations: 0.7948 MB / 0.611 GB, free: 18.31 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01546/0.4778, allocations: 4.515 MB / 0.6154 GB, free: 16.13 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/0.4779, allocations: 8.922 kB / 0.6154 GB, free: 16.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.01422/0.4921, allocations: 4.337 MB / 0.6196 GB, free: 12.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.4922, allocations: 10.19 kB / 0.6196 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.4922, allocations: 4 kB / 0.6196 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006395/0.4986, allocations: 2.084 MB / 0.6217 GB, free: 10.63 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006647/0.4993, allocations: 139.8 kB / 0.6218 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02531/0.5246, allocations: 10.62 MB / 0.6322 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001748/0.5264, allocations: 155.1 kB / 0.6323 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001672/0.5266, allocations: 43.92 kB / 0.6324 GB, free: 15.52 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.0005325/0.5271, allocations: 234.7 kB / 0.6326 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003045/0.5274, allocations: 110.6 kB / 0.6327 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01524/0.5427, allocations: 4.317 MB / 0.6369 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.481e-05/0.5427, allocations: 8 kB / 0.6369 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.5427, allocations: 0 / 0.6369 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.638e-05/0.5427, allocations: 7.984 kB / 0.6369 GB, free: 10.83 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01709/0.5598, allocations: 5.729 MB / 0.6425 GB, free: 4.984 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.434e-05/0.5599, allocations: 7.938 kB / 0.6425 GB, free: 4.977 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005166/0.5604, allocations: 87.91 kB / 0.6426 GB, free: 4.891 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007155/0.5676, allocations: 1.975 MB / 0.6445 GB, free: 2.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002712/0.5679, allocations: 27.92 kB / 0.6446 GB, free: 2.883 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02509/0.593, allocations: 9.421 MB / 0.6538 GB, free: 9.309 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.5931, allocations: 0 / 0.6538 GB, free: 9.309 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.017/0.6101, allocations: 5.266 MB / 0.6589 GB, free: 4.02 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004679/0.6106, allocations: 203.6 kB / 0.6591 GB, free: 3.801 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003161/0.6109, allocations: 16 kB / 0.6591 GB, free: 3.785 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001305/0.6122, allocations: 107.9 kB / 0.6592 GB, free: 3.68 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007007/0.6129, allocations: 228.5 kB / 0.6594 GB, free: 3.453 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.735e-05/0.613, allocations: 20 kB / 0.6595 GB, free: 3.434 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008066/0.6139, allocations: 0.5778 MB / 0.66 GB, free: 2.844 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6139, allocations: 0 / 0.66 GB, free: 2.844 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001415/0.6153, allocations: 427.6 kB / 0.6604 GB, free: 2.426 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.0002366/0.6155, allocations: 123.2 kB / 0.6605 GB, free: 2.293 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008167/0.6237, allocations: 2.487 MB / 0.663 GB, free: 15.79 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.6237, allocations: 0 / 0.663 GB, free: 15.79 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005998/0.6298, allocations: 1.691 MB / 0.6646 GB, free: 14.09 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/0.631, allocations: 103.2 kB / 0.6647 GB, free: 13.99 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004427/0.6355, allocations: 2.032 MB / 0.6667 GB, free: 11.93 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006615/0.6361, allocations: 1.057 MB / 0.6677 GB, free: 10.85 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003712/0.6365, allocations: 82.45 kB / 0.6678 GB, free: 10.77 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002153/0.6367, allocations: 59.42 kB / 0.6679 GB, free: 10.71 MB / 478.1 MB Notification: Performance of SimCode: time 1.002e-06/0.6368, allocations: 0 / 0.6679 GB, free: 10.71 MB / 478.1 MB Notification: Performance of Templates: time 0.04252/0.6793, allocations: 26.89 MB / 0.6941 GB, free: 15.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)