Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007509/0.0007509, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8976/0.8976, allocations: 177.1 MB / 199.4 MB, free: 5.934 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 164.2 kB / 256 MB, free: 13.34 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.2751/0.2751, allocations: 80.36 MB / 392.7 MB, free: 2.375 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 0.5551 GB, free: 12.47 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.221e-05/2.437e-05, allocations: 6.281 kB / 0.5551 GB, free: 12.46 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.01233/0.01235, allocations: 18.61 MB / 0.5733 GB, free: 9.781 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.008614/0.02096, allocations: 4.889 MB / 0.578 GB, free: 4.871 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002357/0.02332, allocations: 44 kB / 0.5781 GB, free: 4.828 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001736/0.02506, allocations: 0.8866 MB / 0.5789 GB, free: 3.934 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.003611/0.02867, allocations: 2.36 MB / 0.5812 GB, free: 1.562 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003023/0.03169, allocations: 2.099 MB / 0.5833 GB, free: 15.49 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.004225/0.03592, allocations: 5.963 MB / 0.5891 GB, free: 9.5 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001052/0.03697, allocations: 0.8611 MB / 0.59 GB, free: 8.586 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002334/0.0393, allocations: 3.358 MB / 0.5932 GB, free: 5.219 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001615/0.04092, allocations: 2.301 MB / 0.5955 GB, free: 2.91 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0003589/0.04128, allocations: 448 kB / 0.5959 GB, free: 2.473 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006579/0.04193, allocations: 0.6052 MB / 0.5965 GB, free: 1.867 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0005616/0.0425, allocations: 1.194 MB / 0.5977 GB, free: 0.668 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.2313/0.2738, allocations: 1.739 MB / 0.5994 GB, free: 64.54 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.005578/0.2793, allocations: 6.396 MB / 0.6056 GB, free: 64.13 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2793, allocations: 1.875 kB / 0.6056 GB, free: 64.13 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.914e-06/0.2793, allocations: 4.781 kB / 0.6056 GB, free: 64.13 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001134/0.2795, allocations: 0 / 0.6056 GB, free: 64.13 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: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.01815/0.2976, allocations: 9.932 MB / 0.6153 GB, free: 61.48 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.2977, allocations: 13.98 kB / 0.6153 GB, free: 61.48 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000491/0.2981, allocations: 489 kB / 0.6158 GB, free: 61.42 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01467/0.3128, allocations: 4.056 MB / 0.6198 GB, free: 61.02 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004078/0.3169, allocations: 2.607 MB / 0.6223 GB, free: 60.17 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005799/0.3175, allocations: 1.037 MB / 0.6233 GB, free: 59.38 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004767/0.3179, allocations: 354.4 kB / 0.6236 GB, free: 59.37 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007211/0.3252, allocations: 4.772 MB / 0.6283 GB, free: 57.79 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.781e-05/0.3252, allocations: 3.469 kB / 0.6283 GB, free: 57.79 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003122/0.3255, allocations: 145.2 kB / 0.6285 GB, free: 57.68 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.698e-05/0.3256, allocations: 83.47 kB / 0.6285 GB, free: 57.68 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006198/0.3318, allocations: 4.265 MB / 0.6327 GB, free: 56.19 MB / 0.5105 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.019/0.3508, allocations: 13.48 MB / 0.6459 GB, free: 48.24 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006186/0.357, allocations: 4.394 MB / 0.6502 GB, free: 46.18 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003046/0.36, allocations: 2.517 MB / 0.6526 GB, free: 44.89 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002834/0.3603, allocations: 59.88 kB / 0.6527 GB, free: 44.87 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003364/0.3637, allocations: 3.226 MB / 0.6558 GB, free: 43 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=385): time 4.729e-06/0.3637, allocations: 0 / 0.6558 GB, free: 43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=385): time 0.1499/0.5135, allocations: 66.59 MB / 0.7209 GB, free: 9.555 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.916e-05/0.5136, allocations: 149.2 kB / 0.721 GB, free: 9.387 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004254/0.5179, allocations: 3.305 MB / 0.7242 GB, free: 6.062 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0005831/0.5185, allocations: 89.7 kB / 0.7243 GB, free: 5.969 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001009/0.5195, allocations: 2.003 MB / 0.7263 GB, free: 3.965 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.00119/0.5207, allocations: 1.371 MB / 0.7276 GB, free: 2.609 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001006/0.5217, allocations: 0.6786 MB / 0.7283 GB, free: 1.918 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.674e-05/0.5217, allocations: 301.1 kB / 0.7286 GB, free: 1.621 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003615/0.5254, allocations: 2.677 MB / 0.7312 GB, free: 14.93 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003859/0.5292, allocations: 3.299 MB / 0.7344 GB, free: 11.4 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03799/0.5672, allocations: 19.34 MB / 0.7533 GB, free: 7.855 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.858e-05/0.5672, allocations: 7.75 kB / 0.7533 GB, free: 7.852 MB / 0.573 GB Notification: Performance of matching and sorting (n=546) (initialization): time 0.03188/0.5991, allocations: 17.19 MB / 0.7701 GB, free: 6.805 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 6.873e-05/0.5992, allocations: 77.52 kB / 0.7702 GB, free: 6.719 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.021e-05/0.5992, allocations: 16 kB / 0.7702 GB, free: 6.703 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0144/0.6136, allocations: 7.291 MB / 0.7773 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002561/0.6162, allocations: 0.6819 MB / 0.778 GB, free: 14.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05137/0.6675, allocations: 32.92 MB / 0.8101 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004586/0.6721, allocations: 0.6376 MB / 0.8107 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003278/0.6724, allocations: 167 kB / 0.8109 GB, free: 12.98 MB / 0.6355 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (409): * Single equations (assignments): 406 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(92,46)} Notification: Performance of prepare postOptimizeDAE: time 0.001822/0.6743, allocations: 0.6621 MB / 0.8115 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006646/0.6749, allocations: 480.9 kB / 0.812 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03001/0.7049, allocations: 16.79 MB / 0.8284 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.108e-05/0.705, allocations: 41.86 kB / 0.8284 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.322e-05/0.705, allocations: 28 kB / 0.8284 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.382e-05/0.705, allocations: 15.94 kB / 0.8285 GB, free: 11.05 MB / 0.6511 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.03528/0.7403, allocations: 20.44 MB / 0.8484 GB, free: 6.688 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.35e-05/0.7403, allocations: 0 / 0.8484 GB, free: 6.688 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001249/0.7416, allocations: 394.4 kB / 0.8488 GB, free: 6.324 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2373/0.9789, allocations: 7.341 MB / 0.856 GB, free: 228.7 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009375/0.9798, allocations: 73.19 kB / 0.856 GB, free: 228.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04991/1.03, allocations: 30.82 MB / 0.8861 GB, free: 219.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.346e-06/1.03, allocations: 0 / 0.8861 GB, free: 219.2 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03479/1.065, allocations: 20.23 MB / 0.9059 GB, free: 214.1 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001772/1.066, allocations: 0.5119 MB / 0.9064 GB, free: 213.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005513/1.067, allocations: 71.62 kB / 0.9065 GB, free: 213.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002228/1.069, allocations: 382.1 kB / 0.9068 GB, free: 213.6 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002167/1.071, allocations: 0.8095 MB / 0.9076 GB, free: 213.5 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002059/1.071, allocations: 98.34 kB / 0.9077 GB, free: 213.4 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001999/1.073, allocations: 2.146 MB / 0.9098 GB, free: 212.7 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7e-08/1.073, allocations: 0 / 0.9098 GB, free: 212.7 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.005571/1.079, allocations: 1.828 MB / 0.9116 GB, free: 211.7 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (249): * Single equations (assignments): 246 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(98,38,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.03343/1.112, allocations: 20.9 MB / 0.932 GB, free: 194.4 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0139/1.126, allocations: 9.027 MB / 0.9408 GB, free: 185.3 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/1.126, allocations: 0 / 0.9408 GB, free: 185.3 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.01017/1.137, allocations: 5.917 MB / 0.9466 GB, free: 179.3 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00256/1.139, allocations: 391.4 kB / 0.947 GB, free: 178.9 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08418/1.223, allocations: 59.11 MB / 1.005 GB, free: 119.1 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001036/1.224, allocations: 1.944 MB / 1.007 GB, free: 117.1 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001031/1.225, allocations: 380.3 kB / 1.007 GB, free: 116.7 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001456/1.227, allocations: 1.992 MB / 1.009 GB, free: 114.7 MB / 0.6667 GB Notification: Performance of SimCode: time 1.553e-06/1.227, allocations: 0 / 1.009 GB, free: 114.7 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3244/1.551, allocations: 139.9 MB / 1.146 GB, free: 219.5 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/13.69, allocations: 5.656 kB / 1.146 GB, free: 219.5 MB / 0.6667 GB " [Timeout remaining time 646] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.74666406493634] Failed to read output from testmodel.py, exit status != 0: 13.842324213124812 13.854175499 13.57264552 Calling exit ...