Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI") [: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.004014/0.004014, allocations: 178.1 kB / 7.454 MB, free: 2.508 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.234/1.234, allocations: 221.4 MB / 229.3 MB, free: 3.074 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.001273/0.001273, allocations: 88.36 kB / 280.1 MB, free: 1.332 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4039/0.4039, allocations: 78.06 MB / 409 MB, free: 15.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.843e-06/6.863e-06, allocations: 0 / 484.3 MB, free: 4.461 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2433, allocations: 69.34 MB / 0.5407 GB, free: 21.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1082/0.3516, allocations: 97.66 MB / 0.6361 GB, free: 7.086 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002064/0.3518, allocations: 79.95 kB / 0.6362 GB, free: 7.008 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.1021/0.4539, allocations: 34.38 MB / 0.6697 GB, free: 4.371 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.944e-05/0.454, allocations: 20 kB / 0.6698 GB, free: 4.352 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.00488/0.4589, allocations: 1.738 MB / 0.6715 GB, free: 2.555 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.459, allocations: 8.031 kB / 0.6715 GB, free: 2.547 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003872/0.4629, allocations: 0.5758 MB / 0.672 GB, free: 1.969 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001721/0.4646, allocations: 0.7955 MB / 0.6728 GB, free: 1.117 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002675/0.4649, allocations: 206.5 kB / 0.673 GB, free: 0.8867 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002034/0.4651, allocations: 48 kB / 0.673 GB, free: 0.8398 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001691/0.4668, allocations: 0.8006 MB / 0.6738 GB, free: 40 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1443/0.6111, allocations: 0.8327 MB / 0.6746 GB, free: 141.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.695e-05/0.6112, allocations: 1.531 kB / 0.6746 GB, free: 141.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000126/0.6113, allocations: 2.656 kB / 0.6746 GB, free: 141.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.863e-05/0.6113, allocations: 18.47 kB / 0.6747 GB, free: 141.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006876/0.6182, allocations: 3.79 MB / 0.6784 GB, free: 140.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.6193, allocations: 0.5995 MB / 0.6789 GB, free: 140.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000728/0.62, allocations: 0.508 MB / 0.6794 GB, free: 140.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001117/0.6201, allocations: 21.75 kB / 0.6795 GB, free: 140.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.6202, allocations: 38.31 kB / 0.6795 GB, free: 140.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=93): time 3.216e-06/0.6202, allocations: 0 / 0.6795 GB, free: 140.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.01256/0.6327, allocations: 4.047 MB / 0.6834 GB, free: 140.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.6328, allocations: 140.7 kB / 0.6836 GB, free: 140.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/0.6338, allocations: 0.8082 MB / 0.6844 GB, free: 140.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.014e-05/0.634, allocations: 25.7 kB / 0.6844 GB, free: 140.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.6341, allocations: 321.8 kB / 0.6847 GB, free: 140 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003126/0.6344, allocations: 326 kB / 0.685 GB, free: 139.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.298e-05/0.6345, allocations: 0 / 0.685 GB, free: 139.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.824e-05/0.6346, allocations: 339.4 kB / 0.6853 GB, free: 139.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007015/0.6353, allocations: 435.8 kB / 0.6858 GB, free: 139.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007712/0.636, allocations: 0.5457 MB / 0.6863 GB, free: 139.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007801/0.6368, allocations: 488.5 kB / 0.6868 GB, free: 139.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.6369, allocations: 0 / 0.6868 GB, free: 139.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.01257/0.6494, allocations: 4.177 MB / 0.6908 GB, free: 139 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001934/0.6496, allocations: 1.147 MB / 0.692 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.6497, allocations: 0 / 0.692 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0053/0.655, allocations: 1.505 MB / 0.6934 GB, free: 137.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/0.656, allocations: 165.4 kB / 0.6936 GB, free: 137.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01316/0.6692, allocations: 5.832 MB / 0.6993 GB, free: 136.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001677/0.6709, allocations: 178.2 kB / 0.6994 GB, free: 136.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002038/0.6711, allocations: 35.42 kB / 0.6995 GB, free: 136.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.946e-06/0.6712, allocations: 7.453 kB / 0.6995 GB, free: 136.2 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01333/0.6845, allocations: 4.016 MB / 0.7034 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.378e-05/0.6846, allocations: 2.594 kB / 0.7034 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005573/0.6901, allocations: 1.506 MB / 0.7049 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009632/0.6911, allocations: 162.2 kB / 0.705 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01338/0.7045, allocations: 5.828 MB / 0.7107 GB, free: 134.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0017/0.7063, allocations: 167.7 kB / 0.7109 GB, free: 134.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001947/0.7065, allocations: 37.67 kB / 0.7109 GB, free: 134.3 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4.delta:VARIABLE(start = order4.delta0 unit = "rad" ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 2 * 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 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003937/0.7069, allocations: 173 kB / 0.7111 GB, free: 134.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003573/0.7073, allocations: 124.7 kB / 0.7112 GB, free: 134.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01252/0.7198, allocations: 4.121 MB / 0.7152 GB, free: 133.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-05/0.7198, allocations: 8.875 kB / 0.7152 GB, free: 133.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.755e-05/0.7199, allocations: 12.53 kB / 0.7153 GB, free: 133.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.613e-05/0.7199, allocations: 3.188 kB / 0.7153 GB, free: 133.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01477/0.7347, allocations: 5.613 MB / 0.7207 GB, free: 131.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/0.7347, allocations: 2.938 kB / 0.7207 GB, free: 131.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008367/0.7356, allocations: 120.8 kB / 0.7209 GB, free: 131.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005161/0.7408, allocations: 1.443 MB / 0.7223 GB, free: 131.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001906/0.741, allocations: 12.72 kB / 0.7223 GB, free: 131.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01187/0.7528, allocations: 5.228 MB / 0.7274 GB, free: 128.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.7529, allocations: 0.8438 kB / 0.7274 GB, free: 128.5 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01456/0.7674, allocations: 4.874 MB / 0.7321 GB, free: 127.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000423/0.7679, allocations: 214.2 kB / 0.7323 GB, free: 126.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003953/0.7683, allocations: 12.56 kB / 0.7324 GB, free: 126.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00147/0.7698, allocations: 130.2 kB / 0.7325 GB, free: 126.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000328/0.7701, allocations: 100.4 kB / 0.7326 GB, free: 126.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/0.7703, allocations: 26.72 kB / 0.7326 GB, free: 126.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0009688/0.7712, allocations: 0.6157 MB / 0.7332 GB, free: 126.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002103/0.7734, allocations: 0.6022 MB / 0.7338 GB, free: 126.4 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,aVRTypeIchange1_1.firstOrder.y,aVRTypeIchange1_1.firstOrder2.y,aVRTypeIchange1_1.transferFunction.x_scaled[1],aVRTypeIchange1_1.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 1 * 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: 1 {(19,24.4%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002922/0.7737, allocations: 143 kB / 0.7339 GB, free: 126.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008638/0.7823, allocations: 3.358 MB / 0.7372 GB, free: 123.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.7823, allocations: 3.609 kB / 0.7372 GB, free: 123.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00378/0.7861, allocations: 1.369 MB / 0.7385 GB, free: 122 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008189/0.787, allocations: 92.8 kB / 0.7386 GB, free: 121.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004522/0.7915, allocations: 1.792 MB / 0.7404 GB, free: 120.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007825/0.7923, allocations: 1.19 MB / 0.7415 GB, free: 119.2 MB / 490.7 MB Notification: Performance of SimCode: time 6.01e-07/0.7923, allocations: 0 / 0.7415 GB, free: 119.2 MB / 490.7 MB Notification: Performance of Templates: time 0.03961/0.8319, allocations: 28.78 MB / 0.7697 GB, free: 97.19 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe 2>&1)