Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.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.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_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 3.2.3+maint.om/package.mo): time 0.002359/0.002359, allocations: 181 kB / 7.454 MB, free: 2.508 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.127/1.127, 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.0009111/0.0009111, allocations: 91.98 kB / 261.1 MB, free: 13.55 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.06607/0.06607, allocations: 12.59 MB / 321.6 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2984/0.2984, allocations: 78.05 MB / 450.4 MB, free: 3.219 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.431e-06/5.451e-06, allocations: 0 / 0.5141 GB, free: 30 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1061, allocations: 69.33 MB / 0.5818 GB, free: 8.75 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2906/0.3967, allocations: 101.9 MB / 0.6813 GB, free: 6.359 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002193/0.397, allocations: 76.58 kB / 0.6814 GB, free: 6.32 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.2389/0.6358, allocations: 94.09 MB / 0.7733 GB, free: 2.965 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003223/0.6362, allocations: 87.94 kB / 0.7733 GB, free: 2.879 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 889 * Number of variables: 889 Notification: Performance of Generate backend data structure: time 0.019/0.6552, allocations: 5.946 MB / 0.7791 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.6553, allocations: 11.97 kB / 0.7792 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01962/0.6749, allocations: 2.924 MB / 0.782 GB, free: 9.906 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005961/0.6809, allocations: 2.278 MB / 0.7842 GB, free: 7.551 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009491/0.6819, allocations: 0.8424 MB / 0.7851 GB, free: 6.578 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001218/0.6831, allocations: 204 kB / 0.7853 GB, free: 6.379 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008379/0.6915, allocations: 3.435 MB / 0.7886 GB, free: 2.941 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008194/0.6997, allocations: 3.586 MB / 0.7921 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.479e-05/0.6998, allocations: 3.938 kB / 0.7921 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004463/0.7002, allocations: 4 kB / 0.7921 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.796e-05/0.7003, allocations: 87.98 kB / 0.7922 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03684/0.7372, allocations: 18.58 MB / 0.8104 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003859/0.7411, allocations: 2.239 MB / 0.8125 GB, free: 9.289 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003385/0.7445, allocations: 2.108 MB / 0.8146 GB, free: 7.172 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004539/0.7449, allocations: 70.88 kB / 0.8147 GB, free: 7.102 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.863e-05/0.745, allocations: 81.44 kB / 0.8147 GB, free: 7.012 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=379): time 5.57e-06/0.745, allocations: 3.938 kB / 0.8147 GB, free: 7.008 MB / 0.5417 GB Notification: Performance of matching and sorting (n=379): time 0.05787/0.8029, allocations: 18.23 MB / 0.8325 GB, free: 4.727 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.803, allocations: 171.4 kB / 0.8327 GB, free: 4.527 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005435/0.8085, allocations: 2.436 MB / 0.8351 GB, free: 2.078 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001043/0.8095, allocations: 29.7 kB / 0.8351 GB, free: 2.043 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001021/0.8106, allocations: 1.178 MB / 0.8363 GB, free: 0.8477 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003393/0.814, allocations: 1.245 MB / 0.8375 GB, free: 15.59 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001012/0.815, allocations: 0 / 0.8375 GB, free: 15.59 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0003743/0.8154, allocations: 437.6 kB / 0.8379 GB, free: 15.15 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003869/0.8193, allocations: 1.753 MB / 0.8396 GB, free: 13.4 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004282/0.8236, allocations: 2.314 MB / 0.8419 GB, free: 10.88 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004251/0.8278, allocations: 1.952 MB / 0.8438 GB, free: 8.918 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.948e-05/0.8279, allocations: 7.984 kB / 0.8438 GB, free: 8.91 MB / 0.573 GB Notification: Performance of matching and sorting (n=457) (initialization): time 0.05949/0.8874, allocations: 18.33 MB / 0.8617 GB, free: 6.523 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.1977/1.085, allocations: 6.599 MB / 0.8681 GB, free: 179.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-05/1.085, allocations: 17.16 kB / 0.8682 GB, free: 179.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02514/1.11, allocations: 7.141 MB / 0.8751 GB, free: 179.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003065/1.113, allocations: 0.5385 MB / 0.8757 GB, free: 179.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05477/1.168, allocations: 22.09 MB / 0.8972 GB, free: 177.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005898/1.174, allocations: 0.6678 MB / 0.8979 GB, free: 177.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005558/1.175, allocations: 124.9 kB / 0.898 GB, free: 177.6 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.988e-06/1.175, allocations: 3.688 kB / 0.898 GB, free: 177.6 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05166/1.227, allocations: 17.84 MB / 0.9154 GB, free: 177.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.077e-05/1.227, allocations: 18.41 kB / 0.9154 GB, free: 177.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02394/1.251, allocations: 7.139 MB / 0.9224 GB, free: 177.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003063/1.254, allocations: 0.5316 MB / 0.9229 GB, free: 177.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05272/1.306, allocations: 22.08 MB / 0.9445 GB, free: 171.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006006/1.312, allocations: 0.6281 MB / 0.9451 GB, free: 171.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000616/1.313, allocations: 129.9 kB / 0.9452 GB, free: 171.3 MB / 0.5886 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_1.delta:VARIABLE(start = order3_1.delta0 unit = "rad" ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (321): * Single equations (assignments): 318 * 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 {92 45} Notification: Performance of prepare postOptimizeDAE: time 0.0009972/1.314, allocations: 205.3 kB / 0.9454 GB, free: 171.2 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001114/1.315, allocations: 452.6 kB / 0.9459 GB, free: 170.9 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05251/1.368, allocations: 18.66 MB / 0.9641 GB, free: 160.4 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.527e-05/1.368, allocations: 36 kB / 0.9641 GB, free: 160.3 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-05/1.368, allocations: 31.83 kB / 0.9641 GB, free: 160.3 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001464/1.368, allocations: 21.28 kB / 0.9642 GB, free: 160.3 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0602/1.428, allocations: 23.55 MB / 0.9872 GB, free: 142.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.136e-05/1.428, allocations: 0 / 0.9872 GB, free: 142.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002518/1.431, allocations: 401.9 kB / 0.9875 GB, free: 142 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02221/1.453, allocations: 7.166 MB / 0.9945 GB, free: 136.4 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001036/1.454, allocations: 27.78 kB / 0.9946 GB, free: 136.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04642/1.501, allocations: 20.15 MB / 1.014 GB, free: 118.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/1.501, allocations: 0 / 1.014 GB, free: 118.4 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05593/1.557, allocations: 21.57 MB / 1.035 GB, free: 100.6 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001719/1.558, allocations: 0.5573 MB / 1.036 GB, free: 100.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001286/1.56, allocations: 7.5 kB / 1.036 GB, free: 100.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004556/1.564, allocations: 474 kB / 1.036 GB, free: 99.74 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001232/1.566, allocations: 450.5 kB / 1.037 GB, free: 99.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003407/1.566, allocations: 93.39 kB / 1.037 GB, free: 99.41 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.002288/1.568, allocations: 1.807 MB / 1.039 GB, free: 97.76 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.006459/1.575, allocations: 2.564 MB / 1.041 GB, free: 95.32 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (249): * Single equations (assignments): 247 * 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 {(98,5.5%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005347/1.575, allocations: 164.4 kB / 1.041 GB, free: 95.2 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.03812/1.613, allocations: 13.85 MB / 1.055 GB, free: 82.74 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/1.613, allocations: 0 / 1.055 GB, free: 82.74 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01667/1.63, allocations: 5.78 MB / 1.06 GB, free: 77.65 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002815/1.633, allocations: 243.6 kB / 1.061 GB, free: 77.42 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02008/1.653, allocations: 6.16 MB / 1.067 GB, free: 71.8 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002776/1.656, allocations: 2.652 MB / 1.069 GB, free: 69.77 MB / 0.5886 GB Notification: Performance of SimCode: time 1.022e-06/1.656, allocations: 0 / 1.069 GB, free: 69.77 MB / 0.5886 GB Notification: Performance of Templates: time 0.3626/2.019, allocations: 113.2 MB / 1.18 GB, free: 197.8 MB / 0.5886 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe 2>&1)