Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.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.PSATSystems.TwoAreaOld.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII",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.001588/0.001588, allocations: 174.7 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.205/1.205, allocations: 221.4 MB / 234.6 MB, free: 14.47 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.0008424/0.0008423, allocations: 86.39 kB / 285.6 MB, free: 13.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4315/0.4315, allocations: 78.9 MB / 415.4 MB, free: 10.28 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.482e-05/2.484e-05, allocations: 4 kB / 492.9 MB, free: 13.05 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3089, allocations: 69.51 MB / 0.5492 GB, free: 19.47 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1154/0.4243, allocations: 99.49 MB / 0.6464 GB, free: 120 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002192/0.4246, allocations: 79.95 kB / 0.6464 GB, free: 40 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3881/0.8127, allocations: 37.01 MB / 0.6826 GB, free: 106 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.8127, allocations: 0 / 0.6826 GB, free: 106 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001323/0.8129, allocations: 24.53 kB / 0.6826 GB, free: 106 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.005458/0.8183, allocations: 1.701 MB / 0.6843 GB, free: 105.2 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.842e-05/0.8184, allocations: 13.34 kB / 0.6843 GB, free: 105.2 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004353/0.8189, allocations: 129.7 kB / 0.6844 GB, free: 105.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004251/0.8231, allocations: 0.5631 MB / 0.685 GB, free: 105.1 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002281/0.8254, allocations: 0.779 MB / 0.6857 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000339/0.8258, allocations: 256.3 kB / 0.686 GB, free: 104.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003329/0.8261, allocations: 84.06 kB / 0.686 GB, free: 104.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002525/0.8287, allocations: 0.9437 MB / 0.687 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.8287, allocations: 0 / 0.687 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/0.8288, allocations: 30.95 kB / 0.687 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.161e-05/0.8289, allocations: 23.09 kB / 0.687 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001639/0.8305, allocations: 0.8354 MB / 0.6878 GB, free: 104.5 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.007074/0.8376, allocations: 3.83 MB / 0.6916 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006803/0.8444, allocations: 2.656 MB / 0.6942 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008135/0.8453, allocations: 0.5446 MB / 0.6947 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001117/0.8454, allocations: 16.5 kB / 0.6947 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001124/0.8465, allocations: 0.676 MB / 0.6954 GB, free: 102.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 3.105e-06/0.8465, allocations: 0 / 0.6954 GB, free: 102.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=96): time 0.01197/0.8585, allocations: 4.018 MB / 0.6993 GB, free: 101.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/0.8586, allocations: 114.1 kB / 0.6994 GB, free: 101.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001461/0.8601, allocations: 0.8736 MB / 0.7003 GB, free: 100.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002132/0.8603, allocations: 44.75 kB / 0.7003 GB, free: 100.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002933/0.8606, allocations: 0.506 MB / 0.7008 GB, free: 100.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003928/0.861, allocations: 353.4 kB / 0.7011 GB, free: 100.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.31e-05/0.8611, allocations: 22.91 kB / 0.7012 GB, free: 100.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.683e-05/0.8612, allocations: 343 kB / 0.7015 GB, free: 99.86 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007459/0.862, allocations: 459 kB / 0.7019 GB, free: 99.66 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007808/0.8627, allocations: 0.5815 MB / 0.7025 GB, free: 99.33 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008082/0.8636, allocations: 0.5549 MB / 0.703 GB, free: 99.04 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.8636, allocations: 0 / 0.703 GB, free: 99.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01134/0.8749, allocations: 4.093 MB / 0.707 GB, free: 97.83 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.405e-05/0.875, allocations: 59.41 kB / 0.7071 GB, free: 97.76 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.875, allocations: 4 kB / 0.7071 GB, free: 97.76 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005108/0.8801, allocations: 1.516 MB / 0.7086 GB, free: 96.58 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009817/0.8812, allocations: 190.2 kB / 0.7088 GB, free: 96.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0122/0.8934, allocations: 6.751 MB / 0.7153 GB, free: 90.33 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001719/0.8951, allocations: 204.5 kB / 0.7155 GB, free: 90.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001796/0.8953, allocations: 35.89 kB / 0.7156 GB, free: 90.13 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 2 * 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 {19 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003247/0.8956, allocations: 189.6 kB / 0.7158 GB, free: 89.95 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004169/0.8961, allocations: 130.2 kB / 0.7159 GB, free: 89.82 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01092/0.907, allocations: 4.142 MB / 0.7199 GB, free: 86.56 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/0.907, allocations: 16 kB / 0.7199 GB, free: 86.54 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.401e-05/0.9071, allocations: 4 kB / 0.7199 GB, free: 86.54 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-05/0.9071, allocations: 7.469 kB / 0.72 GB, free: 86.54 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.01276/0.9199, allocations: 5.709 MB / 0.7255 GB, free: 81.13 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/0.9199, allocations: 0 / 0.7255 GB, free: 81.13 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006094/0.9205, allocations: 103.8 kB / 0.7256 GB, free: 81.03 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004484/0.925, allocations: 1.489 MB / 0.7271 GB, free: 79.53 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002081/0.9253, allocations: 19.98 kB / 0.7271 GB, free: 79.51 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01224/0.9375, allocations: 7.704 MB / 0.7346 GB, free: 71.55 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.9375, allocations: 0 / 0.7346 GB, free: 71.55 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01224/0.9498, allocations: 4.885 MB / 0.7394 GB, free: 66.63 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005581/0.9504, allocations: 223.3 kB / 0.7396 GB, free: 66.39 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003785/0.9508, allocations: 19.98 kB / 0.7396 GB, free: 66.37 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001357/0.9522, allocations: 151.9 kB / 0.7398 GB, free: 66.22 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005768/0.9527, allocations: 192.6 kB / 0.74 GB, free: 66.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.499e-05/0.9529, allocations: 27.98 kB / 0.74 GB, free: 66.01 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009178/0.9538, allocations: 0.6819 MB / 0.7406 GB, free: 65.32 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.9538, allocations: 7.938 kB / 0.7407 GB, free: 65.31 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001451/0.9552, allocations: 435.5 kB / 0.7411 GB, free: 64.89 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(19,24.4%) 13} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01193/0.9672, allocations: 5.549 MB / 0.7465 GB, free: 59.29 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004431/0.9716, allocations: 2.065 MB / 0.7485 GB, free: 57.19 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.9717, allocations: 0.75 kB / 0.7485 GB, free: 57.19 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003477/0.9752, allocations: 1.595 MB / 0.7501 GB, free: 55.57 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009848/0.9762, allocations: 109.7 kB / 0.7502 GB, free: 55.46 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003613/0.9798, allocations: 1.937 MB / 0.7521 GB, free: 53.51 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004469/0.9803, allocations: 1.154 MB / 0.7532 GB, free: 52.32 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004025/0.9807, allocations: 94.33 kB / 0.7533 GB, free: 52.22 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004892/0.9812, allocations: 467.3 kB / 0.7537 GB, free: 51.77 MB / 490.7 MB Notification: Performance of SimCode: time 6.71e-07/0.9812, allocations: 0 / 0.7537 GB, free: 51.77 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04587/1.027, allocations: 30.81 MB / 0.7838 GB, free: 21.48 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001857/1.027, allocations: 189.1 kB / 0.784 GB, free: 21.26 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.685/3.712, allocations: 3.5 kB / 0.784 GB, free: 21.26 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1)