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.006335/0.006335, allocations: 101.6 kB / 15.88 MB, free: 5.871 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.342/1.342, allocations: 222.9 MB / 239.5 MB, free: 4.812 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.001345/0.001345, allocations: 192.5 kB / 289.8 MB, free: 2.543 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5192/0.5192, allocations: 91.89 MB / 431.8 MB, free: 9.512 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 76.09 kB / 0.5018 GB, free: 8.258 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.3573, allocations: 71.27 MB / 0.5714 GB, free: 36.46 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Solar.PSAT.SolarPQTest): time 0.005142/0.3624, allocations: 6.391 MB / 0.5777 GB, free: 32.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0031/0.3656, allocations: 1.845 MB / 0.5795 GB, free: 31.66 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005462/0.3662, allocations: 11 kB / 0.5795 GB, free: 31.66 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005179/0.3667, allocations: 190.7 kB / 0.5797 GB, free: 31.58 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001098/0.3678, allocations: 0.4956 MB / 0.5802 GB, free: 31.24 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001347/0.3692, allocations: 0.7223 MB / 0.5809 GB, free: 30.84 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001119/0.3703, allocations: 1.341 MB / 0.5822 GB, free: 30.19 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003163/0.3706, allocations: 250.4 kB / 0.5824 GB, free: 30.07 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005614/0.3712, allocations: 0.5186 MB / 0.5829 GB, free: 29.83 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006084/0.3718, allocations: 0.6996 MB / 0.5836 GB, free: 29.51 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001371/0.372, allocations: 69.81 kB / 0.5837 GB, free: 29.51 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000389/0.3724, allocations: 172.6 kB / 0.5838 GB, free: 29.48 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001668/0.3725, allocations: 254.3 kB / 0.5841 GB, free: 29.32 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003765/0.3729, allocations: 0.5589 MB / 0.5846 GB, free: 28.97 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007809/0.3737, allocations: 1.127 MB / 0.5857 GB, free: 28.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3737, allocations: 3.938 kB / 0.5857 GB, free: 28.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3737, allocations: 4 kB / 0.5857 GB, free: 28.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.416e-05/0.3738, allocations: 0 / 0.5857 GB, free: 28.52 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.008005/0.3818, allocations: 2.528 MB / 0.5882 GB, free: 27.4 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/0.3818, allocations: 12.59 kB / 0.5882 GB, free: 27.4 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00425/0.3861, allocations: 0.6723 MB / 0.5889 GB, free: 27.26 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001197/0.3873, allocations: 0.7615 MB / 0.5896 GB, free: 26.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002981/0.3876, allocations: 342.8 kB / 0.5899 GB, free: 26.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001477/0.3878, allocations: 71.34 kB / 0.59 GB, free: 26.39 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00228/0.3901, allocations: 1.122 MB / 0.5911 GB, free: 25.96 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.3901, allocations: 1.062 kB / 0.5911 GB, free: 25.96 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.974e-05/0.3902, allocations: 25.84 kB / 0.5911 GB, free: 25.95 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/0.3902, allocations: 21.09 kB / 0.5912 GB, free: 25.94 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002176/0.3924, allocations: 1.068 MB / 0.5922 GB, free: 25.59 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.006142/0.3986, allocations: 3.712 MB / 0.5958 GB, free: 23.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007129/0.4057, allocations: 2.506 MB / 0.5983 GB, free: 22.33 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001812/0.4076, allocations: 0.7542 MB / 0.599 GB, free: 22.04 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001376/0.4077, allocations: 17.02 kB / 0.599 GB, free: 22.03 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.4078, allocations: 44.31 kB / 0.5991 GB, free: 21.98 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 2.685e-06/0.4078, allocations: 0 / 0.5991 GB, free: 21.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.03396/0.4417, allocations: 8.097 MB / 0.607 GB, free: 20.61 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.4418, allocations: 87.67 kB / 0.6071 GB, free: 20.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/0.4431, allocations: 0.8331 MB / 0.6079 GB, free: 20.16 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002572/0.4434, allocations: 41.95 kB / 0.6079 GB, free: 20.11 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002868/0.4437, allocations: 449.9 kB / 0.6083 GB, free: 19.76 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003498/0.4441, allocations: 321.7 kB / 0.6086 GB, free: 19.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000365/0.4444, allocations: 165.9 kB / 0.6088 GB, free: 19.42 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.635e-05/0.4445, allocations: 342.7 kB / 0.6091 GB, free: 19.1 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001523/0.446, allocations: 0.6568 MB / 0.6098 GB, free: 18.87 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001595/0.4477, allocations: 0.7939 MB / 0.6105 GB, free: 18.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01538/0.463, allocations: 4.502 MB / 0.6149 GB, free: 16.62 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/0.4631, allocations: 5.219 kB / 0.6149 GB, free: 16.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.01367/0.4768, allocations: 4.345 MB / 0.6192 GB, free: 13.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.174e-05/0.4768, allocations: 10.19 kB / 0.6192 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.4769, allocations: 0 / 0.6192 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006199/0.4831, allocations: 2.08 MB / 0.6212 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007221/0.4838, allocations: 139.8 kB / 0.6214 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02242/0.5063, allocations: 9.779 MB / 0.6309 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/0.5079, allocations: 159.2 kB / 0.6311 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/0.508, allocations: 32 kB / 0.6311 GB, free: 1.074 MB / 430.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.0004491/0.5085, allocations: 245.5 kB / 0.6313 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002206/0.5087, allocations: 106.7 kB / 0.6314 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01417/0.5229, allocations: 4.317 MB / 0.6356 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-05/0.5229, allocations: 8 kB / 0.6357 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.523, allocations: 0 / 0.6357 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.351e-05/0.523, allocations: 3.984 kB / 0.6357 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0166/0.5396, allocations: 5.729 MB / 0.6413 GB, free: 6.523 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.721e-05/0.5396, allocations: 0 / 0.6413 GB, free: 6.523 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000556/0.5402, allocations: 91.83 kB / 0.6413 GB, free: 6.434 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006813/0.547, allocations: 1.979 MB / 0.6433 GB, free: 4.449 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001854/0.5473, allocations: 16 kB / 0.6433 GB, free: 4.434 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02267/0.5699, allocations: 8.598 MB / 0.6517 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.88e-06/0.57, allocations: 3.984 kB / 0.6517 GB, free: 11.69 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01646/0.5865, allocations: 5.266 MB / 0.6568 GB, free: 6.398 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005265/0.587, allocations: 203.5 kB / 0.657 GB, free: 6.18 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002351/0.5873, allocations: 16 kB / 0.657 GB, free: 6.164 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001251/0.5885, allocations: 111.8 kB / 0.6571 GB, free: 6.055 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007825/0.5893, allocations: 216.6 kB / 0.6574 GB, free: 5.844 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.128e-05/0.5894, allocations: 24 kB / 0.6574 GB, free: 5.82 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008017/0.5902, allocations: 0.57 MB / 0.6579 GB, free: 5.238 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5902, allocations: 3.938 kB / 0.6579 GB, free: 5.234 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001474/0.5917, allocations: 431.6 kB / 0.6584 GB, free: 4.812 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.0002542/0.592, allocations: 119.7 kB / 0.6585 GB, free: 4.684 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007374/0.5994, allocations: 2.415 MB / 0.6608 GB, free: 2.258 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/0.5994, allocations: 0 / 0.6608 GB, free: 2.258 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005556/0.605, allocations: 1.657 MB / 0.6624 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/0.6062, allocations: 95.33 kB / 0.6625 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004596/0.6108, allocations: 2.443 MB / 0.6649 GB, free: 14.02 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000753/0.6116, allocations: 1.054 MB / 0.6659 GB, free: 12.94 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003334/0.6119, allocations: 63.42 kB / 0.666 GB, free: 12.88 MB / 478.1 MB Notification: Performance of SimCode: time 8.01e-07/0.6119, allocations: 3.938 kB / 0.666 GB, free: 12.87 MB / 478.1 MB Notification: Performance of Templates: time 0.02622/0.6381, allocations: 19.08 MB / 0.6846 GB, free: 9.766 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)