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.0008556/0.0008556, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.349/1.349, allocations: 223.3 MB / 239.4 MB, free: 5.52 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.001053/0.001053, allocations: 180.5 kB / 290.6 MB, free: 2.188 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5829/0.5829, allocations: 91.92 MB / 433.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003601/0.0003601, allocations: 8 kB / 0.5047 GB, free: 7.309 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3871/0.3875, allocations: 72.47 MB / 0.5755 GB, free: 36.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Solar.PSAT.SolarPQTest): time 0.004881/0.3924, allocations: 5.939 MB / 0.5813 GB, free: 32.78 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003898/0.3964, allocations: 1.836 MB / 0.5831 GB, free: 31.46 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000832/0.3972, allocations: 11.91 kB / 0.5831 GB, free: 31.46 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005843/0.3978, allocations: 183.1 kB / 0.5833 GB, free: 31.4 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001455/0.3993, allocations: 496.7 kB / 0.5838 GB, free: 31.07 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001559/0.4009, allocations: 0.7173 MB / 0.5845 GB, free: 30.67 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001888/0.4028, allocations: 1.344 MB / 0.5858 GB, free: 30.02 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004957/0.4033, allocations: 247.8 kB / 0.586 GB, free: 29.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008481/0.4041, allocations: 0.5047 MB / 0.5865 GB, free: 29.68 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007838/0.4049, allocations: 0.665 MB / 0.5872 GB, free: 29.38 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001357/0.4051, allocations: 60.84 kB / 0.5872 GB, free: 29.38 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005062/0.4056, allocations: 168.3 kB / 0.5874 GB, free: 29.34 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002143/0.4058, allocations: 236.4 kB / 0.5876 GB, free: 29.2 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004922/0.4063, allocations: 0.5707 MB / 0.5882 GB, free: 28.82 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001447/0.4078, allocations: 1.398 MB / 0.5895 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.4078, allocations: 11.56 kB / 0.5895 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.4078, allocations: 0 / 0.5895 GB, free: 28.29 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.508e-05/0.4078, allocations: 0 / 0.5895 GB, free: 28.29 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.008254/0.4161, allocations: 2.362 MB / 0.5918 GB, free: 27.31 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/0.4162, allocations: 10.31 kB / 0.5919 GB, free: 27.31 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004516/0.4207, allocations: 0.6812 MB / 0.5925 GB, free: 27.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001486/0.4222, allocations: 0.7506 MB / 0.5933 GB, free: 26.65 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004526/0.4227, allocations: 360.7 kB / 0.5936 GB, free: 26.33 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002331/0.4229, allocations: 71.84 kB / 0.5937 GB, free: 26.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002811/0.4257, allocations: 1.208 MB / 0.5949 GB, free: 25.87 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/0.4258, allocations: 0 / 0.5949 GB, free: 25.87 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-05/0.4259, allocations: 26.94 kB / 0.5949 GB, free: 25.85 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.11e-05/0.4259, allocations: 16.81 kB / 0.5949 GB, free: 25.85 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002567/0.4285, allocations: 1.156 MB / 0.596 GB, free: 25.48 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.007448/0.436, allocations: 3.798 MB / 0.5997 GB, free: 23.23 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008882/0.4449, allocations: 3.072 MB / 0.6027 GB, free: 22.15 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001916/0.4468, allocations: 0.8404 MB / 0.6036 GB, free: 21.84 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/0.4469, allocations: 17.36 kB / 0.6036 GB, free: 21.84 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.447, allocations: 49.06 kB / 0.6036 GB, free: 21.79 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 2.845e-06/0.447, allocations: 0 / 0.6036 GB, free: 21.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.03998/0.487, allocations: 9.991 MB / 0.6134 GB, free: 20.2 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.487, allocations: 87.95 kB / 0.6135 GB, free: 20.1 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001438/0.4885, allocations: 0.834 MB / 0.6143 GB, free: 19.74 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002849/0.4888, allocations: 41.64 kB / 0.6143 GB, free: 19.7 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003461/0.4891, allocations: 450.4 kB / 0.6147 GB, free: 19.34 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004185/0.4896, allocations: 324.7 kB / 0.615 GB, free: 19.08 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001731/0.4897, allocations: 84.59 kB / 0.6151 GB, free: 19.04 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.4899, allocations: 346.8 kB / 0.6155 GB, free: 18.71 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00173/0.4916, allocations: 0.7293 MB / 0.6162 GB, free: 18.48 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001734/0.4933, allocations: 0.881 MB / 0.617 GB, free: 18 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01598/0.5093, allocations: 5.053 MB / 0.622 GB, free: 13.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.5094, allocations: 3.938 kB / 0.622 GB, free: 13.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.01538/0.5248, allocations: 5.355 MB / 0.6272 GB, free: 8.203 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.89e-05/0.5248, allocations: 12.03 kB / 0.6272 GB, free: 8.191 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.5249, allocations: 7.984 kB / 0.6272 GB, free: 8.184 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007048/0.5319, allocations: 2.436 MB / 0.6296 GB, free: 5.742 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007537/0.5327, allocations: 139.8 kB / 0.6297 GB, free: 5.605 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02709/0.5598, allocations: 11.08 MB / 0.6406 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001802/0.5616, allocations: 203.1 kB / 0.6407 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.5617, allocations: 32 kB / 0.6408 GB, free: 10.15 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.0005316/0.5623, allocations: 248.2 kB / 0.641 GB, free: 9.898 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000228/0.5625, allocations: 106.7 kB / 0.6411 GB, free: 9.793 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01657/0.5791, allocations: 5.329 MB / 0.6463 GB, free: 4.445 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.698e-05/0.5792, allocations: 15.94 kB / 0.6463 GB, free: 4.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.5792, allocations: 0 / 0.6463 GB, free: 4.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.66e-05/0.5792, allocations: 3.984 kB / 0.6463 GB, free: 4.426 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01875/0.5979, allocations: 6.752 MB / 0.6529 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/0.598, allocations: 0 / 0.6529 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005362/0.5985, allocations: 95.81 kB / 0.653 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00764/0.6062, allocations: 2.335 MB / 0.6553 GB, free: 11.12 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001648/0.6064, allocations: 20 kB / 0.6553 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0252/0.6316, allocations: 9.731 MB / 0.6648 GB, free: 1.23 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.6316, allocations: 0 / 0.6648 GB, free: 1.23 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01993/0.6516, allocations: 6.368 MB / 0.671 GB, free: 10.84 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005912/0.6522, allocations: 207.5 kB / 0.6712 GB, free: 10.62 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001902/0.6524, allocations: 16 kB / 0.6713 GB, free: 10.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001411/0.6538, allocations: 151.8 kB / 0.6714 GB, free: 10.45 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001001/0.6548, allocations: 216.6 kB / 0.6716 GB, free: 10.24 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-05/0.6549, allocations: 24 kB / 0.6716 GB, free: 10.21 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0009139/0.6558, allocations: 0.57 MB / 0.6722 GB, free: 9.633 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6559, allocations: 4 kB / 0.6722 GB, free: 9.629 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001501/0.6574, allocations: 427.6 kB / 0.6726 GB, free: 9.211 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.0002403/0.6576, allocations: 119.7 kB / 0.6727 GB, free: 9.082 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009799/0.6674, allocations: 2.786 MB / 0.6754 GB, free: 6.289 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/0.6675, allocations: 4 kB / 0.6754 GB, free: 6.285 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008293/0.6758, allocations: 1.939 MB / 0.6773 GB, free: 4.324 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001493/0.6773, allocations: 91.33 kB / 0.6774 GB, free: 4.234 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005699/0.683, allocations: 2.496 MB / 0.6799 GB, free: 1.715 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008098/0.6838, allocations: 1.054 MB / 0.6809 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005527/0.6844, allocations: 78.45 kB / 0.681 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001992/0.6846, allocations: 63.42 kB / 0.681 GB, free: 500 kB / 478.1 MB Notification: Performance of SimCode: time 6.81e-07/0.6846, allocations: 0 / 0.681 GB, free: 500 kB / 478.1 MB Notification: Performance of Templates: time 0.04063/0.7253, allocations: 23.7 MB / 0.7042 GB, free: 8.781 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)