Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.001405/0.001405, allocations: 172.5 kB / 7.646 MB, free: 1.422 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.244/1.244, allocations: 221.5 MB / 229.6 MB, free: 3.125 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.0008834/0.0008833, allocations: 96.33 kB / 280.5 MB, free: 1.16 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4407/0.4407, allocations: 78.12 MB / 409.4 MB, free: 15.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.192e-05/1.195e-05, allocations: 0 / 484.9 MB, free: 4.184 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3316, allocations: 69.35 MB / 0.5413 GB, free: 21.79 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1256/0.4573, allocations: 103.3 MB / 0.6422 GB, free: 1.504 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/0.4576, allocations: 71.97 kB / 0.6422 GB, free: 1.434 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5052/0.9628, allocations: 94.48 MB / 0.7345 GB, free: 74.35 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.9629, allocations: 0 / 0.7345 GB, free: 74.35 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001339/0.963, allocations: 56 kB / 0.7345 GB, free: 74.29 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.01095/0.974, allocations: 3.922 MB / 0.7384 GB, free: 70.34 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.974, allocations: 8.031 kB / 0.7384 GB, free: 70.34 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007461/0.9815, allocations: 1.277 MB / 0.7396 GB, free: 69.05 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003646/0.9852, allocations: 1.832 MB / 0.7414 GB, free: 67.21 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005576/0.9857, allocations: 0.595 MB / 0.742 GB, free: 66.53 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003756/0.9861, allocations: 119.9 kB / 0.7421 GB, free: 66.41 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003414/0.9896, allocations: 2.206 MB / 0.7443 GB, free: 64.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003241/0.9928, allocations: 1.945 MB / 0.7462 GB, free: 62.25 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.526e-05/0.9928, allocations: 0 / 0.7462 GB, free: 62.25 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002068/0.9931, allocations: 0 / 0.7462 GB, free: 62.25 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.401e-05/0.9931, allocations: 45.69 kB / 0.7462 GB, free: 62.21 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.0163/1.009, allocations: 10.31 MB / 0.7563 GB, free: 51.38 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008901/1.018, allocations: 4.766 MB / 0.7609 GB, free: 46.41 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002038/1.02, allocations: 1.432 MB / 0.7623 GB, free: 44.98 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002665/1.021, allocations: 41.95 kB / 0.7624 GB, free: 44.94 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/1.021, allocations: 56.56 kB / 0.7624 GB, free: 44.87 MB / 490.7 MB Notification: Performance of pre-optimization done (n=249): time 5.02e-06/1.021, allocations: 0 / 0.7624 GB, free: 44.87 MB / 490.7 MB Notification: Performance of matching and sorting (n=249): time 0.03121/1.052, allocations: 10.63 MB / 0.7728 GB, free: 34.21 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/1.052, allocations: 81.34 kB / 0.7729 GB, free: 34.12 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003246/1.055, allocations: 2.166 MB / 0.775 GB, free: 31.96 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006105/1.056, allocations: 29.7 kB / 0.775 GB, free: 31.92 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007754/1.057, allocations: 1.375 MB / 0.7764 GB, free: 30.54 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000926/1.058, allocations: 0.8311 MB / 0.7772 GB, free: 29.69 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001793/1.058, allocations: 0 / 0.7772 GB, free: 29.69 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.438e-05/1.058, allocations: 390.5 kB / 0.7776 GB, free: 29.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001614/1.06, allocations: 1.126 MB / 0.7787 GB, free: 28.18 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001698/1.061, allocations: 1.368 MB / 0.78 GB, free: 26.73 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001951/1.063, allocations: 1.245 MB / 0.7812 GB, free: 25.46 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/1.063, allocations: 7.875 kB / 0.7812 GB, free: 25.46 MB / 490.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.006394/1.07, allocations: 3.938 MB / 0.7851 GB, free: 21.46 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/1.07, allocations: 9.562 kB / 0.7851 GB, free: 21.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/1.07, allocations: 4.688 kB / 0.7851 GB, free: 21.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01507/1.085, allocations: 4.994 MB / 0.79 GB, free: 16.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001559/1.086, allocations: 299.6 kB / 0.7902 GB, free: 16.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009252/1.096, allocations: 4.799 MB / 0.7949 GB, free: 11.33 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004273/1.1, allocations: 417.9 kB / 0.7953 GB, free: 10.92 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003733/1.1, allocations: 75.98 kB / 0.7954 GB, free: 10.85 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.0004899/1.101, allocations: 136.6 kB / 0.7955 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007748/1.102, allocations: 343.7 kB / 0.7959 GB, free: 10.37 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03058/1.132, allocations: 10.89 MB / 0.8065 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-05/1.132, allocations: 27.95 kB / 0.8065 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/1.132, allocations: 7.984 kB / 0.8065 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.139e-05/1.132, allocations: 11.95 kB / 0.8065 GB, free: 15.36 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.03879/1.171, allocations: 14.83 MB / 0.821 GB, free: 256 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.087e-05/1.171, allocations: 0 / 0.821 GB, free: 256 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001829/1.173, allocations: 247.7 kB / 0.8213 GB, free: 8 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01445/1.188, allocations: 4.395 MB / 0.8255 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008666/1.189, allocations: 16 kB / 0.8256 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03974/1.228, allocations: 16.25 MB / 0.8414 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/1.228, allocations: 0 / 0.8414 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03921/1.268, allocations: 12.84 MB / 0.854 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001373/1.269, allocations: 0.4961 MB / 0.8545 GB, free: 13.76 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008432/1.27, allocations: 4 kB / 0.8545 GB, free: 13.76 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003697/1.274, allocations: 303.7 kB / 0.8548 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001808/1.275, allocations: 0.5141 MB / 0.8553 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000213/1.276, allocations: 63.98 kB / 0.8553 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.003128/1.279, allocations: 1.63 MB / 0.8569 GB, free: 11.26 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.71e-07/1.279, allocations: 0 / 0.8569 GB, free: 11.26 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.003352/1.282, allocations: 0.8856 MB / 0.8578 GB, free: 10.37 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.0006462/1.283, allocations: 311.1 kB / 0.8581 GB, free: 10.06 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01277/1.296, allocations: 4.466 MB / 0.8624 GB, free: 5.566 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/1.296, allocations: 0 / 0.8624 GB, free: 5.566 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0113/1.307, allocations: 3.545 MB / 0.8659 GB, free: 2.008 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003182/1.31, allocations: 219 kB / 0.8661 GB, free: 1.789 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01092/1.321, allocations: 4.934 MB / 0.8709 GB, free: 12.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001558/1.323, allocations: 1.91 MB / 0.8728 GB, free: 10.87 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001293/1.324, allocations: 241.2 kB / 0.873 GB, free: 10.63 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007915/1.325, allocations: 155.4 kB / 0.8732 GB, free: 10.48 MB / 0.5573 GB Notification: Performance of SimCode: time 7.21e-07/1.325, allocations: 0 / 0.8732 GB, free: 10.48 MB / 0.5573 GB Notification: Performance of Templates: time 0.3936/1.718, allocations: 45.46 MB / 0.9176 GB, free: 148.9 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.sim & ./OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)