Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.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_PSAT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 183.2 kB / 15.98 MB, free: 5.77 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.297/1.297, allocations: 222.9 MB / 239.7 MB, free: 10.98 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.0009405/0.0009404, allocations: 117.1 kB / 289.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4178/0.4178, allocations: 78.48 MB / 418.5 MB, free: 8.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 72.16 kB / 497.4 MB, free: 10.7 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2517, allocations: 68.12 MB / 0.5523 GB, free: 20.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT): time 0.008519/0.2603, allocations: 14.84 MB / 0.5668 GB, free: 5.32 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005899/0.2662, allocations: 4.229 MB / 0.5709 GB, free: 1.074 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002025/0.2683, allocations: 24 kB / 0.571 GB, free: 1.051 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001585/0.2699, allocations: 0.5379 MB / 0.5715 GB, free: 0.5117 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003778/0.2737, allocations: 1.396 MB / 0.5728 GB, free: 15.12 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002441/0.2761, allocations: 1.179 MB / 0.574 GB, free: 13.95 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.004513/0.2806, allocations: 3.875 MB / 0.5778 GB, free: 10.06 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001023/0.2817, allocations: 0.6755 MB / 0.5784 GB, free: 9.344 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001896/0.2836, allocations: 1.454 MB / 0.5799 GB, free: 7.883 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002476/0.2861, allocations: 1.96 MB / 0.5818 GB, free: 5.914 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007183/0.2868, allocations: 196 kB / 0.582 GB, free: 5.723 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009905/0.2878, allocations: 331.9 kB / 0.5823 GB, free: 5.398 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005328/0.2884, allocations: 0.6685 MB / 0.5829 GB, free: 4.727 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001489/0.2899, allocations: 1.588 MB / 0.5845 GB, free: 3.129 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003691/0.2936, allocations: 4.395 MB / 0.5888 GB, free: 14.72 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.822e-06/0.2936, allocations: 4 kB / 0.5888 GB, free: 14.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.2936, allocations: 0 / 0.5888 GB, free: 14.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.411e-05/0.2937, allocations: 4 kB / 0.5888 GB, free: 14.71 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: 451 * Number of variables: 451 Notification: Performance of Generate backend data structure: time 0.01985/0.3135, allocations: 5.783 MB / 0.5944 GB, free: 8.855 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.3136, allocations: 12.02 kB / 0.5944 GB, free: 8.844 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01269/0.3263, allocations: 2.048 MB / 0.5964 GB, free: 6.789 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00397/0.3303, allocations: 2.026 MB / 0.5984 GB, free: 4.699 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004181/0.3307, allocations: 439.1 kB / 0.5988 GB, free: 4.215 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005192/0.3313, allocations: 191.9 kB / 0.599 GB, free: 4.027 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004697/0.336, allocations: 2.311 MB / 0.6013 GB, free: 1.703 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.147e-05/0.3361, allocations: 3.938 kB / 0.6013 GB, free: 1.699 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001955/0.3363, allocations: 68 kB / 0.6013 GB, free: 1.633 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.218e-05/0.3363, allocations: 51.94 kB / 0.6014 GB, free: 1.582 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004524/0.3408, allocations: 2.317 MB / 0.6037 GB, free: 15.26 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.01753/0.3584, allocations: 9.721 MB / 0.6131 GB, free: 5.094 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009992/0.3684, allocations: 4.176 MB / 0.6172 GB, free: 0.6992 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003318/0.3717, allocations: 1.607 MB / 0.6188 GB, free: 15.09 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002733/0.372, allocations: 41.95 kB / 0.6188 GB, free: 15.05 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.3721, allocations: 60.5 kB / 0.6189 GB, free: 14.98 MB / 442.7 MB Notification: Performance of pre-optimization done (n=223): time 4.228e-06/0.3721, allocations: 0 / 0.6189 GB, free: 14.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=223): time 0.09128/0.4634, allocations: 20.09 MB / 0.6385 GB, free: 10.83 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.22e-05/0.4635, allocations: 73.41 kB / 0.6386 GB, free: 10.75 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004109/0.4676, allocations: 2.694 MB / 0.6412 GB, free: 8.039 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005417/0.4682, allocations: 69.7 kB / 0.6413 GB, free: 7.965 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008838/0.4691, allocations: 1.165 MB / 0.6424 GB, free: 6.789 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001018/0.4701, allocations: 0.8089 MB / 0.6432 GB, free: 5.969 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001143/0.4712, allocations: 0.5933 MB / 0.6438 GB, free: 5.367 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.464e-05/0.4713, allocations: 301.1 kB / 0.6441 GB, free: 5.07 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003591/0.4749, allocations: 1.791 MB / 0.6458 GB, free: 3.277 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00397/0.4789, allocations: 2.162 MB / 0.6479 GB, free: 1.031 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05903/0.538, allocations: 13.08 MB / 0.6607 GB, free: 3.824 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.23e-05/0.538, allocations: 4 kB / 0.6607 GB, free: 3.82 MB / 474.7 MB Notification: Performance of matching and sorting (n=429) (initialization): time 0.02093/0.559, allocations: 7.452 MB / 0.668 GB, free: 12.29 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/0.559, allocations: 8 kB / 0.668 GB, free: 12.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.223e-05/0.5591, allocations: 4 kB / 0.668 GB, free: 12.28 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01342/0.5725, allocations: 3.231 MB / 0.6712 GB, free: 9.008 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008265/0.5808, allocations: 1.424 MB / 0.6725 GB, free: 7.582 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2326/0.8134, allocations: 15.55 MB / 0.6877 GB, free: 105 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004325/0.8177, allocations: 385.6 kB / 0.6881 GB, free: 105 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004087/0.8182, allocations: 122.6 kB / 0.6882 GB, free: 105 MB / 490.7 MB Warning: Assuming fixed start value for the following 8 variables: g4.order6_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real g3.order6_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real g2.order6_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real g1.order6_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real g1.order6_1.delta:VARIABLE(flow=false start = g1.order6_1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real g1.order6_1.e1d:VARIABLE(start = g1.order6_1.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real g2.order6_1.delta:VARIABLE(flow=false start = g2.order6_1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real g2.order6_1.e1d:VARIABLE(start = g2.order6_1.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (361): * Single equations (assignments): 347 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 9 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,2,75.0%), (4,2,75.0%), (1,1,100.0%), (3,17,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,22)} Notification: Performance of prepare postOptimizeDAE: time 0.00112/0.8193, allocations: 0.4963 MB / 0.6887 GB, free: 104.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005959/0.8199, allocations: 305.1 kB / 0.689 GB, free: 104.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02552/0.8454, allocations: 8.131 MB / 0.6969 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.261e-05/0.8455, allocations: 23.5 kB / 0.6969 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.8455, allocations: 3.938 kB / 0.697 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.574e-05/0.8455, allocations: 10.97 kB / 0.697 GB, free: 102.6 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.029/0.8745, allocations: 12.13 MB / 0.7088 GB, free: 97.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.79e-05/0.8746, allocations: 4 kB / 0.7088 GB, free: 97.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001682/0.8763, allocations: 224 kB / 0.709 GB, free: 97.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01311/0.8894, allocations: 4.165 MB / 0.7131 GB, free: 94.09 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005299/0.89, allocations: 52.72 kB / 0.7131 GB, free: 94.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03407/0.9241, allocations: 15.15 MB / 0.7279 GB, free: 78.83 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.9241, allocations: 0 / 0.7279 GB, free: 78.83 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1899/1.114, allocations: 67.69 MB / 0.794 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001064/1.115, allocations: 464.6 kB / 0.7945 GB, free: 10.36 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00102/1.116, allocations: 51.92 kB / 0.7945 GB, free: 10.31 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003279/1.12, allocations: 167.8 kB / 0.7947 GB, free: 10.14 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001412/1.121, allocations: 370.4 kB / 0.7951 GB, free: 9.785 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003623/1.121, allocations: 51.98 kB / 0.7951 GB, free: 9.734 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002633/1.124, allocations: 1.779 MB / 0.7968 GB, free: 7.957 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.61e-07/1.124, allocations: 0 / 0.7968 GB, free: 7.957 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005345/1.129, allocations: 1.561 MB / 0.7984 GB, free: 6.395 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 24 (g1.order6_1.delta,g1.order6_1.w,g1.order6_1.e1q,g1.order6_1.e1d,g1.order6_1.e2q,g1.order6_1.e2d,g2.order6_1.delta,g2.order6_1.w,g2.order6_1.e1q,g2.order6_1.e1d,g2.order6_1.e2q,g2.order6_1.e2d,g3.order6_1.delta,g3.order6_1.w,g3.order6_1.e1q,g3.order6_1.e1d,g3.order6_1.e2q,g3.order6_1.e2d,g4.order6_1.delta,g4.order6_1.w,g4.order6_1.e1q,g4.order6_1.e1d,g4.order6_1.e2q,g4.order6_1.e2d) * 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 (136): * Single equations (assignments): 135 * 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,42)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005314/1.13, allocations: 172.2 kB / 0.7985 GB, free: 6.219 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01327/1.143, allocations: 6.345 MB / 0.8047 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/1.143, allocations: 0 / 0.8047 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01005/1.153, allocations: 3.294 MB / 0.8079 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00278/1.156, allocations: 234.1 kB / 0.8082 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02029/1.176, allocations: 9.733 MB / 0.8177 GB, free: 2.312 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002056/1.178, allocations: 1.851 MB / 0.8195 GB, free: 444 kB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001689/1.18, allocations: 266.4 kB / 0.8197 GB, free: 176 kB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001202/1.181, allocations: 167.4 kB / 0.8199 GB, free: 8 kB / 0.4948 GB Notification: Performance of SimCode: time 6.52e-07/1.181, allocations: 0 / 0.8199 GB, free: 8 kB / 0.4948 GB Notification: Performance of Templates: time 0.11/1.291, allocations: 75.84 MB / 0.894 GB, free: 4.25 MB / 0.573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.sim & ./OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe 2>&1)