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.0008854/0.0008854, allocations: 174.4 kB / 16.07 MB, free: 5.605 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.292/1.292, allocations: 222.9 MB / 239.7 MB, free: 10.18 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.0007881/0.0007882, allocations: 101.3 kB / 290.5 MB, free: 10.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4336/0.4336, allocations: 78.42 MB / 419.6 MB, free: 9.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003486/0.0003488, allocations: 12 kB / 499.1 MB, free: 10.64 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.277, allocations: 68.74 MB / 0.5545 GB, free: 20.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.009629/0.2866, allocations: 15.76 MB / 0.5699 GB, free: 4.391 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.007627/0.2943, allocations: 4.729 MB / 0.5745 GB, free: 15.64 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002619/0.297, allocations: 36 kB / 0.5745 GB, free: 15.61 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002345/0.2994, allocations: 0.6251 MB / 0.5751 GB, free: 14.98 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007129/0.3065, allocations: 2.18 MB / 0.5773 GB, free: 12.82 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003224/0.3097, allocations: 1.24 MB / 0.5785 GB, free: 11.6 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.006269/0.316, allocations: 4.61 MB / 0.583 GB, free: 6.973 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00145/0.3175, allocations: 0.6981 MB / 0.5837 GB, free: 6.238 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002531/0.32, allocations: 1.606 MB / 0.5852 GB, free: 4.625 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003052/0.3231, allocations: 2.205 MB / 0.5874 GB, free: 2.41 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009245/0.324, allocations: 188 kB / 0.5876 GB, free: 2.227 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001367/0.3254, allocations: 403.8 kB / 0.588 GB, free: 1.832 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006206/0.326, allocations: 0.7541 MB / 0.5887 GB, free: 1.074 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001716/0.3278, allocations: 1.759 MB / 0.5904 GB, free: 15.3 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003561/0.3313, allocations: 4.07 MB / 0.5944 GB, free: 11.22 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3314, allocations: 0 / 0.5944 GB, free: 11.22 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3314, allocations: 0 / 0.5944 GB, free: 11.22 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.807e-05/0.3314, allocations: 0 / 0.5944 GB, free: 11.22 MB / 410.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.03519/0.3666, allocations: 8.803 MB / 0.603 GB, free: 2.348 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.3667, allocations: 8.031 kB / 0.603 GB, free: 2.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01136/0.3781, allocations: 1.755 MB / 0.6047 GB, free: 0.5781 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004573/0.3827, allocations: 2.167 MB / 0.6068 GB, free: 14.35 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007515/0.3835, allocations: 0.6663 MB / 0.6075 GB, free: 13.59 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000637/0.3841, allocations: 239.8 kB / 0.6077 GB, free: 13.36 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005729/0.3899, allocations: 2.685 MB / 0.6103 GB, free: 10.66 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.072e-05/0.3899, allocations: 0 / 0.6103 GB, free: 10.66 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002297/0.3901, allocations: 83.98 kB / 0.6104 GB, free: 10.58 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.292e-05/0.3902, allocations: 48 kB / 0.6104 GB, free: 10.54 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006118/0.3963, allocations: 2.822 MB / 0.6132 GB, free: 7.711 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.01985/0.4162, allocations: 11.07 MB / 0.624 GB, free: 12.11 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01152/0.4277, allocations: 4.975 MB / 0.6289 GB, free: 6.918 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004135/0.4319, allocations: 1.927 MB / 0.6308 GB, free: 4.988 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003006/0.4322, allocations: 49.94 kB / 0.6308 GB, free: 4.941 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.124e-05/0.4323, allocations: 56.56 kB / 0.6309 GB, free: 4.875 MB / 442.7 MB Notification: Performance of pre-optimization done (n=249): time 4.839e-06/0.4323, allocations: 0 / 0.6309 GB, free: 4.875 MB / 442.7 MB Notification: Performance of matching and sorting (n=249): time 0.1249/0.5572, allocations: 29.55 MB / 0.6597 GB, free: 7.25 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.27e-05/0.5573, allocations: 77.41 kB / 0.6598 GB, free: 7.164 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004077/0.5614, allocations: 2.902 MB / 0.6626 GB, free: 4.262 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006647/0.5621, allocations: 81.7 kB / 0.6627 GB, free: 4.176 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009958/0.5631, allocations: 1.26 MB / 0.6639 GB, free: 2.902 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001155/0.5642, allocations: 0.9013 MB / 0.6648 GB, free: 1.988 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005193/0.5648, allocations: 390.6 kB / 0.6652 GB, free: 1.598 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.053e-05/0.5649, allocations: 301.1 kB / 0.6655 GB, free: 1.301 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004877/0.5697, allocations: 2.284 MB / 0.6677 GB, free: 15 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004872/0.5746, allocations: 2.684 MB / 0.6703 GB, free: 12.23 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009142/0.5838, allocations: 4.851 MB / 0.6751 GB, free: 7.297 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.721e-05/0.5838, allocations: 3.938 kB / 0.6751 GB, free: 7.293 MB / 490.7 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01487/0.5987, allocations: 7.225 MB / 0.6821 GB, free: 56 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.951e-05/0.5988, allocations: 13.97 kB / 0.6821 GB, free: 44 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.5988, allocations: 4 kB / 0.6821 GB, free: 40 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2382/0.837, allocations: 5.727 MB / 0.6877 GB, free: 110.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003275/0.8403, allocations: 0.6605 MB / 0.6884 GB, free: 110.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01355/0.8539, allocations: 5.449 MB / 0.6937 GB, free: 108.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004465/0.8583, allocations: 0.5054 MB / 0.6942 GB, free: 108.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005112/0.8589, allocations: 139.5 kB / 0.6943 GB, free: 108.4 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (410): * Single equations (assignments): 409 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(62,60)} Notification: Performance of prepare postOptimizeDAE: time 0.001312/0.8602, allocations: 0.5321 MB / 0.6948 GB, free: 108 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006839/0.8609, allocations: 330.4 kB / 0.6952 GB, free: 108 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0311/0.892, allocations: 10.52 MB / 0.7054 GB, free: 105.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.169e-05/0.8921, allocations: 28 kB / 0.7055 GB, free: 105.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/0.8921, allocations: 1.125 kB / 0.7055 GB, free: 105.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.891e-05/0.8921, allocations: 14.58 kB / 0.7055 GB, free: 105.2 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.03514/0.9273, allocations: 14.65 MB / 0.7198 GB, free: 90.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.907e-05/0.9273, allocations: 0 / 0.7198 GB, free: 90.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00144/0.9288, allocations: 255.6 kB / 0.72 GB, free: 90.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01474/0.9435, allocations: 4.77 MB / 0.7247 GB, free: 85.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005502/0.9441, allocations: 48 kB / 0.7247 GB, free: 85.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0454/0.9895, allocations: 19.61 MB / 0.7439 GB, free: 66.06 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.9896, allocations: 3.719 kB / 0.7439 GB, free: 66.06 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0375/1.027, allocations: 12.81 MB / 0.7564 GB, free: 53.16 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00106/1.028, allocations: 493.7 kB / 0.7569 GB, free: 52.68 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001153/1.029, allocations: 51.98 kB / 0.7569 GB, free: 52.63 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003565/1.033, allocations: 247.7 kB / 0.7571 GB, free: 52.39 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001847/1.035, allocations: 0.506 MB / 0.7576 GB, free: 51.88 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002137/1.035, allocations: 60 kB / 0.7577 GB, free: 51.82 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002586/1.038, allocations: 1.881 MB / 0.7595 GB, free: 49.95 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.3e-07/1.038, allocations: 0 / 0.7595 GB, free: 49.95 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003357/1.041, allocations: 1.13 MB / 0.7606 GB, free: 48.82 MB / 490.7 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(54,52)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004356/1.041, allocations: 176.6 kB / 0.7608 GB, free: 48.64 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01534/1.057, allocations: 6.077 MB / 0.7667 GB, free: 42.55 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/1.057, allocations: 0 / 0.7667 GB, free: 42.55 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01052/1.067, allocations: 3.696 MB / 0.7703 GB, free: 38.84 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00257/1.07, allocations: 267.1 kB / 0.7706 GB, free: 38.58 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009804/1.08, allocations: 7.502 MB / 0.7779 GB, free: 31.06 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009307/1.081, allocations: 1.849 MB / 0.7797 GB, free: 29.18 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001316/1.082, allocations: 187.4 kB / 0.7799 GB, free: 29 MB / 490.7 MB Notification: Performance of SimCode: time 1.153e-06/1.082, allocations: 0 / 0.7799 GB, free: 29 MB / 490.7 MB Notification: Performance of Templates: time 0.06734/1.149, allocations: 54.98 MB / 0.8336 GB, free: 5.957 MB / 0.5105 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)