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: "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSAT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSAT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008806/0.0008807, allocations: 174.5 kB / 12.73 MB, free: 2.59 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.245/1.245, allocations: 221.4 MB / 234.6 MB, free: 14.44 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.0008708/0.0008708, allocations: 92.25 kB / 285.6 MB, free: 12.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4556/0.4556, allocations: 78.91 MB / 415.4 MB, free: 10.22 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.167e-05/3.187e-05, allocations: 4 kB / 492.9 MB, free: 12.98 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3559, allocations: 69.5 MB / 0.5492 GB, free: 19.55 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1272/0.4832, allocations: 100.6 MB / 0.6475 GB, free: 14.94 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000206/0.4835, allocations: 75.95 kB / 0.6475 GB, free: 14.86 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4944/0.9779, allocations: 74.17 MB / 0.72 GB, free: 87.86 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.9779, allocations: 0 / 0.72 GB, free: 87.86 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002492/0.9782, allocations: 56 kB / 0.72 GB, free: 87.8 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.01154/0.9897, allocations: 3.458 MB / 0.7234 GB, free: 84.29 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.9898, allocations: 11.97 kB / 0.7234 GB, free: 84.28 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001004/0.9908, allocations: 261.4 kB / 0.7237 GB, free: 84.01 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009179/1, allocations: 1.457 MB / 0.7251 GB, free: 82.55 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00474/1.005, allocations: 1.732 MB / 0.7268 GB, free: 80.76 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004333/1.005, allocations: 450.8 kB / 0.7272 GB, free: 80.26 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008788/1.006, allocations: 187.9 kB / 0.7274 GB, free: 80.08 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005177/1.011, allocations: 2.026 MB / 0.7294 GB, free: 78.04 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.547e-05/1.011, allocations: 0 / 0.7294 GB, free: 78.04 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003986/1.012, allocations: 68 kB / 0.7294 GB, free: 77.97 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.863e-05/1.012, allocations: 48 kB / 0.7295 GB, free: 77.93 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003653/1.015, allocations: 2.037 MB / 0.7315 GB, free: 75.89 MB / 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.01716/1.033, allocations: 9.523 MB / 0.7408 GB, free: 65.92 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008357/1.041, allocations: 4.335 MB / 0.745 GB, free: 61.35 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002104/1.043, allocations: 1.358 MB / 0.7463 GB, free: 60 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003069/1.044, allocations: 37.97 kB / 0.7464 GB, free: 59.96 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/1.044, allocations: 56.56 kB / 0.7464 GB, free: 59.89 MB / 490.7 MB Notification: Performance of pre-optimization done (n=223): time 3.667e-06/1.044, allocations: 0 / 0.7464 GB, free: 59.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=223): time 0.02309/1.067, allocations: 8.287 MB / 0.7545 GB, free: 51.59 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/1.067, allocations: 77.34 kB / 0.7546 GB, free: 51.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004131/1.071, allocations: 2.241 MB / 0.7568 GB, free: 49.25 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005831/1.071, allocations: 61.7 kB / 0.7568 GB, free: 49.18 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008768/1.072, allocations: 1.229 MB / 0.758 GB, free: 47.94 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001075/1.073, allocations: 0.7854 MB / 0.7588 GB, free: 47.14 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003157/1.074, allocations: 40 kB / 0.7588 GB, free: 47.11 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000133/1.074, allocations: 394.2 kB / 0.7592 GB, free: 46.71 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00181/1.076, allocations: 1.056 MB / 0.7602 GB, free: 45.66 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002023/1.078, allocations: 1.331 MB / 0.7615 GB, free: 44.23 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00207/1.08, allocations: 1.193 MB / 0.7627 GB, free: 43.04 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.194e-05/1.08, allocations: 0 / 0.7627 GB, free: 43.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.01604/1.096, allocations: 6.135 MB / 0.7687 GB, free: 36.84 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.921e-05/1.096, allocations: 8 kB / 0.7687 GB, free: 36.83 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/1.096, allocations: 8 kB / 0.7687 GB, free: 36.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01183/1.108, allocations: 3.296 MB / 0.7719 GB, free: 33.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006133/1.114, allocations: 1.502 MB / 0.7734 GB, free: 31.97 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02165/1.136, allocations: 17.61 MB / 0.7906 GB, free: 13.42 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00372/1.139, allocations: 377.9 kB / 0.791 GB, free: 13.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005336/1.14, allocations: 83.97 kB / 0.791 GB, free: 12.96 MB / 490.7 MB 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.0008195/1.141, allocations: 242.3 kB / 0.7913 GB, free: 12.72 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009494/1.142, allocations: 308.2 kB / 0.7916 GB, free: 12.42 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02225/1.164, allocations: 8.576 MB / 0.7999 GB, free: 3.816 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-05/1.164, allocations: 27.95 kB / 0.8 GB, free: 3.789 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/1.164, allocations: 0 / 0.8 GB, free: 3.789 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.147e-05/1.164, allocations: 7.969 kB / 0.8 GB, free: 3.781 MB / 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 postOpt removeSimpleEquations (simulation): time 0.02955/1.194, allocations: 12.53 MB / 0.8122 GB, free: 7.016 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.528e-05/1.194, allocations: 0 / 0.8122 GB, free: 7.016 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001612/1.195, allocations: 227.7 kB / 0.8124 GB, free: 6.793 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01199/1.207, allocations: 3.979 MB / 0.8163 GB, free: 2.805 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005842/1.208, allocations: 51.94 kB / 0.8164 GB, free: 2.754 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02918/1.237, allocations: 13.22 MB / 0.8293 GB, free: 5.387 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.237, allocations: 0 / 0.8293 GB, free: 5.387 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02762/1.265, allocations: 10.32 MB / 0.8393 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001293/1.266, allocations: 476.5 kB / 0.8398 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005813/1.267, allocations: 40 kB / 0.8398 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002677/1.269, allocations: 231.8 kB / 0.8401 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001159/1.271, allocations: 374.1 kB / 0.8404 GB, free: 9.914 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001679/1.271, allocations: 55.98 kB / 0.8405 GB, free: 9.859 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002517/1.273, allocations: 1.717 MB / 0.8421 GB, free: 8.141 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.81e-07/1.273, allocations: 4 kB / 0.8421 GB, free: 8.137 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00302/1.276, allocations: 1.003 MB / 0.8431 GB, free: 7.133 MB / 0.5261 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.02758/1.304, allocations: 11.09 MB / 0.854 GB, free: 12 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01143/1.315, allocations: 5.47 MB / 0.8593 GB, free: 6.25 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/1.316, allocations: 0 / 0.8593 GB, free: 6.25 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.009309/1.325, allocations: 3.259 MB / 0.8625 GB, free: 2.977 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00188/1.327, allocations: 214.1 kB / 0.8627 GB, free: 2.766 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009722/1.336, allocations: 5.223 MB / 0.8678 GB, free: 13.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001181/1.338, allocations: 1.817 MB / 0.8696 GB, free: 11.65 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00101/1.339, allocations: 203.4 kB / 0.8698 GB, free: 11.45 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001551/1.34, allocations: 1.202 MB / 0.8709 GB, free: 10.25 MB / 0.5573 GB Notification: Performance of SimCode: time 8.21e-07/1.34, allocations: 0 / 0.8709 GB, free: 10.25 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3745/1.715, allocations: 74.61 MB / 0.9438 GB, free: 157.2 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001395/1.715, allocations: 186 kB / 0.944 GB, free: 157 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.113/5.828, allocations: 0 / 0.944 GB, free: 157 MB / 0.573 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSAT_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSAT.fmu > OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe 2>&1)