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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001608/0.001608, allocations: 169.3 kB / 7.64 MB, free: 1.414 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.412/1.412, allocations: 205.3 MB / 213.4 MB, free: 13.76 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.0008485/0.0008484, allocations: 93.56 kB / 261.4 MB, free: 13.44 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.08219/0.08219, allocations: 12.59 MB / 321.9 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2925/0.2925, allocations: 78.05 MB / 450.8 MB, free: 3.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.274e-05/1.276e-05, allocations: 4 kB / 0.5147 GB, free: 29.61 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1257, allocations: 69.32 MB / 0.5824 GB, free: 8.395 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4009/0.5267, allocations: 104.8 MB / 0.6847 GB, free: 3.301 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002157/0.5269, allocations: 74.28 kB / 0.6848 GB, free: 3.266 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2207/0.7476, allocations: 92.16 MB / 0.7748 GB, free: 1.594 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.332e-06/0.7476, allocations: 0 / 0.7748 GB, free: 1.594 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002809/0.7479, allocations: 60.59 kB / 0.7748 GB, free: 1.535 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.01721/0.7652, allocations: 3.915 MB / 0.7787 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/0.7652, allocations: 11.97 kB / 0.7787 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01359/0.7788, allocations: 1.271 MB / 0.7799 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00735/0.7862, allocations: 1.828 MB / 0.7817 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001352/0.7876, allocations: 0.5949 MB / 0.7823 GB, free: 9.703 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001199/0.7888, allocations: 119.9 kB / 0.7824 GB, free: 9.586 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008525/0.7974, allocations: 2.206 MB / 0.7846 GB, free: 7.379 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007706/0.8052, allocations: 1.948 MB / 0.7865 GB, free: 5.422 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.649e-05/0.8053, allocations: 0 / 0.7865 GB, free: 5.422 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004606/0.8057, allocations: 0 / 0.7865 GB, free: 5.422 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.576e-05/0.8058, allocations: 48 kB / 0.7865 GB, free: 5.375 MB / 0.5105 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 preOpt removeSimpleEquations (simulation): time 0.03563/0.8415, allocations: 10.31 MB / 0.7966 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01115/0.8527, allocations: 4.766 MB / 0.8012 GB, free: 5.574 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002638/0.8553, allocations: 1.428 MB / 0.8026 GB, free: 4.148 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004555/0.8558, allocations: 45.95 kB / 0.8027 GB, free: 4.105 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.965e-05/0.8559, allocations: 68.5 kB / 0.8027 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=249): time 5.43e-06/0.8559, allocations: 0 / 0.8027 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of matching and sorting (n=249): time 0.03409/0.89, allocations: 10.63 MB / 0.8131 GB, free: 9.371 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/0.8901, allocations: 77.41 kB / 0.8132 GB, free: 9.285 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004884/0.895, allocations: 2.17 MB / 0.8153 GB, free: 7.117 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0007309/0.8957, allocations: 25.7 kB / 0.8153 GB, free: 7.086 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001321/0.8971, allocations: 1.371 MB / 0.8167 GB, free: 5.703 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001533/0.8986, allocations: 0.835 MB / 0.8175 GB, free: 4.855 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004531/0.8991, allocations: 0 / 0.8175 GB, free: 4.855 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002433/0.8993, allocations: 399.5 kB / 0.8179 GB, free: 4.461 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002304/0.9016, allocations: 1.118 MB / 0.8189 GB, free: 3.34 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002316/0.904, allocations: 1.375 MB / 0.8203 GB, free: 1.887 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002512/0.9065, allocations: 1.249 MB / 0.8215 GB, free: 0.6172 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.755e-06/0.9065, allocations: 0 / 0.8215 GB, free: 0.6172 MB / 0.5417 GB Notification: Performance of matching and sorting (n=291) (initialization): time 0.009263/0.9158, allocations: 3.934 MB / 0.8254 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.337e-05/0.9159, allocations: 8 kB / 0.8254 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.201e-05/0.9159, allocations: 4 kB / 0.8254 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01636/0.9323, allocations: 4.991 MB / 0.8302 GB, free: 7.621 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001674/0.934, allocations: 311.5 kB / 0.8305 GB, free: 7.316 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01139/0.9454, allocations: 4.799 MB / 0.8352 GB, free: 2.488 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004262/0.9497, allocations: 417.9 kB / 0.8356 GB, free: 2.078 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004978/0.9503, allocations: 79.97 kB / 0.8357 GB, free: 2 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.0007498/0.951, allocations: 136.6 kB / 0.8358 GB, free: 1.859 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001386/0.9524, allocations: 339.8 kB / 0.8361 GB, free: 1.523 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03273/0.9852, allocations: 10.88 MB / 0.8468 GB, free: 6.562 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.184e-05/0.9853, allocations: 24 kB / 0.8468 GB, free: 6.539 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.579e-05/0.9853, allocations: 3.953 kB / 0.8468 GB, free: 6.535 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.27e-05/0.9854, allocations: 11.95 kB / 0.8468 GB, free: 6.523 MB / 0.573 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.04189/1.027, allocations: 14.84 MB / 0.8613 GB, free: 7.414 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.791e-05/1.027, allocations: 0 / 0.8613 GB, free: 7.414 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001742/1.029, allocations: 255.6 kB / 0.8616 GB, free: 7.164 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01424/1.043, allocations: 4.387 MB / 0.8658 GB, free: 2.77 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007421/1.044, allocations: 19.98 kB / 0.8659 GB, free: 2.75 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3352/1.379, allocations: 16.25 MB / 0.8817 GB, free: 156.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/1.379, allocations: 1.219 kB / 0.8817 GB, free: 156.5 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03827/1.418, allocations: 12.84 MB / 0.8943 GB, free: 156 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001414/1.419, allocations: 497.9 kB / 0.8947 GB, free: 155.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008122/1.42, allocations: 8.562 kB / 0.8947 GB, free: 155.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00312/1.423, allocations: 297.4 kB / 0.895 GB, free: 155.7 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001715/1.425, allocations: 0.5165 MB / 0.8955 GB, free: 155.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001793/1.425, allocations: 62.27 kB / 0.8956 GB, free: 155.7 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002211/1.427, allocations: 1.632 MB / 0.8972 GB, free: 155.5 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.7e-07/1.427, allocations: 0 / 0.8972 GB, free: 155.5 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002771/1.43, allocations: 0.8885 MB / 0.8981 GB, free: 155.5 MB / 0.5886 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.0005327/1.431, allocations: 302 kB / 0.8983 GB, free: 155.4 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01093/1.442, allocations: 4.456 MB / 0.9027 GB, free: 155.3 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/1.442, allocations: 0 / 0.9027 GB, free: 155.3 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.009395/1.451, allocations: 3.551 MB / 0.9062 GB, free: 155 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002202/1.453, allocations: 217.9 kB / 0.9064 GB, free: 155 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008567/1.462, allocations: 4.93 MB / 0.9112 GB, free: 153.3 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001044/1.463, allocations: 1.909 MB / 0.913 GB, free: 152.5 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001275/1.464, allocations: 241 kB / 0.9133 GB, free: 152.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005881/1.465, allocations: 158 kB / 0.9134 GB, free: 152.5 MB / 0.5886 GB Notification: Performance of SimCode: time 9.32e-07/1.465, allocations: 3.281 kB / 0.9134 GB, free: 152.5 MB / 0.5886 GB Notification: Performance of Templates: time 0.05884/1.524, allocations: 45.48 MB / 0.9578 GB, free: 141.1 MB / 0.5886 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)