Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ") translateModel(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ") [: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 3.2.3+maint.om/package.mo): time 0.002469/0.002469, allocations: 179.5 kB / 7.452 MB, free: 2.316 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.302/1.302, allocations: 205.2 MB / 213.1 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008553/0.0008555, allocations: 93.11 kB / 261.1 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08268/0.08268, allocations: 12.59 MB / 321.6 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.311/0.311, allocations: 78.05 MB / 450.4 MB, free: 3.199 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.733e-06/6.773e-06, allocations: 0 / 0.5141 GB, free: 29.91 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1676, allocations: 69.33 MB / 0.5818 GB, free: 8.688 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4638/0.6314, allocations: 97.53 MB / 0.6771 GB, free: 9.453 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/0.6318, allocations: 80.05 kB / 0.6772 GB, free: 9.441 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.05446/0.6863, allocations: 19.91 MB / 0.6966 GB, free: 10.13 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.731e-05/0.6864, allocations: 16 kB / 0.6966 GB, free: 10.11 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.004825/0.6912, allocations: 1.515 MB / 0.6981 GB, free: 8.648 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.6913, allocations: 15.95 kB / 0.6981 GB, free: 8.633 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003204/0.6945, allocations: 485.8 kB / 0.6986 GB, free: 8.199 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001632/0.6961, allocations: 0.61 MB / 0.6992 GB, free: 7.66 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002333/0.6964, allocations: 159.8 kB / 0.6993 GB, free: 7.48 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000238/0.6966, allocations: 39.91 kB / 0.6994 GB, free: 7.441 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001582/0.6982, allocations: 0.6761 MB / 0.7 GB, free: 7.027 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/0.6996, allocations: 0.6259 MB / 0.7006 GB, free: 6.598 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.6996, allocations: 0 / 0.7006 GB, free: 6.598 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.184e-05/0.6997, allocations: 3.938 kB / 0.7006 GB, free: 6.594 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.933e-05/0.6997, allocations: 16 kB / 0.7006 GB, free: 6.578 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004991/0.7047, allocations: 2.33 MB / 0.7029 GB, free: 4.719 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000885/0.7056, allocations: 0.5338 MB / 0.7034 GB, free: 4.395 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000669/0.7063, allocations: 468.3 kB / 0.7039 GB, free: 4.145 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001034/0.7064, allocations: 20.62 kB / 0.7039 GB, free: 4.125 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.7065, allocations: 42.53 kB / 0.7039 GB, free: 4.082 MB / 442.7 MB Notification: Performance of pre-optimization done (n=76): time 2.816e-06/0.7065, allocations: 0 / 0.7039 GB, free: 4.082 MB / 442.7 MB Notification: Performance of matching and sorting (n=76): time 0.01081/0.7173, allocations: 3.446 MB / 0.7073 GB, free: 1.055 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.7174, allocations: 60.62 kB / 0.7074 GB, free: 0.9844 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/0.7186, allocations: 0.5881 MB / 0.7079 GB, free: 0.5312 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002327/0.7189, allocations: 25.7 kB / 0.708 GB, free: 0.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002585/0.7192, allocations: 258.6 kB / 0.7082 GB, free: 288 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004704/0.7196, allocations: 257.5 kB / 0.7085 GB, free: 60 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.109e-05/0.7197, allocations: 3.938 kB / 0.7085 GB, free: 56 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.7199, allocations: 342.8 kB / 0.7088 GB, free: 15.72 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007864/0.7207, allocations: 359 kB / 0.7091 GB, free: 15.53 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008029/0.7215, allocations: 444.5 kB / 0.7096 GB, free: 15.24 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007482/0.7223, allocations: 394.4 kB / 0.7099 GB, free: 15.02 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.7223, allocations: 0 / 0.7099 GB, free: 15.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.01108/0.7334, allocations: 3.546 MB / 0.7134 GB, free: 11.92 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/0.7334, allocations: 4 kB / 0.7134 GB, free: 11.92 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.146e-05/0.7335, allocations: 4 kB / 0.7134 GB, free: 11.91 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005269/0.7387, allocations: 1.422 MB / 0.7148 GB, free: 10.67 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008261/0.7396, allocations: 119.8 kB / 0.7149 GB, free: 10.56 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01243/0.7521, allocations: 5.493 MB / 0.7203 GB, free: 6.426 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/0.7534, allocations: 155.3 kB / 0.7204 GB, free: 6.273 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001644/0.7536, allocations: 23.56 kB / 0.7204 GB, free: 6.258 MB / 458.7 MB Warning: Assuming fixed start value for the following 1 variables: order3_Inputs_Outputs1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * 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 {19 12} Notification: Performance of prepare postOptimizeDAE: time 0.000302/0.7539, allocations: 116.9 kB / 0.7206 GB, free: 6.137 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002842/0.7542, allocations: 98.77 kB / 0.7206 GB, free: 6.039 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01026/0.7645, allocations: 3.525 MB / 0.7241 GB, free: 2.977 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.597e-05/0.7646, allocations: 8 kB / 0.7241 GB, free: 2.969 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.7646, allocations: 0 / 0.7241 GB, free: 2.969 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.612e-05/0.7646, allocations: 7.984 kB / 0.7241 GB, free: 2.961 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01325/0.7779, allocations: 4.648 MB / 0.7286 GB, free: 15.02 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.031e-05/0.778, allocations: 0 / 0.7286 GB, free: 15.02 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009956/0.779, allocations: 106.9 kB / 0.7287 GB, free: 14.91 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004869/0.7839, allocations: 1.387 MB / 0.7301 GB, free: 13.7 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002393/0.7842, allocations: 7.891 kB / 0.7301 GB, free: 13.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01083/0.795, allocations: 4.79 MB / 0.7348 GB, free: 10.02 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.795, allocations: 0 / 0.7348 GB, free: 10.02 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01183/0.8069, allocations: 4.209 MB / 0.7389 GB, free: 5.84 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004087/0.8073, allocations: 179.7 kB / 0.7391 GB, free: 5.645 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002932/0.8076, allocations: 3.984 kB / 0.7391 GB, free: 5.641 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/0.8087, allocations: 115.9 kB / 0.7392 GB, free: 5.527 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002973/0.809, allocations: 96.48 kB / 0.7393 GB, free: 5.434 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.913e-05/0.8091, allocations: 16 kB / 0.7393 GB, free: 5.418 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0007419/0.8099, allocations: 459.1 kB / 0.7397 GB, free: 4.977 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001296/0.8112, allocations: 311.5 kB / 0.74 GB, free: 4.672 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * 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 {20 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003232/0.8115, allocations: 123.2 kB / 0.7401 GB, free: 4.543 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004508/0.816, allocations: 1.605 MB / 0.7417 GB, free: 2.926 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.844e-06/0.8161, allocations: 4.062 kB / 0.7417 GB, free: 2.922 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003517/0.8196, allocations: 1.181 MB / 0.7429 GB, free: 1.723 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007934/0.8204, allocations: 59.23 kB / 0.7429 GB, free: 1.664 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004264/0.8247, allocations: 1.211 MB / 0.7441 GB, free: 436 kB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001015/0.8257, allocations: 1.062 MB / 0.7451 GB, free: 15.34 MB / 490.7 MB Notification: Performance of SimCode: time 1.102e-06/0.8257, allocations: 0 / 0.7451 GB, free: 15.34 MB / 490.7 MB Notification: Performance of Templates: time 0.02897/0.8547, allocations: 15.25 MB / 0.76 GB, free: 108 kB / 490.7 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe 2>&1)