Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.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.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 221.4 MB / 234.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000895/0.0008951, allocations: 84.64 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4843/0.4843, allocations: 78.89 MB / 415.4 MB, free: 10.26 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.003e-05/3.014e-05, allocations: 4 kB / 492.8 MB, free: 13.12 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3729/0.373, allocations: 69.5 MB / 0.5491 GB, free: 19.42 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1396/0.5126, allocations: 104.6 MB / 0.6512 GB, free: 11.01 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001828/0.5128, allocations: 79.95 kB / 0.6513 GB, free: 10.93 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5373/1.05, allocations: 87.43 MB / 0.7367 GB, free: 71.07 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.453e-06/1.05, allocations: 0 / 0.7367 GB, free: 71.07 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001251/1.05, allocations: 60.59 kB / 0.7368 GB, free: 71.01 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: 493 * Number of variables: 493 Notification: Performance of Generate backend data structure: time 0.00986/1.06, allocations: 3.923 MB / 0.7406 GB, free: 67.03 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/1.06, allocations: 23.95 kB / 0.7406 GB, free: 67.01 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01155/1.072, allocations: 2.143 MB / 0.7427 GB, free: 64.86 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004162/1.076, allocations: 2.12 MB / 0.7448 GB, free: 62.68 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005448/1.077, allocations: 0.6653 MB / 0.7454 GB, free: 61.93 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003683/1.077, allocations: 199.9 kB / 0.7456 GB, free: 61.73 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00365/1.081, allocations: 2.237 MB / 0.7478 GB, free: 59.48 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.366e-05/1.081, allocations: 0 / 0.7478 GB, free: 59.48 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000219/1.081, allocations: 76 kB / 0.7479 GB, free: 59.41 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.739e-05/1.081, allocations: 44 kB / 0.7479 GB, free: 59.37 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003584/1.085, allocations: 2.304 MB / 0.7502 GB, free: 57.06 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02047/1.105, allocations: 11.19 MB / 0.7611 GB, free: 45.34 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009534/1.115, allocations: 4.858 MB / 0.7658 GB, free: 40.26 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002415/1.117, allocations: 1.504 MB / 0.7673 GB, free: 38.76 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002622/1.117, allocations: 45.95 kB / 0.7673 GB, free: 38.72 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/1.117, allocations: 56.56 kB / 0.7674 GB, free: 38.65 MB / 490.7 MB Notification: Performance of pre-optimization done (n=249): time 4.398e-06/1.117, allocations: 0 / 0.7674 GB, free: 38.65 MB / 490.7 MB Notification: Performance of matching and sorting (n=249): time 0.03166/1.149, allocations: 10.79 MB / 0.7779 GB, free: 27.84 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/1.149, allocations: 85.41 kB / 0.778 GB, free: 27.75 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004528/1.154, allocations: 2.706 MB / 0.7807 GB, free: 25.04 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006721/1.154, allocations: 69.7 kB / 0.7807 GB, free: 24.97 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007392/1.155, allocations: 1.348 MB / 0.782 GB, free: 23.61 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001002/1.156, allocations: 0.87 MB / 0.7829 GB, free: 22.73 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001637/1.156, allocations: 48 kB / 0.7829 GB, free: 22.68 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.829e-05/1.156, allocations: 390.5 kB / 0.7833 GB, free: 22.29 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001834/1.158, allocations: 1.169 MB / 0.7845 GB, free: 21.12 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001836/1.16, allocations: 1.438 MB / 0.7859 GB, free: 19.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001803/1.162, allocations: 1.269 MB / 0.7871 GB, free: 18.31 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/1.162, allocations: 0 / 0.7871 GB, free: 18.31 MB / 490.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.006742/1.169, allocations: 4.136 MB / 0.7911 GB, free: 14.12 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/1.169, allocations: 8 kB / 0.7911 GB, free: 14.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/1.169, allocations: 11.98 kB / 0.7912 GB, free: 14.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01511/1.184, allocations: 5.371 MB / 0.7964 GB, free: 8.719 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/1.185, allocations: 307.6 kB / 0.7967 GB, free: 8.418 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008722/1.194, allocations: 4.386 MB / 0.801 GB, free: 4.004 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004862/1.199, allocations: 465.8 kB / 0.8014 GB, free: 3.547 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003474/1.199, allocations: 79.92 kB / 0.8015 GB, free: 3.469 MB / 490.7 MB 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.000482/1.2, allocations: 220.7 kB / 0.8017 GB, free: 3.246 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008758/1.201, allocations: 339.8 kB / 0.802 GB, free: 2.91 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03396/1.235, allocations: 11.13 MB / 0.8129 GB, free: 7.703 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.678e-05/1.235, allocations: 24 kB / 0.8129 GB, free: 7.68 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/1.235, allocations: 0 / 0.8129 GB, free: 7.68 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.836e-05/1.235, allocations: 11.95 kB / 0.8129 GB, free: 7.668 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03946/1.274, allocations: 15.56 MB / 0.8281 GB, free: 7.828 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.661e-05/1.274, allocations: 3.953 kB / 0.8281 GB, free: 7.824 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001825/1.276, allocations: 255.6 kB / 0.8284 GB, free: 7.574 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01344/1.29, allocations: 4.414 MB / 0.8327 GB, free: 3.156 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005496/1.29, allocations: 51.98 kB / 0.8327 GB, free: 3.105 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03606/1.326, allocations: 16.44 MB / 0.8488 GB, free: 2.516 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.326, allocations: 0 / 0.8488 GB, free: 2.516 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03733/1.364, allocations: 13.04 MB / 0.8615 GB, free: 5.379 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00185/1.366, allocations: 0.5665 MB / 0.8621 GB, free: 4.789 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009007/1.367, allocations: 47.95 kB / 0.8621 GB, free: 4.742 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003443/1.37, allocations: 343.7 kB / 0.8625 GB, free: 4.406 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001862/1.372, allocations: 0.5138 MB / 0.863 GB, free: 3.891 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002019/1.372, allocations: 67.92 kB / 0.863 GB, free: 3.824 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.003225/1.375, allocations: 2.075 MB / 0.865 GB, free: 1.758 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.61e-07/1.375, allocations: 0 / 0.865 GB, free: 1.758 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002912/1.378, allocations: 0.9988 MB / 0.866 GB, free: 0.7578 MB / 0.5417 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.0006426/1.379, allocations: 342.7 kB / 0.8663 GB, free: 428 kB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01223/1.391, allocations: 4.586 MB / 0.8708 GB, free: 11.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/1.391, allocations: 0 / 0.8708 GB, free: 11.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01004/1.401, allocations: 3.674 MB / 0.8744 GB, free: 8.102 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002727/1.404, allocations: 257.8 kB / 0.8747 GB, free: 7.848 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01009/1.414, allocations: 5.069 MB / 0.8796 GB, free: 2.727 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001599/1.416, allocations: 1.91 MB / 0.8815 GB, free: 0.7852 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001633/1.417, allocations: 245.6 kB / 0.8817 GB, free: 0.543 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007875/1.418, allocations: 163.4 kB / 0.8819 GB, free: 392 kB / 0.5573 GB Notification: Performance of SimCode: time 2.494e-06/1.418, allocations: 0 / 0.8819 GB, free: 392 kB / 0.5573 GB Notification: Performance of Templates: time 0.4455/1.864, allocations: 53.66 MB / 0.9343 GB, free: 161.2 MB / 0.573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.sim & ./OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)