Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.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.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") [: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.004137/0.004137, allocations: 184 kB / 7.457 MB, free: 2.516 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.203/1.203, allocations: 205.2 MB / 213.1 MB, free: 13.89 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.0008649/0.000865, allocations: 85.12 kB / 261.1 MB, free: 13.52 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.06531/0.06531, allocations: 12.58 MB / 321.6 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2967/0.2967, allocations: 78.04 MB / 450.4 MB, free: 3.199 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.659e-06/4.689e-06, allocations: 0 / 0.5141 GB, free: 29.97 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1241, allocations: 69.32 MB / 0.5818 GB, free: 8.75 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3471/0.4712, allocations: 104.7 MB / 0.6841 GB, free: 3.527 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002193/0.4715, allocations: 79.39 kB / 0.6841 GB, free: 3.488 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.2383/0.7098, allocations: 92.05 MB / 0.774 GB, free: 2.141 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003877/0.7102, allocations: 59.94 kB / 0.7741 GB, free: 2.082 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: 493 * Number of variables: 493 Notification: Performance of Generate backend data structure: time 0.01526/0.7255, allocations: 4.071 MB / 0.778 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.734e-05/0.7256, allocations: 15.97 kB / 0.7781 GB, free: 13.94 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009339/0.7349, allocations: 1.338 MB / 0.7794 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007129/0.7421, allocations: 1.842 MB / 0.7812 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009955/0.7431, allocations: 0.6028 MB / 0.7818 GB, free: 10 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00122/0.7444, allocations: 119.9 kB / 0.7819 GB, free: 9.883 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006595/0.751, allocations: 2.206 MB / 0.784 GB, free: 7.676 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00625/0.7573, allocations: 1.945 MB / 0.7859 GB, free: 5.723 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.85e-05/0.7573, allocations: 3.938 kB / 0.7859 GB, free: 5.719 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004188/0.7578, allocations: 0 / 0.7859 GB, free: 5.719 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.475e-05/0.7578, allocations: 48 kB / 0.786 GB, free: 5.672 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02707/0.7849, allocations: 10.59 MB / 0.7963 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004839/0.7898, allocations: 2.132 MB / 0.7984 GB, free: 8.449 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002542/0.7924, allocations: 1.405 MB / 0.7998 GB, free: 7.039 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003483/0.7928, allocations: 53.94 kB / 0.7998 GB, free: 6.988 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.619e-05/0.7928, allocations: 64.41 kB / 0.7999 GB, free: 6.914 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=249): time 4.479e-06/0.7928, allocations: 0 / 0.7999 GB, free: 6.914 MB / 0.5261 GB Notification: Performance of matching and sorting (n=249): time 0.03769/0.8305, allocations: 11.3 MB / 0.8109 GB, free: 11.58 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.027e-05/0.8307, allocations: 77.41 kB / 0.811 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006133/0.8368, allocations: 2.166 MB / 0.8131 GB, free: 9.332 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0008238/0.8377, allocations: 25.7 kB / 0.8131 GB, free: 9.301 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008244/0.8385, allocations: 0.7032 MB / 0.8138 GB, free: 8.586 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.002507/0.841, allocations: 0.835 MB / 0.8146 GB, free: 7.738 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000588/0.8416, allocations: 0 / 0.8146 GB, free: 7.738 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0003417/0.842, allocations: 386.5 kB / 0.815 GB, free: 7.355 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00258/0.8446, allocations: 1.141 MB / 0.8161 GB, free: 6.211 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002863/0.8474, allocations: 1.383 MB / 0.8175 GB, free: 4.75 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003189/0.8507, allocations: 1.261 MB / 0.8187 GB, free: 3.469 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.214e-05/0.8507, allocations: 4 kB / 0.8187 GB, free: 3.465 MB / 0.5417 GB Notification: Performance of matching and sorting (n=291) (initialization): time 0.009671/0.8604, allocations: 4.004 MB / 0.8226 GB, free: 15.41 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.8604, allocations: 12.03 kB / 0.8226 GB, free: 15.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.8604, allocations: 4 kB / 0.8226 GB, free: 15.39 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01766/0.8781, allocations: 5.152 MB / 0.8277 GB, free: 10.23 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0019/0.8801, allocations: 299.5 kB / 0.828 GB, free: 9.941 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01383/0.8939, allocations: 4.991 MB / 0.8328 GB, free: 4.926 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004612/0.8986, allocations: 457.8 kB / 0.8333 GB, free: 4.477 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005516/0.8992, allocations: 83.97 kB / 0.8333 GB, free: 4.395 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 169 * 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 {62 60} Notification: Performance of prepare postOptimizeDAE: time 0.0007061/0.8999, allocations: 132.3 kB / 0.8335 GB, free: 4.262 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001313/0.9012, allocations: 335.8 kB / 0.8338 GB, free: 3.93 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03763/0.9388, allocations: 11.58 MB / 0.8451 GB, free: 8.285 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.823e-05/0.939, allocations: 24 kB / 0.8451 GB, free: 8.262 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.66e-05/0.939, allocations: 0 / 0.8451 GB, free: 8.262 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001075/0.9391, allocations: 11.95 kB / 0.8451 GB, free: 8.25 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2628/1.202, allocations: 15.03 MB / 0.8598 GB, free: 204.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.078e-05/1.202, allocations: 6.094 kB / 0.8598 GB, free: 204.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001872/1.204, allocations: 266.2 kB / 0.8601 GB, free: 204.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01386/1.218, allocations: 4.536 MB / 0.8645 GB, free: 204.4 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007174/1.219, allocations: 21.22 kB / 0.8645 GB, free: 204.4 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03395/1.252, allocations: 14.77 MB / 0.8789 GB, free: 202.9 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/1.253, allocations: 0 / 0.8789 GB, free: 202.9 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03611/1.289, allocations: 13.43 MB / 0.8921 GB, free: 202.1 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001327/1.29, allocations: 0.4924 MB / 0.8925 GB, free: 201.8 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009912/1.291, allocations: 9.016 kB / 0.8926 GB, free: 201.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003379/1.294, allocations: 333 kB / 0.8929 GB, free: 201.8 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008113/1.295, allocations: 295.5 kB / 0.8932 GB, free: 201.8 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002262/1.295, allocations: 63.17 kB / 0.8932 GB, free: 201.8 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.00271/1.298, allocations: 1.635 MB / 0.8948 GB, free: 201.6 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003527/1.302, allocations: 0.8584 MB / 0.8956 GB, free: 201.6 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (g1.gENSAL.w,g1.gENSAL.delta,g1.gENSAL.Epq,g1.gENSAL.PSIkd,g1.gENSAL.PSIppq,g2.gENSAL.w,g2.gENSAL.delta,g2.gENSAL.Epq,g2.gENSAL.PSIkd,g2.gENSAL.PSIppq,g3.gENSAL.w,g3.gENSAL.delta,g3.gENSAL.Epq,g3.gENSAL.PSIkd,g3.gENSAL.PSIppq,g4.gENSAL.w,g4.gENSAL.delta,g4.gENSAL.Epq,g4.gENSAL.PSIkd,g4.gENSAL.PSIppq) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 155 * 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 {54 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007729/1.302, allocations: 305 kB / 0.8959 GB, free: 201.5 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01229/1.315, allocations: 4.674 MB / 0.9005 GB, free: 201.2 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/1.315, allocations: 0 / 0.9005 GB, free: 201.2 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01027/1.325, allocations: 3.508 MB / 0.9039 GB, free: 200.9 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002266/1.327, allocations: 219.2 kB / 0.9041 GB, free: 200.8 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01151/1.339, allocations: 5.022 MB / 0.909 GB, free: 199 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002232/1.341, allocations: 2.056 MB / 0.911 GB, free: 198.2 MB / 0.573 GB Notification: Performance of SimCode: time 5.51e-07/1.341, allocations: 1.031 kB / 0.911 GB, free: 198.2 MB / 0.573 GB Notification: Performance of Templates: time 0.0856/1.427, allocations: 46.57 MB / 0.9565 GB, free: 170.8 MB / 0.573 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)