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.001316/0.001316, 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.43/1.43, allocations: 222.9 MB / 239.3 MB, free: 4.625 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.00168/0.00168, allocations: 188.5 kB / 289.5 MB, free: 2.359 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5263/0.5263, allocations: 92.61 MB / 432.3 MB, free: 8.629 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002237/0.002237, allocations: 79.86 kB / 0.5027 GB, free: 6.949 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.3762, allocations: 71.4 MB / 0.5724 GB, free: 36.54 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Solar.PSAT.SolarPQTest): time 0.005945/0.3822, allocations: 6.014 MB / 0.5783 GB, free: 32.91 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00368/0.386, allocations: 1.813 MB / 0.5801 GB, free: 31.62 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009102/0.3869, allocations: 10.19 kB / 0.5801 GB, free: 31.62 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006521/0.3876, allocations: 241.8 kB / 0.5803 GB, free: 31.5 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001502/0.3891, allocations: 0.5453 MB / 0.5808 GB, free: 31.13 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001677/0.3908, allocations: 0.7748 MB / 0.5816 GB, free: 30.71 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001644/0.3925, allocations: 1.394 MB / 0.5829 GB, free: 30.02 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004223/0.3929, allocations: 291.1 kB / 0.5832 GB, free: 29.9 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006533/0.3936, allocations: 0.5712 MB / 0.5838 GB, free: 29.61 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007065/0.3943, allocations: 0.7293 MB / 0.5845 GB, free: 29.26 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001688/0.3945, allocations: 108.6 kB / 0.5846 GB, free: 29.26 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004825/0.395, allocations: 224.4 kB / 0.5848 GB, free: 29.22 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001904/0.3952, allocations: 281.7 kB / 0.5851 GB, free: 29.04 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004098/0.3956, allocations: 0.6055 MB / 0.5857 GB, free: 28.64 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001271/0.3969, allocations: 1.475 MB / 0.5871 GB, free: 27.97 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3969, allocations: 0 / 0.5871 GB, free: 27.97 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3969, allocations: 0 / 0.5871 GB, free: 27.97 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.846e-05/0.3969, allocations: 4 kB / 0.5871 GB, free: 27.96 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.008803/0.4057, allocations: 2.526 MB / 0.5896 GB, free: 26.85 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.4058, allocations: 8.562 kB / 0.5896 GB, free: 26.85 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004282/0.4101, allocations: 0.6746 MB / 0.5903 GB, free: 26.71 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/0.4114, allocations: 0.7524 MB / 0.591 GB, free: 26.18 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003934/0.4118, allocations: 345.6 kB / 0.5913 GB, free: 25.87 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001595/0.412, allocations: 75.66 kB / 0.5914 GB, free: 25.84 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002401/0.4144, allocations: 1.124 MB / 0.5925 GB, free: 25.41 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.589e-05/0.4145, allocations: 1.406 kB / 0.5925 GB, free: 25.41 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.554e-05/0.4146, allocations: 25.94 kB / 0.5925 GB, free: 25.39 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.833e-05/0.4146, allocations: 17.53 kB / 0.5925 GB, free: 25.39 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002437/0.417, allocations: 1.069 MB / 0.5936 GB, free: 25.04 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.007222/0.4243, allocations: 3.706 MB / 0.5972 GB, free: 22.79 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008217/0.4325, allocations: 2.509 MB / 0.5996 GB, free: 21.78 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001902/0.4345, allocations: 0.7657 MB / 0.6004 GB, free: 21.48 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001188/0.4346, allocations: 12.17 kB / 0.6004 GB, free: 21.48 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.4346, allocations: 44.59 kB / 0.6004 GB, free: 21.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 4.128e-06/0.4346, allocations: 0 / 0.6004 GB, free: 21.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.03638/0.471, allocations: 8.098 MB / 0.6084 GB, free: 20.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.633e-05/0.4711, allocations: 95.03 kB / 0.6084 GB, free: 19.96 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/0.4725, allocations: 0.8354 MB / 0.6093 GB, free: 19.52 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002701/0.4728, allocations: 40.42 kB / 0.6093 GB, free: 19.48 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002597/0.473, allocations: 445.8 kB / 0.6097 GB, free: 19.09 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003173/0.4734, allocations: 327.4 kB / 0.61 GB, free: 18.8 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003335/0.4737, allocations: 159.2 kB / 0.6102 GB, free: 18.71 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.125e-05/0.4738, allocations: 342.5 kB / 0.6105 GB, free: 18.38 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001511/0.4753, allocations: 0.6549 MB / 0.6112 GB, free: 18.05 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001571/0.4769, allocations: 0.7993 MB / 0.6119 GB, free: 17.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01599/0.4929, allocations: 4.519 MB / 0.6163 GB, free: 15.32 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.734e-06/0.4929, allocations: 5.125 kB / 0.6164 GB, free: 15.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.01436/0.5073, allocations: 4.335 MB / 0.6206 GB, free: 11.88 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.794e-05/0.5074, allocations: 4 kB / 0.6206 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.127e-05/0.5075, allocations: 4 kB / 0.6206 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006716/0.5142, allocations: 2.088 MB / 0.6226 GB, free: 9.777 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007593/0.515, allocations: 135.8 kB / 0.6228 GB, free: 9.645 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0256/0.5406, allocations: 10.63 MB / 0.6331 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001795/0.5424, allocations: 159.1 kB / 0.6333 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/0.5425, allocations: 35.98 kB / 0.6333 GB, free: 14.67 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.0005259/0.5431, allocations: 234.7 kB / 0.6335 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002618/0.5433, allocations: 106.7 kB / 0.6336 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01601/0.5594, allocations: 4.317 MB / 0.6379 GB, free: 9.996 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.677e-05/0.5595, allocations: 19.94 kB / 0.6379 GB, free: 9.977 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.5595, allocations: 0 / 0.6379 GB, free: 9.977 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.07e-05/0.5595, allocations: 7.969 kB / 0.6379 GB, free: 9.969 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01843/0.5779, allocations: 5.721 MB / 0.6435 GB, free: 4.133 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.662e-05/0.578, allocations: 7.938 kB / 0.6435 GB, free: 4.125 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000571/0.5786, allocations: 87.89 kB / 0.6436 GB, free: 4.039 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007446/0.5861, allocations: 1.979 MB / 0.6455 GB, free: 2.055 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000189/0.5863, allocations: 23.92 kB / 0.6455 GB, free: 2.031 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02596/0.6122, allocations: 9.425 MB / 0.6547 GB, free: 8.453 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.6123, allocations: 0 / 0.6547 GB, free: 8.453 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01777/0.63, allocations: 5.266 MB / 0.6599 GB, free: 3.164 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005083/0.6306, allocations: 203.6 kB / 0.6601 GB, free: 2.945 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002029/0.6308, allocations: 16 kB / 0.6601 GB, free: 2.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001184/0.632, allocations: 103.9 kB / 0.6602 GB, free: 2.828 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007577/0.6328, allocations: 232.7 kB / 0.6604 GB, free: 2.598 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.577e-05/0.6329, allocations: 20 kB / 0.6604 GB, free: 2.578 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008321/0.6337, allocations: 0.5739 MB / 0.661 GB, free: 1.992 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6337, allocations: 0 / 0.661 GB, free: 1.992 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001394/0.6351, allocations: 423.6 kB / 0.6614 GB, free: 1.578 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.0002515/0.6354, allocations: 130.1 kB / 0.6615 GB, free: 1.441 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008337/0.6437, allocations: 2.483 MB / 0.6639 GB, free: 14.94 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.6438, allocations: 0 / 0.6639 GB, free: 14.94 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006115/0.6499, allocations: 1.695 MB / 0.6656 GB, free: 13.23 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.6509, allocations: 99.27 kB / 0.6657 GB, free: 13.14 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004264/0.6552, allocations: 2.033 MB / 0.6677 GB, free: 11.08 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007005/0.6559, allocations: 1.053 MB / 0.6687 GB, free: 10 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003354/0.6563, allocations: 86.28 kB / 0.6688 GB, free: 9.914 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/0.6565, allocations: 63.42 kB / 0.6688 GB, free: 9.852 MB / 478.1 MB Notification: Performance of SimCode: time 8.31e-07/0.6565, allocations: 0 / 0.6688 GB, free: 9.852 MB / 478.1 MB Notification: Performance of Templates: time 0.04518/0.7017, allocations: 26.89 MB / 0.6951 GB, free: 14.96 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)