Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.0008471/0.0008471, 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.9598/0.9598, allocations: 177.1 MB / 199.4 MB, free: 5.945 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.001125/0.001125, allocations: 160.6 kB / 256 MB, free: 13.35 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.363 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.TwoAreaOld.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.555 GB, free: 12.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.197e-05/1.335e-05, allocations: 2.281 kB / 0.555 GB, free: 12.2 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.004757/0.00477, allocations: 5.879 MB / 0.5607 GB, free: 6.289 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002533/0.007303, allocations: 1.959 MB / 0.5626 GB, free: 4.324 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002968/0.007599, allocations: 8 kB / 0.5626 GB, free: 4.316 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000791/0.008391, allocations: 253.7 kB / 0.5629 GB, free: 4.066 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001279/0.00967, allocations: 0.8779 MB / 0.5637 GB, free: 3.188 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008187/0.01049, allocations: 0.646 MB / 0.5644 GB, free: 2.551 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001099/0.01159, allocations: 1.635 MB / 0.566 GB, free: 0.9062 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002979/0.01188, allocations: 226.9 kB / 0.5662 GB, free: 0.6758 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2829/0.2948, allocations: 0.9287 MB / 0.5671 GB, free: 15.68 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001387/0.2962, allocations: 0.6918 MB / 0.5678 GB, free: 15.68 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002184/0.2964, allocations: 129.5 kB / 0.5679 GB, free: 15.68 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007453/0.2972, allocations: 282.4 kB / 0.5681 GB, free: 15.68 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003819/0.2976, allocations: 348.3 kB / 0.5685 GB, free: 15.68 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004562/0.298, allocations: 473.9 kB / 0.5689 GB, free: 15.68 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002088/0.3001, allocations: 1.787 MB / 0.5707 GB, free: 15.58 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.3001, allocations: 0 / 0.5707 GB, free: 15.58 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3001, allocations: 1.188 kB / 0.5707 GB, free: 15.58 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.45e-05/0.3001, allocations: 1.156 kB / 0.5707 GB, free: 15.58 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.005973/0.3061, allocations: 2.861 MB / 0.5735 GB, free: 14.64 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.576e-05/0.3062, allocations: 9.344 kB / 0.5735 GB, free: 14.64 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001466/0.3063, allocations: 130.8 kB / 0.5736 GB, free: 14.61 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002955/0.3093, allocations: 0.793 MB / 0.5744 GB, free: 14.51 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001368/0.3106, allocations: 0.862 MB / 0.5752 GB, free: 14.19 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002867/0.3109, allocations: 340.1 kB / 0.5755 GB, free: 13.9 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001823/0.3111, allocations: 85.05 kB / 0.5756 GB, free: 13.9 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001939/0.313, allocations: 1.122 MB / 0.5767 GB, free: 13.67 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.3131, allocations: 5.094 kB / 0.5767 GB, free: 13.67 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.71e-05/0.3131, allocations: 30.31 kB / 0.5768 GB, free: 13.64 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.676e-05/0.3132, allocations: 21.72 kB / 0.5768 GB, free: 13.64 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002284/0.3155, allocations: 1.019 MB / 0.5778 GB, free: 13.27 MB / 442.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.005303/0.3208, allocations: 2.987 MB / 0.5807 GB, free: 11.78 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004435/0.3252, allocations: 2.033 MB / 0.5827 GB, free: 11.34 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009585/0.3261, allocations: 0.6627 MB / 0.5833 GB, free: 11.07 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.04e-05/0.3262, allocations: 12.84 kB / 0.5833 GB, free: 11.07 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001134/0.3274, allocations: 0.8547 MB / 0.5842 GB, free: 10.71 MB / 442.7 MB Notification: Performance of pre-optimization done (n=97): time 2.244e-06/0.3274, allocations: 5.094 kB / 0.5842 GB, free: 10.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=97): time 0.01643/0.3438, allocations: 7.092 MB / 0.5911 GB, free: 8.234 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.3438, allocations: 120.8 kB / 0.5912 GB, free: 8.105 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001564/0.3454, allocations: 1.127 MB / 0.5923 GB, free: 7.473 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.645e-05/0.3455, allocations: 45.2 kB / 0.5924 GB, free: 7.426 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002673/0.3458, allocations: 0.5064 MB / 0.5929 GB, free: 6.977 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004114/0.3462, allocations: 376.8 kB / 0.5932 GB, free: 6.66 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004126/0.3466, allocations: 289.5 kB / 0.5935 GB, free: 6.488 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.974e-05/0.3466, allocations: 302.3 kB / 0.5938 GB, free: 6.191 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001155/0.3478, allocations: 0.8346 MB / 0.5946 GB, free: 5.73 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001338/0.3491, allocations: 1.007 MB / 0.5956 GB, free: 5.105 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01289/0.362, allocations: 6.011 MB / 0.6014 GB, free: 2.078 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/0.362, allocations: 2.531 kB / 0.6015 GB, free: 2.078 MB / 442.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.007838/0.3699, allocations: 4.487 MB / 0.6058 GB, free: 14.16 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.9e-05/0.3699, allocations: 63.39 kB / 0.6059 GB, free: 14.08 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.3699, allocations: 7.281 kB / 0.6059 GB, free: 14.08 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003353/0.3733, allocations: 1.625 MB / 0.6075 GB, free: 12.45 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007778/0.3741, allocations: 293.9 kB / 0.6078 GB, free: 12.18 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.013/0.3871, allocations: 8.332 MB / 0.6159 GB, free: 3.738 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/0.3884, allocations: 211.2 kB / 0.6161 GB, free: 3.531 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.028e-05/0.3885, allocations: 51.98 kB / 0.6162 GB, free: 3.48 MB / 458.7 MB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order5.delta:VARIABLE(flow=false start = order5.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order5.e1q:VARIABLE(start = order5.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: 13 * 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 (167): * Single equations (assignments): 164 * 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 {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007934/0.3892, allocations: 309.9 kB / 0.6165 GB, free: 3.18 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/0.3894, allocations: 135.1 kB / 0.6166 GB, free: 3.047 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007064/0.3965, allocations: 3.9 MB / 0.6204 GB, free: 15.14 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.3965, allocations: 8 kB / 0.6204 GB, free: 15.13 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.088e-06/0.3965, allocations: 11.94 kB / 0.6204 GB, free: 15.12 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.908e-06/0.3965, allocations: 7.969 kB / 0.6204 GB, free: 15.11 MB / 474.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 postOpt removeSimpleEquations (simulation): time 0.00882/0.4053, allocations: 5.023 MB / 0.6253 GB, free: 10.07 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/0.4053, allocations: 12.69 kB / 0.6253 GB, free: 10.07 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003543/0.4057, allocations: 105.3 kB / 0.6254 GB, free: 9.969 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002993/0.4087, allocations: 1.581 MB / 0.627 GB, free: 8.387 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.789e-05/0.4087, allocations: 27.98 kB / 0.627 GB, free: 8.359 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01243/0.4212, allocations: 9.255 MB / 0.636 GB, free: 14.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.4212, allocations: 0.6875 kB / 0.636 GB, free: 14.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008419/0.4296, allocations: 4.809 MB / 0.6407 GB, free: 10.07 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002697/0.4299, allocations: 163.7 kB / 0.6409 GB, free: 9.914 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.43, allocations: 16 kB / 0.6409 GB, free: 9.898 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006198/0.4306, allocations: 119.9 kB / 0.641 GB, free: 9.781 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003755/0.431, allocations: 200 kB / 0.6412 GB, free: 9.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.463e-05/0.431, allocations: 31.61 kB / 0.6412 GB, free: 9.562 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008579/0.4319, allocations: 0.7631 MB / 0.642 GB, free: 8.793 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.4319, allocations: 0 / 0.642 GB, free: 8.793 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001303/0.4332, allocations: 487.7 kB / 0.6425 GB, free: 8.316 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.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 (65): * Single equations (assignments): 62 * 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 {(18,14,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008645/0.4418, allocations: 5.396 MB / 0.6477 GB, free: 2.898 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00411/0.4459, allocations: 2.531 MB / 0.6502 GB, free: 336 kB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4459, allocations: 0 / 0.6502 GB, free: 336 kB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00248/0.4484, allocations: 1.551 MB / 0.6517 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006622/0.4491, allocations: 120.5 kB / 0.6518 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02426/0.4733, allocations: 16.57 MB / 0.668 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005578/0.4739, allocations: 0.5437 MB / 0.6685 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003386/0.4742, allocations: 124.3 kB / 0.6687 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005501/0.4748, allocations: 476.3 kB / 0.6691 GB, free: 12.72 MB / 0.5105 GB Notification: Performance of SimCode: time 1.273e-06/0.4748, allocations: 0 / 0.6691 GB, free: 12.72 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06009/0.5349, allocations: 38.74 MB / 0.7069 GB, free: 6.277 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.059/9.594, allocations: 4 kB / 0.707 GB, free: 6.273 MB / 0.5417 GB " [Timeout remaining time 650] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.13912371173501] Failed to read output from testmodel.py, exit status != 0: 9.70481274370104 9.713718277 9.411595704 Calling exit ...