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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004102/0.004102, allocations: 185.4 kB / 7.464 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.249/1.249, allocations: 221.4 MB / 229.3 MB, free: 3.004 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009452/0.0009452, allocations: 104.5 kB / 280.1 MB, free: 1.227 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4359/0.4359, allocations: 78.9 MB / 409.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.943e-06/6.953e-06, allocations: 0 / 485.4 MB, free: 3.648 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.3426, allocations: 69.52 MB / 0.5419 GB, free: 20.98 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1184/0.461, allocations: 98.72 MB / 0.6383 GB, free: 5.219 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/0.4613, allocations: 75.95 kB / 0.6383 GB, free: 5.141 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.06938/0.5307, allocations: 24.82 MB / 0.6626 GB, free: 12.14 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.652e-05/0.5308, allocations: 20 kB / 0.6626 GB, free: 12.12 MB / 490.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.004468/0.5352, allocations: 1.675 MB / 0.6642 GB, free: 10.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.5353, allocations: 8.031 kB / 0.6642 GB, free: 10.39 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003069/0.5384, allocations: 0.498 MB / 0.6647 GB, free: 9.895 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001317/0.5397, allocations: 0.6821 MB / 0.6654 GB, free: 9.168 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003634/0.5401, allocations: 333.3 kB / 0.6657 GB, free: 8.789 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/0.5402, allocations: 51.89 kB / 0.6658 GB, free: 8.738 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001605/0.5418, allocations: 0.828 MB / 0.6666 GB, free: 7.91 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001468/0.5433, allocations: 0.8329 MB / 0.6674 GB, free: 7.066 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.5433, allocations: 0 / 0.6674 GB, free: 7.066 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.382e-05/0.5434, allocations: 0 / 0.6674 GB, free: 7.066 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.914e-05/0.5435, allocations: 20 kB / 0.6674 GB, free: 7.047 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007255/0.5507, allocations: 3.748 MB / 0.6711 GB, free: 3.125 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00118/0.5519, allocations: 0.7355 MB / 0.6718 GB, free: 2.371 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008233/0.5528, allocations: 0.5549 MB / 0.6723 GB, free: 1.809 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001175/0.5529, allocations: 12.78 kB / 0.6723 GB, free: 1.797 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.034e-05/0.553, allocations: 43.34 kB / 0.6724 GB, free: 1.746 MB / 490.7 MB Notification: Performance of pre-optimization done (n=94): time 3.005e-06/0.553, allocations: 0 / 0.6724 GB, free: 1.746 MB / 490.7 MB Notification: Performance of matching and sorting (n=94): time 0.1935/0.7464, allocations: 4.686 MB / 0.677 GB, free: 143.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.7465, allocations: 98.33 kB / 0.6771 GB, free: 143.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001179/0.7477, allocations: 0.6651 MB / 0.6777 GB, free: 143.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002233/0.748, allocations: 25.7 kB / 0.6777 GB, free: 143.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.7481, allocations: 288.6 kB / 0.678 GB, free: 143.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003385/0.7485, allocations: 324.8 kB / 0.6783 GB, free: 143 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.659e-05/0.7485, allocations: 0 / 0.6783 GB, free: 143 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.112e-05/0.7486, allocations: 339.5 kB / 0.6786 GB, free: 142.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000764/0.7494, allocations: 437.7 kB / 0.6791 GB, free: 142.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007554/0.7502, allocations: 0.5535 MB / 0.6796 GB, free: 142.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007392/0.7509, allocations: 479.9 kB / 0.6801 GB, free: 142.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.7509, allocations: 0 / 0.6801 GB, free: 142.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01382/0.7647, allocations: 4.722 MB / 0.6847 GB, free: 142.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.7648, allocations: 3.344 kB / 0.6847 GB, free: 142.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/0.7648, allocations: 6.562 kB / 0.6847 GB, free: 142.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006124/0.771, allocations: 1.897 MB / 0.6865 GB, free: 142.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006946/0.7717, allocations: 122.1 kB / 0.6866 GB, free: 142.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01832/0.79, allocations: 7.159 MB / 0.6936 GB, free: 140.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001738/0.7918, allocations: 190.3 kB / 0.6938 GB, free: 140.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001406/0.792, allocations: 32.69 kB / 0.6938 GB, free: 140.5 MB / 490.7 MB Warning: Assuming fixed start value for the following 3 variables: SPV.iq:VARIABLE(start = SPV.iqref unit = "1" ) "q-axis current" type: Real SPV.id:VARIABLE(start = SPV.idref unit = "1" ) "d-axis current" type: Real SPV.x:VARIABLE(start = SPV.Q_0 * SPV.CoB unit = "1" protected = true ) 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 15} Notification: Performance of prepare postOptimizeDAE: time 0.0003045/0.7923, allocations: 121.8 kB / 0.694 GB, free: 140.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002631/0.7926, allocations: 118.2 kB / 0.6941 GB, free: 140.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01579/0.8084, allocations: 4.782 MB / 0.6987 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.008e-05/0.8084, allocations: 10.06 kB / 0.6988 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.8085, allocations: 8.047 kB / 0.6988 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.068e-05/0.8085, allocations: 7.172 kB / 0.6988 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01749/0.826, allocations: 6 MB / 0.7046 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.666e-05/0.8261, allocations: 1.062 kB / 0.7046 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006882/0.8267, allocations: 94.47 kB / 0.7047 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006005/0.8328, allocations: 1.881 MB / 0.7066 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002574/0.8331, allocations: 6.906 kB / 0.7066 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01692/0.85, allocations: 6.619 MB / 0.713 GB, free: 137.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/0.85, allocations: 0 / 0.713 GB, free: 137.5 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02148/0.8715, allocations: 5.565 MB / 0.7185 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005449/0.8721, allocations: 204.9 kB / 0.7187 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002297/0.8724, allocations: 0.6094 kB / 0.7187 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001363/0.8737, allocations: 149.2 kB / 0.7188 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000462/0.8742, allocations: 125.7 kB / 0.7189 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001292/0.8744, allocations: 21.11 kB / 0.7189 GB, free: 135.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0009813/0.8753, allocations: 0.5109 MB / 0.7194 GB, free: 135.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00191/0.8773, allocations: 393.4 kB / 0.7198 GB, free: 135.5 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003449/0.8776, allocations: 123.2 kB / 0.7199 GB, free: 135.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009231/0.8869, allocations: 2.128 MB / 0.722 GB, free: 134.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/0.8869, allocations: 3.719 kB / 0.722 GB, free: 134.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008813/0.8958, allocations: 1.634 MB / 0.7236 GB, free: 134.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001329/0.8971, allocations: 59.08 kB / 0.7237 GB, free: 134.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00597/0.9031, allocations: 1.589 MB / 0.7252 GB, free: 133.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001101/0.9043, allocations: 1.119 MB / 0.7263 GB, free: 132.7 MB / 490.7 MB Notification: Performance of SimCode: time 1.052e-06/0.9043, allocations: 0 / 0.7263 GB, free: 132.7 MB / 490.7 MB Notification: Performance of Templates: time 0.03514/0.9394, allocations: 21.32 MB / 0.7471 GB, free: 120.6 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)