Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPVTest.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Solar.PSAT.SolarPVTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPVTest") translateModel(OpenIPSL.Tests.Solar.PSAT.SolarPVTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPVTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 222.9 MB / 239.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000984/0.0009839, allocations: 110.3 kB / 289.9 MB, free: 10.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4295/0.4295, allocations: 78.49 MB / 418.5 MB, free: 8.785 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 67.89 kB / 497.4 MB, free: 10.72 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.2717, allocations: 68.12 MB / 0.5523 GB, free: 20.26 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Solar.PSAT.SolarPVTest): time 0.004802/0.2766, allocations: 6.412 MB / 0.5586 GB, free: 13.81 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002919/0.2795, allocations: 1.86 MB / 0.5604 GB, free: 11.95 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003757/0.2799, allocations: 12 kB / 0.5604 GB, free: 11.94 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003916/0.2803, allocations: 186.8 kB / 0.5606 GB, free: 11.75 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001263/0.2816, allocations: 0.6955 MB / 0.5612 GB, free: 11.06 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009073/0.2825, allocations: 0.5547 MB / 0.5618 GB, free: 10.51 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009826/0.2835, allocations: 1.502 MB / 0.5632 GB, free: 9.004 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000276/0.2838, allocations: 247.8 kB / 0.5635 GB, free: 8.75 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003579/0.2842, allocations: 0.5288 MB / 0.564 GB, free: 8.219 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004987/0.2847, allocations: 0.7039 MB / 0.5647 GB, free: 7.512 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001123/0.2848, allocations: 72 kB / 0.5648 GB, free: 7.441 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003067/0.2851, allocations: 199.9 kB / 0.5649 GB, free: 7.246 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001457/0.2853, allocations: 250.8 kB / 0.5652 GB, free: 7 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003159/0.2856, allocations: 0.5708 MB / 0.5657 GB, free: 6.426 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007882/0.2864, allocations: 1.462 MB / 0.5672 GB, free: 4.961 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2864, allocations: 0 / 0.5672 GB, free: 4.961 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.2864, allocations: 0 / 0.5672 GB, free: 4.961 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.2864, allocations: 0 / 0.5672 GB, free: 4.961 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.007308/0.2937, allocations: 2.555 MB / 0.5697 GB, free: 2.352 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.2938, allocations: 12.03 kB / 0.5697 GB, free: 2.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003756/0.2975, allocations: 0.6813 MB / 0.5703 GB, free: 1.656 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008319/0.2984, allocations: 0.7555 MB / 0.5711 GB, free: 0.8594 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002529/0.2986, allocations: 345.2 kB / 0.5714 GB, free: 476 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.2988, allocations: 79.89 kB / 0.5715 GB, free: 396 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002125/0.3009, allocations: 1.129 MB / 0.5726 GB, free: 15.25 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.3009, allocations: 3.938 kB / 0.5726 GB, free: 15.24 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.016e-05/0.301, allocations: 35.98 kB / 0.5726 GB, free: 15.21 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.3011, allocations: 20 kB / 0.5726 GB, free: 15.19 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002302/0.3034, allocations: 1.07 MB / 0.5737 GB, free: 14.12 MB / 394.7 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.006341/0.3097, allocations: 3.738 MB / 0.5773 GB, free: 10.17 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007477/0.3172, allocations: 2.51 MB / 0.5798 GB, free: 7.535 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001576/0.3188, allocations: 0.7581 MB / 0.5805 GB, free: 6.766 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001232/0.3189, allocations: 16.97 kB / 0.5806 GB, free: 6.75 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.319, allocations: 43.56 kB / 0.5806 GB, free: 6.699 MB / 394.7 MB Notification: Performance of pre-optimization done (n=94): time 2.605e-06/0.319, allocations: 4 kB / 0.5806 GB, free: 6.695 MB / 394.7 MB Notification: Performance of matching and sorting (n=94): time 0.0333/0.3523, allocations: 7.994 MB / 0.5884 GB, free: 14.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.3524, allocations: 86.11 kB / 0.5885 GB, free: 14.56 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/0.3536, allocations: 0.843 MB / 0.5893 GB, free: 13.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001125/0.3537, allocations: 45.7 kB / 0.5894 GB, free: 13.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003185/0.354, allocations: 452.5 kB / 0.5898 GB, free: 13.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003318/0.3544, allocations: 327.2 kB / 0.5901 GB, free: 12.87 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000363/0.3547, allocations: 166.5 kB / 0.5903 GB, free: 12.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.3549, allocations: 341.9 kB / 0.5906 GB, free: 12.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001587/0.3565, allocations: 0.6578 MB / 0.5912 GB, free: 11.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001657/0.3581, allocations: 0.8079 MB / 0.592 GB, free: 10.85 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01619/0.3743, allocations: 4.547 MB / 0.5965 GB, free: 6.258 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/0.3744, allocations: 7.938 kB / 0.5965 GB, free: 6.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.01527/0.3897, allocations: 4.355 MB / 0.6007 GB, free: 1.875 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.3897, allocations: 4.312 kB / 0.6007 GB, free: 1.871 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.3897, allocations: 8 kB / 0.6007 GB, free: 1.863 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00712/0.3969, allocations: 2.073 MB / 0.6027 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000704/0.3976, allocations: 143.8 kB / 0.6029 GB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02645/0.424, allocations: 9.791 MB / 0.6124 GB, free: 5.719 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/0.4255, allocations: 159.2 kB / 0.6126 GB, free: 5.562 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000139/0.4257, allocations: 32 kB / 0.6126 GB, free: 5.531 MB / 426.7 MB Warning: Assuming fixed start value for the following 3 variables: SPV.x:VARIABLE(start = SPV.Q_0 * SPV.CoB unit = "1" fixed = true protected = true ) type: Real SPV.id:VARIABLE(start = SPV.idref unit = "1" fixed = true ) "d-axis current" type: Real SPV.iq:VARIABLE(start = SPV.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 (86): * Single equations (assignments): 85 * 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.0004625/0.4262, allocations: 249.5 kB / 0.6129 GB, free: 5.277 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002682/0.4264, allocations: 114.6 kB / 0.613 GB, free: 5.164 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01506/0.4415, allocations: 4.274 MB / 0.6172 GB, free: 0.875 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.4416, allocations: 15.94 kB / 0.6172 GB, free: 0.8594 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.4416, allocations: 0 / 0.6172 GB, free: 0.8594 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.489e-05/0.4416, allocations: 7.984 kB / 0.6172 GB, free: 0.8516 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01695/0.4585, allocations: 5.764 MB / 0.6228 GB, free: 10.97 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.261e-06/0.4586, allocations: 3.938 kB / 0.6228 GB, free: 10.97 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004859/0.4591, allocations: 91.84 kB / 0.6229 GB, free: 10.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006683/0.4658, allocations: 1.979 MB / 0.6248 GB, free: 8.895 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001086/0.4659, allocations: 19.98 kB / 0.6248 GB, free: 8.875 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02226/0.4882, allocations: 8.575 MB / 0.6332 GB, free: 164 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.4882, allocations: 0 / 0.6332 GB, free: 164 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1053/0.5935, allocations: 35.42 MB / 0.6678 GB, free: 12.39 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002674/0.5938, allocations: 203.4 kB / 0.668 GB, free: 12.18 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002056/0.594, allocations: 19.98 kB / 0.668 GB, free: 12.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/0.5952, allocations: 103.8 kB / 0.6681 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000728/0.5959, allocations: 224.6 kB / 0.6683 GB, free: 11.83 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.83e-05/0.596, allocations: 20 kB / 0.6684 GB, free: 11.81 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006961/0.5967, allocations: 0.578 MB / 0.6689 GB, free: 11.22 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5967, allocations: 0 / 0.6689 GB, free: 11.22 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001657/0.5984, allocations: 0.6128 MB / 0.6695 GB, free: 10.61 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (gENCLS.delta,gENCLS.eq,SPV.x,SPV.id,SPV.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 (56): * Single equations (assignments): 55 * 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.0002149/0.5986, allocations: 123.1 kB / 0.6696 GB, free: 10.48 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00751/0.6061, allocations: 2.45 MB / 0.672 GB, free: 8.02 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6061, allocations: 0 / 0.672 GB, free: 8.02 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005309/0.6115, allocations: 1.662 MB / 0.6737 GB, free: 6.344 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006882/0.6122, allocations: 99.42 kB / 0.6737 GB, free: 6.246 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008319/0.6205, allocations: 3.941 MB / 0.6776 GB, free: 2.246 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005498/0.6211, allocations: 1.104 MB / 0.6787 GB, free: 1.109 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003373/0.6214, allocations: 82.48 kB / 0.6788 GB, free: 1.023 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002112/0.6216, allocations: 63.42 kB / 0.6788 GB, free: 0.9609 MB / 490.7 MB Notification: Performance of SimCode: time 2.1e-07/0.6216, allocations: 0 / 0.6788 GB, free: 0.9609 MB / 490.7 MB Notification: Performance of Templates: time 0.2718/0.8934, allocations: 36.42 MB / 0.7144 GB, free: 93.88 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPVTest.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPVTest.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPVTest.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPVTest.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPVTest.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPVTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPVTest.pipe 2>&1)