Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_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.0007844/0.0007844, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.9121/0.9121, allocations: 177.1 MB / 199.4 MB, free: 5.941 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.001319/0.001319, allocations: 160.2 kB / 256 MB, free: 13.34 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.2867/0.2867, allocations: 80.23 MB / 392.6 MB, free: 3.617 MB / 362.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.5549 GB, free: 240 kB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.586e-05/1.75e-05, allocations: 2.281 kB / 0.5549 GB, free: 236 kB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.01215/0.01217, allocations: 18.49 MB / 0.573 GB, free: 13.68 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.009174/0.02134, allocations: 4.838 MB / 0.5777 GB, free: 8.828 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002089/0.02343, allocations: 44 kB / 0.5777 GB, free: 8.785 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001405/0.02483, allocations: 0.875 MB / 0.5786 GB, free: 7.902 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003867/0.0287, allocations: 2.357 MB / 0.5809 GB, free: 5.535 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002948/0.03165, allocations: 2.076 MB / 0.5829 GB, free: 3.492 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.003908/0.03556, allocations: 5.865 MB / 0.5886 GB, free: 13.6 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008989/0.03646, allocations: 0.8766 MB / 0.5895 GB, free: 12.67 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002349/0.0388, allocations: 3.3 MB / 0.5927 GB, free: 9.363 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001637/0.04044, allocations: 2.258 MB / 0.5949 GB, free: 7.098 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003868/0.04083, allocations: 436 kB / 0.5953 GB, free: 6.672 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007319/0.04156, allocations: 0.5974 MB / 0.5959 GB, free: 6.074 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005943/0.04215, allocations: 1.17 MB / 0.5971 GB, free: 4.898 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001106/0.04326, allocations: 1.721 MB / 0.5987 GB, free: 3.172 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003934/0.04719, allocations: 6.318 MB / 0.6049 GB, free: 12.83 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.0472, allocations: 0 / 0.6049 GB, free: 12.83 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.0472, allocations: 0 / 0.6049 GB, free: 12.83 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.162e-05/0.04724, allocations: 4 kB / 0.6049 GB, free: 12.83 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: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.01519/0.06243, allocations: 9.837 MB / 0.6145 GB, free: 2.902 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.06247, allocations: 12.03 kB / 0.6145 GB, free: 2.891 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004287/0.0629, allocations: 492.8 kB / 0.615 GB, free: 2.398 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2373/0.3002, allocations: 4.048 MB / 0.619 GB, free: 65.35 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004965/0.3052, allocations: 2.562 MB / 0.6215 GB, free: 64.84 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006606/0.3058, allocations: 1.036 MB / 0.6225 GB, free: 64.02 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001152/0.307, allocations: 351.8 kB / 0.6228 GB, free: 63.91 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008943/0.3159, allocations: 4.752 MB / 0.6275 GB, free: 62.16 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.975e-05/0.316, allocations: 1.969 kB / 0.6275 GB, free: 62.16 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002994/0.3163, allocations: 141.9 kB / 0.6276 GB, free: 62.05 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.978e-05/0.3163, allocations: 88.12 kB / 0.6277 GB, free: 62.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007879/0.3242, allocations: 4.25 MB / 0.6318 GB, free: 60.58 MB / 490.7 MB 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.02797/0.3522, allocations: 13.44 MB / 0.645 GB, free: 53.66 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007803/0.36, allocations: 4.348 MB / 0.6492 GB, free: 51.19 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004158/0.3641, allocations: 2.502 MB / 0.6516 GB, free: 48.68 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000406/0.3645, allocations: 62.94 kB / 0.6517 GB, free: 48.61 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004536/0.3691, allocations: 3.206 MB / 0.6548 GB, free: 45.36 MB / 490.7 MB Notification: Performance of pre-optimization done (n=383): time 8.405e-06/0.3691, allocations: 0 / 0.6548 GB, free: 45.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=383): time 0.156/0.5251, allocations: 67.82 MB / 0.7211 GB, free: 9.457 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.938e-05/0.5252, allocations: 149.8 kB / 0.7212 GB, free: 9.285 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004346/0.5295, allocations: 3.243 MB / 0.7244 GB, free: 6.047 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001008/0.5305, allocations: 93.7 kB / 0.7245 GB, free: 5.949 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001284/0.5318, allocations: 1.993 MB / 0.7264 GB, free: 4.113 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001964/0.5338, allocations: 1.364 MB / 0.7277 GB, free: 2.871 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001289/0.5351, allocations: 0.6667 MB / 0.7284 GB, free: 2.191 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.678e-05/0.5352, allocations: 305.1 kB / 0.7287 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004216/0.5394, allocations: 2.635 MB / 0.7313 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004428/0.5438, allocations: 3.268 MB / 0.7344 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04308/0.5869, allocations: 19 MB / 0.753 GB, free: 8.477 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-05/0.5869, allocations: 4 kB / 0.753 GB, free: 8.473 MB / 0.5417 GB Notification: Performance of matching and sorting (n=538) (initialization): time 0.03535/0.6223, allocations: 17.19 MB / 0.7698 GB, free: 7.227 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 7.831e-05/0.6223, allocations: 79.33 kB / 0.7699 GB, free: 7.137 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.793e-05/0.6224, allocations: 16 kB / 0.7699 GB, free: 7.121 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01534/0.6377, allocations: 7.142 MB / 0.7769 GB, free: 15.97 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002321/0.64, allocations: 0.6709 MB / 0.7775 GB, free: 15.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05665/0.6967, allocations: 32.37 MB / 0.8091 GB, free: 14.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004149/0.7008, allocations: 0.6376 MB / 0.8097 GB, free: 14.15 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007086/0.7015, allocations: 156 kB / 0.8099 GB, free: 14 MB / 0.6042 GB Warning: Assuming fixed start value for the following 5 variables: order4.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 order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" 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 (403): * Single equations (assignments): 400 * 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): 1 system {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001817/0.7034, allocations: 0.675 MB / 0.8106 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001137/0.7045, allocations: 476.9 kB / 0.811 GB, free: 12.85 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03171/0.7362, allocations: 16.74 MB / 0.8274 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.809e-05/0.7362, allocations: 40 kB / 0.8274 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.513e-05/0.7363, allocations: 28 kB / 0.8274 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.532e-05/0.7363, allocations: 19.92 kB / 0.8274 GB, free: 11.94 MB / 0.6198 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.03942/0.7758, allocations: 20.39 MB / 0.8474 GB, free: 7.473 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.072e-05/0.7758, allocations: 0 / 0.8474 GB, free: 7.473 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001551/0.7773, allocations: 391.5 kB / 0.8477 GB, free: 7.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0151/0.7924, allocations: 7.335 MB / 0.8549 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007763/0.7932, allocations: 79.98 kB / 0.855 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.285/1.078, allocations: 30.78 MB / 0.885 GB, free: 218.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/1.078, allocations: 1.656 kB / 0.885 GB, free: 218.6 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03605/1.114, allocations: 20.16 MB / 0.9047 GB, free: 213.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001285/1.116, allocations: 0.5052 MB / 0.9052 GB, free: 213.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001104/1.117, allocations: 66.91 kB / 0.9053 GB, free: 213.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002673/1.119, allocations: 377 kB / 0.9056 GB, free: 213.1 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002348/1.122, allocations: 0.8166 MB / 0.9064 GB, free: 212.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003263/1.122, allocations: 95.62 kB / 0.9065 GB, free: 212.9 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.002393/1.124, allocations: 2.106 MB / 0.9086 GB, free: 212.1 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.1e-08/1.124, allocations: 0 / 0.9086 GB, free: 212.1 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.005465/1.13, allocations: 1.809 MB / 0.9103 GB, free: 211.2 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (247): * Single equations (assignments): 244 * 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.03523/1.165, allocations: 20.82 MB / 0.9307 GB, free: 193 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.01557/1.181, allocations: 8.821 MB / 0.9393 GB, free: 184.1 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/1.181, allocations: 12.25 kB / 0.9393 GB, free: 184.1 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0112/1.192, allocations: 5.849 MB / 0.945 GB, free: 178.2 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002745/1.195, allocations: 394.2 kB / 0.9454 GB, free: 177.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09068/1.285, allocations: 58.82 MB / 1.003 GB, free: 118.2 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001268/1.287, allocations: 1.939 MB / 1.005 GB, free: 116.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001145/1.288, allocations: 371.1 kB / 1.005 GB, free: 115.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001408/1.289, allocations: 1.984 MB / 1.007 GB, free: 113.9 MB / 0.6511 GB Notification: Performance of SimCode: time 1.382e-06/1.289, allocations: 0 / 1.007 GB, free: 113.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3581/1.647, allocations: 137.2 MB / 1.141 GB, free: 207 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.64/14.29, allocations: 2.625 kB / 1.141 GB, free: 207 MB / 0.6511 GB " [Timeout remaining time 646] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.271538607776165] Failed to read output from testmodel.py, exit status != 0: 14.437733138911426 14.445255974 14.396520001 Calling exit ...