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.0009683/0.0009683, allocations: 176.6 kB / 15.42 MB, free: 6.207 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.271/1.271, allocations: 222.9 MB / 239 MB, free: 15.91 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.0007275/0.0007275, allocations: 95.56 kB / 289.8 MB, free: 4.582 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3044/0.3044, allocations: 78.43 MB / 419 MB, free: 56 kB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003743/0.0003743, allocations: 12 kB / 498.4 MB, free: 35.49 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.2964, allocations: 68.74 MB / 0.5539 GB, free: 10.42 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01117/0.3076, allocations: 15.76 MB / 0.5693 GB, free: 15.2 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.008774/0.3164, allocations: 4.738 MB / 0.5739 GB, free: 11.74 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003213/0.3197, allocations: 31.47 kB / 0.5739 GB, free: 11.74 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002002/0.3217, allocations: 0.6223 MB / 0.5745 GB, free: 11.49 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006763/0.3285, allocations: 2.172 MB / 0.5766 GB, free: 10.08 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003136/0.3316, allocations: 1.239 MB / 0.5779 GB, free: 9.387 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.007492/0.3391, allocations: 4.607 MB / 0.5824 GB, free: 7.203 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001223/0.3404, allocations: 0.7044 MB / 0.583 GB, free: 6.844 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003071/0.3435, allocations: 1.605 MB / 0.5846 GB, free: 6.125 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003374/0.3469, allocations: 2.2 MB / 0.5868 GB, free: 4.871 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007812/0.3476, allocations: 185.9 kB / 0.5869 GB, free: 4.871 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001424/0.3491, allocations: 416.9 kB / 0.5873 GB, free: 4.746 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006209/0.3497, allocations: 0.7446 MB / 0.5881 GB, free: 4.141 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00185/0.3516, allocations: 1.76 MB / 0.5898 GB, free: 2.836 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004774/0.3564, allocations: 5.008 MB / 0.5947 GB, free: 15 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3564, allocations: 1.469 kB / 0.5947 GB, free: 15 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3564, allocations: 0 / 0.5947 GB, free: 15 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001032/0.3565, allocations: 0 / 0.5947 GB, free: 15 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.03381/0.3903, allocations: 8.807 MB / 0.6033 GB, free: 8.746 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.3904, allocations: 12.03 kB / 0.6033 GB, free: 8.734 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01116/0.4015, allocations: 1.744 MB / 0.605 GB, free: 6.984 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004377/0.406, allocations: 2.167 MB / 0.6071 GB, free: 4.758 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006356/0.4066, allocations: 0.6663 MB / 0.6078 GB, free: 4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004732/0.4071, allocations: 243.8 kB / 0.608 GB, free: 3.762 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005251/0.4124, allocations: 2.682 MB / 0.6106 GB, free: 1.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.006e-05/0.4124, allocations: 0 / 0.6106 GB, free: 1.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002108/0.4126, allocations: 80 kB / 0.6107 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.649e-05/0.4127, allocations: 48 kB / 0.6107 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005699/0.4184, allocations: 2.842 MB / 0.6135 GB, free: 14.1 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.01839/0.4368, allocations: 11.05 MB / 0.6243 GB, free: 2.512 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01092/0.4477, allocations: 4.967 MB / 0.6291 GB, free: 13.33 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003991/0.4518, allocations: 1.932 MB / 0.631 GB, free: 11.4 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002743/0.4521, allocations: 41.95 kB / 0.6311 GB, free: 11.36 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.162e-05/0.4521, allocations: 60.56 kB / 0.6311 GB, free: 11.29 MB / 442.7 MB Notification: Performance of pre-optimization done (n=249): time 4.348e-06/0.4521, allocations: 0 / 0.6311 GB, free: 11.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=249): time 0.115/0.5671, allocations: 29.56 MB / 0.66 GB, free: 13.66 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.903e-05/0.5673, allocations: 81.34 kB / 0.6601 GB, free: 13.57 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003899/0.5712, allocations: 2.902 MB / 0.6629 GB, free: 10.66 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006362/0.5718, allocations: 81.7 kB / 0.663 GB, free: 10.58 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008817/0.5727, allocations: 1.26 MB / 0.6642 GB, free: 9.305 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009806/0.5737, allocations: 0.9013 MB / 0.6651 GB, free: 8.391 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004845/0.5742, allocations: 390.6 kB / 0.6655 GB, free: 8 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.535e-05/0.5743, allocations: 305.1 kB / 0.6658 GB, free: 7.699 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004567/0.5788, allocations: 2.284 MB / 0.668 GB, free: 5.406 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00523/0.5841, allocations: 2.669 MB / 0.6706 GB, free: 2.645 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009206/0.5933, allocations: 4.847 MB / 0.6753 GB, free: 13.72 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.331e-05/0.5934, allocations: 11.88 kB / 0.6753 GB, free: 13.71 MB / 490.7 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01438/0.6077, allocations: 7.228 MB / 0.6824 GB, free: 6.465 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.144e-05/0.6078, allocations: 8 kB / 0.6824 GB, free: 6.457 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/0.6078, allocations: 4 kB / 0.6824 GB, free: 6.453 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01769/0.6255, allocations: 5.734 MB / 0.688 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00319/0.6287, allocations: 0.6709 MB / 0.6887 GB, free: 44 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01214/0.6409, allocations: 5.45 MB / 0.694 GB, free: 10.56 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004463/0.6454, allocations: 0.504 MB / 0.6945 GB, free: 10.05 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003582/0.6458, allocations: 136 kB / 0.6946 GB, free: 9.922 MB / 0.4949 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 () * 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.001114/0.6469, allocations: 0.5213 MB / 0.6951 GB, free: 9.391 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005948/0.6475, allocations: 331.7 kB / 0.6954 GB, free: 9.062 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03183/0.6793, allocations: 10.53 MB / 0.7057 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-05/0.6794, allocations: 27.94 kB / 0.7057 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.6794, allocations: 0 / 0.7057 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.522e-05/0.6795, allocations: 11.95 kB / 0.7058 GB, free: 14.42 MB / 0.5105 GB 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.04052/0.7201, allocations: 14.65 MB / 0.7201 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.098e-05/0.7201, allocations: 3.938 kB / 0.7201 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001556/0.7217, allocations: 259.6 kB / 0.7203 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01533/0.737, allocations: 4.761 MB / 0.725 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005544/0.7376, allocations: 55.98 kB / 0.725 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04727/0.7849, allocations: 19.61 MB / 0.7442 GB, free: 6.648 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.785, allocations: 0 / 0.7442 GB, free: 6.648 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03779/0.8228, allocations: 12.81 MB / 0.7567 GB, free: 9.738 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001375/0.8242, allocations: 492.2 kB / 0.7571 GB, free: 9.234 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009808/0.8252, allocations: 48 kB / 0.7572 GB, free: 9.188 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002946/0.8281, allocations: 251.7 kB / 0.7574 GB, free: 8.941 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001777/0.8299, allocations: 0.4982 MB / 0.7579 GB, free: 8.441 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001756/0.8301, allocations: 63.98 kB / 0.758 GB, free: 8.379 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.002731/0.8328, allocations: 1.885 MB / 0.7598 GB, free: 6.5 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8329, allocations: 0 / 0.7598 GB, free: 6.5 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.00376/0.8366, allocations: 1.128 MB / 0.7609 GB, free: 5.371 MB / 0.5574 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 () * 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.000478/0.8371, allocations: 186.9 kB / 0.7611 GB, free: 5.18 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.2267/1.064, allocations: 6.075 MB / 0.767 GB, free: 186.1 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 7.754e-06/1.064, allocations: 0 / 0.767 GB, free: 186.1 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.01113/1.075, allocations: 3.695 MB / 0.7706 GB, free: 185.7 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002484/1.078, allocations: 266 kB / 0.7709 GB, free: 185.7 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01087/1.088, allocations: 7.45 MB / 0.7782 GB, free: 181.8 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001522/1.09, allocations: 1.844 MB / 0.78 GB, free: 181 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.001505/1.092, allocations: 296 kB / 0.7803 GB, free: 180.9 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006834/1.092, allocations: 176.6 kB / 0.7804 GB, free: 180.9 MB / 0.5574 GB Notification: Performance of SimCode: time 1.323e-06/1.092, allocations: 1.125 kB / 0.7804 GB, free: 180.9 MB / 0.5574 GB Notification: Performance of Templates: time 0.07361/1.166, allocations: 54 MB / 0.8332 GB, free: 142.5 MB / 0.5574 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)