Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Examples_TwoAreas_Two_Areas_PSAT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT,fileNamePrefix="OpenIPSL_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.00104/0.00104, allocations: 174 kB / 12.73 MB, free: 2.586 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.283/1.283, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0009142/0.0009142, allocations: 96.88 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4285/0.4285, allocations: 78.02 MB / 414.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.559e-05/4.572e-05, allocations: 4 kB / 491.9 MB, free: 13.8 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3735/0.3735, allocations: 69.34 MB / 0.548 GB, free: 20.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1248/0.4984, allocations: 99.96 MB / 0.6457 GB, free: 456 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002273/0.4987, allocations: 75.95 kB / 0.6457 GB, free: 380 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4879/0.9866, allocations: 73.4 MB / 0.7174 GB, free: 90.63 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.9866, allocations: 0 / 0.7174 GB, free: 90.63 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000132/0.9868, allocations: 60.05 kB / 0.7175 GB, free: 90.57 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.009336/0.9961, allocations: 3.459 MB / 0.7208 GB, free: 87.06 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.9962, allocations: 12.91 kB / 0.7209 GB, free: 87.05 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007011/0.9969, allocations: 261.4 kB / 0.7211 GB, free: 86.78 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008582/1.005, allocations: 1.457 MB / 0.7225 GB, free: 85.32 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003561/1.009, allocations: 1.73 MB / 0.7242 GB, free: 83.53 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003339/1.009, allocations: 446.8 kB / 0.7246 GB, free: 83.04 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003452/1.01, allocations: 187.9 kB / 0.7248 GB, free: 82.86 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003282/1.013, allocations: 2.022 MB / 0.7268 GB, free: 80.82 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.028e-05/1.013, allocations: 3.938 kB / 0.7268 GB, free: 80.82 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001957/1.013, allocations: 72 kB / 0.7269 GB, free: 80.75 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.232e-05/1.013, allocations: 48 kB / 0.7269 GB, free: 80.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003013/1.016, allocations: 2.041 MB / 0.7289 GB, free: 78.66 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.01456/1.031, allocations: 9.523 MB / 0.7382 GB, free: 68.69 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008004/1.039, allocations: 4.331 MB / 0.7424 GB, free: 64.12 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001856/1.041, allocations: 1.354 MB / 0.7438 GB, free: 62.77 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002272/1.041, allocations: 45.95 kB / 0.7438 GB, free: 62.73 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/1.041, allocations: 60.5 kB / 0.7439 GB, free: 62.66 MB / 490.7 MB Notification: Performance of pre-optimization done (n=223): time 3.857e-06/1.041, allocations: 0 / 0.7439 GB, free: 62.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=223): time 0.0225/1.064, allocations: 8.28 MB / 0.7519 GB, free: 54.36 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/1.064, allocations: 77.41 kB / 0.752 GB, free: 54.27 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003629/1.067, allocations: 2.237 MB / 0.7542 GB, free: 52.03 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006592/1.068, allocations: 61.7 kB / 0.7543 GB, free: 51.96 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007344/1.069, allocations: 1.229 MB / 0.7555 GB, free: 50.72 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001008/1.07, allocations: 0.7854 MB / 0.7562 GB, free: 49.92 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/1.07, allocations: 40 kB / 0.7563 GB, free: 49.88 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/1.07, allocations: 390.2 kB / 0.7566 GB, free: 49.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001638/1.072, allocations: 1.059 MB / 0.7577 GB, free: 48.43 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001684/1.073, allocations: 1.331 MB / 0.759 GB, free: 47.01 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001696/1.075, allocations: 1.185 MB / 0.7601 GB, free: 45.82 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.116e-06/1.075, allocations: 4 kB / 0.7601 GB, free: 45.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.01566/1.091, allocations: 6.131 MB / 0.7661 GB, free: 39.62 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/1.091, allocations: 8 kB / 0.7661 GB, free: 39.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/1.091, allocations: 8 kB / 0.7661 GB, free: 39.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0122/1.103, allocations: 3.304 MB / 0.7694 GB, free: 36.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006307/1.109, allocations: 1.498 MB / 0.7708 GB, free: 34.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02212/1.132, allocations: 17.61 MB / 0.788 GB, free: 16.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004202/1.136, allocations: 369.9 kB / 0.7884 GB, free: 15.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002992/1.136, allocations: 75.98 kB / 0.7885 GB, free: 15.76 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.0005781/1.137, allocations: 241.8 kB / 0.7887 GB, free: 15.52 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005812/1.137, allocations: 304.2 kB / 0.789 GB, free: 15.22 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02263/1.16, allocations: 8.591 MB / 0.7974 GB, free: 6.605 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-05/1.16, allocations: 23.95 kB / 0.7974 GB, free: 6.582 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/1.16, allocations: 0 / 0.7974 GB, free: 6.582 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.054e-05/1.16, allocations: 11.95 kB / 0.7974 GB, free: 6.57 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.0285/1.189, allocations: 12.55 MB / 0.8096 GB, free: 9.797 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.674e-05/1.189, allocations: 0 / 0.8096 GB, free: 9.797 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001724/1.19, allocations: 219.7 kB / 0.8099 GB, free: 9.582 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01284/1.203, allocations: 3.98 MB / 0.8137 GB, free: 5.594 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007421/1.204, allocations: 51.94 kB / 0.8138 GB, free: 5.543 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03372/1.238, allocations: 13.21 MB / 0.8267 GB, free: 8.184 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/1.238, allocations: 0 / 0.8267 GB, free: 8.184 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02862/1.267, allocations: 10.31 MB / 0.8368 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001799/1.268, allocations: 476.5 kB / 0.8372 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001365/1.27, allocations: 51.92 kB / 0.8373 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003465/1.273, allocations: 219.8 kB / 0.8375 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001545/1.275, allocations: 382 kB / 0.8378 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004301/1.275, allocations: 52 kB / 0.8379 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00345/1.279, allocations: 1.717 MB / 0.8396 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.81e-07/1.279, allocations: 0 / 0.8396 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004224/1.283, allocations: 1.003 MB / 0.8405 GB, free: 9.934 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.02902/1.312, allocations: 11.1 MB / 0.8514 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01303/1.325, allocations: 5.448 MB / 0.8567 GB, free: 9.062 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/1.325, allocations: 64 / 0.8567 GB, free: 9.062 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01013/1.335, allocations: 3.266 MB / 0.8599 GB, free: 5.781 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002667/1.338, allocations: 222.1 kB / 0.8601 GB, free: 5.562 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0126/1.351, allocations: 5.215 MB / 0.8652 GB, free: 312 kB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001655/1.352, allocations: 1.817 MB / 0.867 GB, free: 14.46 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001457/1.354, allocations: 207.4 kB / 0.8672 GB, free: 14.25 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002122/1.356, allocations: 1.202 MB / 0.8683 GB, free: 13.05 MB / 0.5573 GB Notification: Performance of SimCode: time 1.253e-06/1.356, allocations: 0 / 0.8683 GB, free: 13.05 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4573/1.813, allocations: 74.55 MB / 0.9412 GB, free: 160.3 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000174/1.813, allocations: 178.3 kB / 0.9413 GB, free: 160 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.253/6.067, allocations: 3.938 kB / 0.9413 GB, free: 160 MB / 0.573 GB (rm -f OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSAT_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSAT.fmu > OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe 2>&1)