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.001448/0.001448, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 221.5 MB / 229.6 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008102/0.0008102, allocations: 90.86 kB / 280.5 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5303/0.5303, allocations: 78.94 MB / 410.2 MB, free: 6.004 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.432e-05/1.434e-05, allocations: 0 / 485.9 MB, free: 11.53 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1615, allocations: 69.52 MB / 0.5424 GB, free: 5.914 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4221/0.5836, allocations: 99.96 MB / 0.64 GB, free: 14.17 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/0.5839, allocations: 72.7 kB / 0.6401 GB, free: 14.1 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.184/0.7679, allocations: 73.1 MB / 0.7115 GB, free: 4.793 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.603e-06/0.768, allocations: 3.938 kB / 0.7115 GB, free: 4.789 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001392/0.7681, allocations: 52 kB / 0.7116 GB, free: 4.738 MB / 0.5105 GB 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.01182/0.78, allocations: 3.453 MB / 0.7149 GB, free: 1.227 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.78, allocations: 12.03 kB / 0.7149 GB, free: 1.215 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01001/0.79, allocations: 1.461 MB / 0.7164 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004998/0.7951, allocations: 1.728 MB / 0.7181 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004743/0.7956, allocations: 382.8 kB / 0.7184 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004367/0.796, allocations: 115.9 kB / 0.7185 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003705/0.7997, allocations: 1.948 MB / 0.7204 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003346/0.8031, allocations: 1.785 MB / 0.7222 GB, free: 9.672 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.166e-05/0.8031, allocations: 0 / 0.7222 GB, free: 9.672 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001798/0.8033, allocations: 3.953 kB / 0.7222 GB, free: 9.668 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.92e-05/0.8034, allocations: 44 kB / 0.7222 GB, free: 9.625 MB / 0.5261 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.01848/0.8219, allocations: 9.226 MB / 0.7312 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009621/0.8315, allocations: 4.26 MB / 0.7354 GB, free: 11.49 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002406/0.834, allocations: 1.288 MB / 0.7366 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002608/0.8342, allocations: 33.97 kB / 0.7367 GB, free: 10.17 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.71e-05/0.8343, allocations: 57.22 kB / 0.7367 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=223): time 5.15e-06/0.8343, allocations: 4 kB / 0.7367 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=223): time 0.02589/0.8602, allocations: 8.115 MB / 0.7447 GB, free: 1.969 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.672e-05/0.8603, allocations: 81.41 kB / 0.7447 GB, free: 1.879 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004294/0.8646, allocations: 2.062 MB / 0.7468 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0007334/0.8654, allocations: 29.64 kB / 0.7468 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00109/0.8665, allocations: 1.221 MB / 0.748 GB, free: 14.54 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001404/0.8679, allocations: 0.7522 MB / 0.7487 GB, free: 13.78 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001541/0.868, allocations: 0 / 0.7487 GB, free: 13.78 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000203/0.8683, allocations: 390.2 kB / 0.7491 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001882/0.8701, allocations: 1.016 MB / 0.7501 GB, free: 12.37 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001962/0.8721, allocations: 1.272 MB / 0.7513 GB, free: 11 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001924/0.8741, allocations: 1.154 MB / 0.7524 GB, free: 9.852 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/0.8741, allocations: 4 kB / 0.7524 GB, free: 9.848 MB / 0.5573 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.01795/0.892, allocations: 5.921 MB / 0.7582 GB, free: 3.863 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.708e-05/0.8921, allocations: 4 kB / 0.7582 GB, free: 3.859 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.228e-05/0.8921, allocations: 9.016 kB / 0.7582 GB, free: 3.852 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01347/0.9056, allocations: 3.253 MB / 0.7614 GB, free: 0.5508 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3882/1.294, allocations: 1.496 MB / 0.7629 GB, free: 114 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03447/1.328, allocations: 17.1 MB / 0.7796 GB, free: 105.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006207/1.335, allocations: 327.4 kB / 0.7799 GB, free: 105.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009793/1.336, allocations: 80.95 kB / 0.78 GB, free: 105.3 MB / 0.5573 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.0009995/1.337, allocations: 162.1 kB / 0.7801 GB, free: 105.2 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001508/1.338, allocations: 301.1 kB / 0.7804 GB, free: 105 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03693/1.375, allocations: 8.367 MB / 0.7886 GB, free: 104.8 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.415e-05/1.375, allocations: 23.44 kB / 0.7886 GB, free: 104.8 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/1.375, allocations: 1.219 kB / 0.7886 GB, free: 104.8 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.055e-05/1.375, allocations: 10.44 kB / 0.7886 GB, free: 104.8 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.05051/1.426, allocations: 12.14 MB / 0.8005 GB, free: 103.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.541e-05/1.426, allocations: 0.7031 kB / 0.8005 GB, free: 103.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002883/1.429, allocations: 223.1 kB / 0.8007 GB, free: 103.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02395/1.453, allocations: 3.945 MB / 0.8045 GB, free: 103.4 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008211/1.454, allocations: 11.8 kB / 0.8045 GB, free: 103.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05087/1.505, allocations: 13.02 MB / 0.8172 GB, free: 101.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.822e-06/1.505, allocations: 0 / 0.8172 GB, free: 101.7 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03364/1.538, allocations: 10.11 MB / 0.8271 GB, free: 99.6 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001652/1.54, allocations: 473.2 kB / 0.8276 GB, free: 99.26 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001698/1.542, allocations: 7.906 kB / 0.8276 GB, free: 99.26 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004126/1.546, allocations: 182.4 kB / 0.8278 GB, free: 99.25 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001896/1.548, allocations: 378.8 kB / 0.8281 GB, free: 99.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005474/1.548, allocations: 62.62 kB / 0.8282 GB, free: 99.18 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.003658/1.552, allocations: 1.55 MB / 0.8297 GB, free: 98.49 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.21e-07/1.552, allocations: 2.875 kB / 0.8297 GB, free: 98.49 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005454/1.558, allocations: 0.911 MB / 0.8306 GB, free: 98.45 MB / 0.5573 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.0009194/1.558, allocations: 284.4 kB / 0.8309 GB, free: 98.33 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01145/1.57, allocations: 5.277 MB / 0.836 GB, free: 95.32 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/1.57, allocations: 256 / 0.836 GB, free: 95.32 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.009789/1.58, allocations: 3.164 MB / 0.8391 GB, free: 94.21 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002835/1.583, allocations: 178.3 kB / 0.8393 GB, free: 94.09 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/1.593, allocations: 4.621 MB / 0.8438 GB, free: 91.77 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001796/1.595, allocations: 1.818 MB / 0.8456 GB, free: 90.98 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001615/1.597, allocations: 206.3 kB / 0.8458 GB, free: 90.95 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001176/1.598, allocations: 132 kB / 0.8459 GB, free: 90.93 MB / 0.5573 GB Notification: Performance of SimCode: time 1.743e-06/1.598, allocations: 0 / 0.8459 GB, free: 90.93 MB / 0.5573 GB Notification: Performance of Templates: time 0.0942/1.692, allocations: 44.14 MB / 0.889 GB, free: 75.46 MB / 0.5573 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)