Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.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_PSAT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001322/0.001322, allocations: 174.7 kB / 7.644 MB, free: 1.41 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.351/1.351, allocations: 205.3 MB / 213.4 MB, free: 13.75 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.0009053/0.0009054, allocations: 93.36 kB / 261.4 MB, free: 13.43 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.08331/0.08331, allocations: 12.6 MB / 321.9 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2931/0.2931, allocations: 78.06 MB / 450.8 MB, free: 3.023 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.481e-05/1.459e-05, allocations: 0 / 0.5147 GB, free: 29.6 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1267, allocations: 69.33 MB / 0.5824 GB, free: 8.391 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4126/0.5393, allocations: 100.8 MB / 0.6809 GB, free: 7.188 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000148/0.5395, allocations: 72.22 kB / 0.6809 GB, free: 7.152 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1714/0.7109, allocations: 70.24 MB / 0.7495 GB, free: 11.61 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.711, allocations: 0 / 0.7495 GB, free: 11.61 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001377/0.7111, allocations: 51.94 kB / 0.7496 GB, free: 11.55 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: 451 * Number of variables: 451 Notification: Performance of Generate backend data structure: time 0.009456/0.7206, allocations: 3.449 MB / 0.7529 GB, free: 8.047 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.7207, allocations: 8.031 kB / 0.7529 GB, free: 8.039 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00894/0.7296, allocations: 1.459 MB / 0.7544 GB, free: 6.574 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003683/0.7333, allocations: 1.722 MB / 0.7561 GB, free: 4.793 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003975/0.7337, allocations: 390.8 kB / 0.7564 GB, free: 4.355 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003136/0.734, allocations: 111.9 kB / 0.7565 GB, free: 4.246 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003331/0.7374, allocations: 1.952 MB / 0.7584 GB, free: 2.293 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003221/0.7406, allocations: 1.781 MB / 0.7602 GB, free: 0.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.15e-05/0.7407, allocations: 0 / 0.7602 GB, free: 0.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001786/0.7409, allocations: 0 / 0.7602 GB, free: 0.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.056e-05/0.7409, allocations: 44 kB / 0.7602 GB, free: 468 kB / 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.01619/0.7571, allocations: 9.234 MB / 0.7692 GB, free: 6.793 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008992/0.7661, allocations: 4.264 MB / 0.7734 GB, free: 2.309 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002034/0.7682, allocations: 1.283 MB / 0.7747 GB, free: 1.027 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000248/0.7684, allocations: 37.97 kB / 0.7747 GB, free: 0.9922 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.213e-05/0.7685, allocations: 60.52 kB / 0.7748 GB, free: 0.9219 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=223): time 4.248e-06/0.7685, allocations: 0 / 0.7748 GB, free: 0.9219 MB / 0.4948 GB Notification: Performance of matching and sorting (n=223): time 0.0247/0.7932, allocations: 8.119 MB / 0.7827 GB, free: 8.781 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.7933, allocations: 77.34 kB / 0.7828 GB, free: 8.695 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003505/0.7968, allocations: 2.058 MB / 0.7848 GB, free: 6.629 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005546/0.7974, allocations: 29.7 kB / 0.7848 GB, free: 6.594 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000958/0.7983, allocations: 1.224 MB / 0.786 GB, free: 5.355 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008977/0.7992, allocations: 0.7504 MB / 0.7867 GB, free: 4.594 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/0.7994, allocations: 0 / 0.7867 GB, free: 4.594 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001746/0.7996, allocations: 390.2 kB / 0.7871 GB, free: 4.207 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001933/0.8015, allocations: 1.02 MB / 0.7881 GB, free: 3.184 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002249/0.8038, allocations: 1.28 MB / 0.7893 GB, free: 1.809 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002134/0.8059, allocations: 1.146 MB / 0.7905 GB, free: 0.6641 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.285e-05/0.8059, allocations: 8 kB / 0.7905 GB, free: 0.6562 MB / 0.5105 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.01697/0.8229, allocations: 5.925 MB / 0.7963 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.336e-05/0.823, allocations: 11.95 kB / 0.7963 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/0.823, allocations: 4 kB / 0.7963 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01278/0.8358, allocations: 3.237 MB / 0.7994 GB, free: 7.363 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007064/0.8429, allocations: 1.495 MB / 0.8009 GB, free: 5.867 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02648/0.8694, allocations: 17.1 MB / 0.8176 GB, free: 3.914 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004254/0.8737, allocations: 322 kB / 0.8179 GB, free: 3.598 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006999/0.8744, allocations: 79.97 kB / 0.818 GB, free: 3.52 MB / 0.5417 GB Warning: Assuming fixed start value for the following 8 variables: g4.order6_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real g3.order6_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real g2.order6_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real g1.order6_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real g4.order6_1.e2d:VARIABLE(start = g4.order6_1.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real g4.order6_1.delta:VARIABLE(start = g4.order6_1.delta0 unit = "rad" ) "Rotor angle" type: Real g3.order6_1.e2d:VARIABLE(start = g3.order6_1.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real g3.order6_1.delta:VARIABLE(start = g3.order6_1.delta0 unit = "rad" ) "Rotor angle" 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (203): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 9 {(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: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(4,75.0%) 2,(4,75.0%) 2,(1,100.0%) 1,(3,88.9%) 17,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {8 22} Notification: Performance of prepare postOptimizeDAE: time 0.0009449/0.8754, allocations: 165.4 kB / 0.8181 GB, free: 3.355 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001106/0.8765, allocations: 304.4 kB / 0.8184 GB, free: 3.055 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02495/0.9015, allocations: 8.361 MB / 0.8266 GB, free: 10.68 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.211e-05/0.9015, allocations: 24 kB / 0.8266 GB, free: 10.65 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.9016, allocations: 7.938 kB / 0.8266 GB, free: 10.64 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.182e-05/0.9016, allocations: 11.97 kB / 0.8266 GB, free: 10.63 MB / 0.5573 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.03053/0.9322, allocations: 12.13 MB / 0.8385 GB, free: 14.29 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-05/0.9322, allocations: 0 / 0.8385 GB, free: 14.29 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001768/0.934, allocations: 219.7 kB / 0.8387 GB, free: 14.07 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0126/0.9466, allocations: 3.94 MB / 0.8425 GB, free: 10.12 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006168/0.9473, allocations: 19.98 kB / 0.8425 GB, free: 10.11 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02834/0.9756, allocations: 13.01 MB / 0.8553 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.9757, allocations: 3.953 kB / 0.8553 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02738/1.003, allocations: 10.12 MB / 0.8651 GB, free: 2.801 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001524/1.005, allocations: 472.6 kB / 0.8656 GB, free: 2.316 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007201/1.005, allocations: 11.92 kB / 0.8656 GB, free: 2.305 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002597/1.008, allocations: 179.8 kB / 0.8658 GB, free: 2.129 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001097/1.009, allocations: 374.1 kB / 0.8661 GB, free: 1.762 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001633/1.009, allocations: 60 kB / 0.8662 GB, free: 1.703 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002268/1.012, allocations: 1.551 MB / 0.8677 GB, free: 156 kB / 0.5886 GB Notification: Performance of sort global known variables: time 1.9e-07/1.012, allocations: 0 / 0.8677 GB, free: 156 kB / 0.5886 GB Notification: Performance of remove unused functions: time 0.3023/1.314, allocations: 0.9037 MB / 0.8686 GB, free: 166.8 MB / 0.5886 GB 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 () * 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 (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 42} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008004/1.315, allocations: 276.9 kB / 0.8688 GB, free: 166.7 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01123/1.326, allocations: 5.281 MB / 0.874 GB, free: 165 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/1.326, allocations: 1.625 kB / 0.874 GB, free: 165 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.00927/1.335, allocations: 3.159 MB / 0.8771 GB, free: 164.7 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002148/1.338, allocations: 174.7 kB / 0.8773 GB, free: 164.7 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00766/1.345, allocations: 4.628 MB / 0.8818 GB, free: 163.4 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00127/1.346, allocations: 1.823 MB / 0.8836 GB, free: 162.6 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001065/1.348, allocations: 199.5 kB / 0.8837 GB, free: 162.6 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006263/1.348, allocations: 128.6 kB / 0.8839 GB, free: 162.6 MB / 0.5886 GB Notification: Performance of SimCode: time 7.21e-07/1.348, allocations: 1.094 kB / 0.8839 GB, free: 162.6 MB / 0.5886 GB Notification: Performance of Templates: time 0.06617/1.414, allocations: 44.1 MB / 0.9269 GB, free: 160.3 MB / 0.5886 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe 2>&1)