Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 101.4 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 225.6 MB / 244.8 MB, free: 14.2 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 203.4 kB / 299.8 MB, free: 9.832 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6191/0.6191, allocations: 99.66 MB / 454.4 MB, free: 5.062 MB / 318.1 MB " [Timeout remaining time 179] 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002387/0.002387, allocations: 76.16 kB / 0.6074 GB, free: 9.398 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.1804, allocations: 76.94 MB / 0.6826 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.4262/0.6067, allocations: 21.82 MB / 0.7039 GB, free: 6.5 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01338/0.62, allocations: 4.857 MB / 0.7086 GB, free: 4.266 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006885/0.6269, allocations: 44.62 kB / 0.7087 GB, free: 4.266 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003819/0.6307, allocations: 0.8741 MB / 0.7095 GB, free: 3.793 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01026/0.641, allocations: 2.29 MB / 0.7118 GB, free: 2.164 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006575/0.6476, allocations: 2.066 MB / 0.7138 GB, free: 1.109 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.01266/0.6602, allocations: 5.699 MB / 0.7194 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002672/0.6629, allocations: 0.9207 MB / 0.7203 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006235/0.6691, allocations: 2.321 MB / 0.7225 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008022/0.6772, allocations: 2.955 MB / 0.7254 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.002735/0.6799, allocations: 436.6 kB / 0.7258 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003611/0.6835, allocations: 0.5834 MB / 0.7264 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.00173/0.6852, allocations: 1.147 MB / 0.7275 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00579/0.691, allocations: 2.61 MB / 0.7301 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01142/0.7024, allocations: 6.251 MB / 0.7362 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.84e-06/0.7025, allocations: 0 / 0.7362 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7025, allocations: 0 / 0.7362 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0003002/0.7028, allocations: 0 / 0.7362 GB, free: 4.215 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.03578/0.7385, allocations: 9.314 MB / 0.7453 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.7386, allocations: 10 kB / 0.7453 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009197/0.7395, allocations: 489.6 kB / 0.7457 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02777/0.7673, allocations: 4.039 MB / 0.7497 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007162/0.7744, allocations: 2.69 MB / 0.7523 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001121/0.7756, allocations: 0.9499 MB / 0.7532 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001248/0.7768, allocations: 351.5 kB / 0.7536 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01014/0.787, allocations: 4.728 MB / 0.7582 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.275e-05/0.787, allocations: 0 / 0.7582 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003855/0.7874, allocations: 143.9 kB / 0.7583 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.229e-05/0.7875, allocations: 84 kB / 0.7584 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009239/0.7967, allocations: 4.245 MB / 0.7625 GB, free: 0.6328 MB / 0.5137 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.04061/0.8373, allocations: 18.22 MB / 0.7803 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01308/0.8504, allocations: 4.65 MB / 0.7849 GB, free: 8.5 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006759/0.8572, allocations: 2.478 MB / 0.7873 GB, free: 6.012 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006523/0.8578, allocations: 70.84 kB / 0.7874 GB, free: 5.941 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008111/0.8659, allocations: 3.169 MB / 0.7905 GB, free: 2.73 MB / 0.545 GB Notification: Performance of pre-optimization done (n=382): time 9.477e-06/0.8659, allocations: 0 / 0.7905 GB, free: 2.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=382): time 0.312/1.178, allocations: 68.09 MB / 0.857 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001419/1.178, allocations: 145.8 kB / 0.8571 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008039/1.186, allocations: 3.226 MB / 0.8603 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0012/1.187, allocations: 85.7 kB / 0.8603 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.002207/1.19, allocations: 2.005 MB / 0.8623 GB, free: 8.922 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.002847/1.192, allocations: 1.371 MB / 0.8636 GB, free: 7.539 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0022/1.195, allocations: 0.6704 MB / 0.8643 GB, free: 6.855 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001448/1.195, allocations: 313.1 kB / 0.8646 GB, free: 6.547 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006172/1.201, allocations: 2.573 MB / 0.8671 GB, free: 3.965 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006976/1.208, allocations: 3.205 MB / 0.8702 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08645/1.294, allocations: 18.75 MB / 0.8885 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.99e-05/1.294, allocations: 4 kB / 0.8885 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=534) (initialization): time 0.05847/1.353, allocations: 16.82 MB / 0.905 GB, free: 12.64 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001187/1.353, allocations: 67.39 kB / 0.905 GB, free: 12.56 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.839e-05/1.353, allocations: 16 kB / 0.9051 GB, free: 12.54 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02651/1.379, allocations: 7.221 MB / 0.9121 GB, free: 5.312 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00364/1.383, allocations: 0.6708 MB / 0.9128 GB, free: 4.641 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09256/1.476, allocations: 33.77 MB / 0.9457 GB, free: 2.711 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007063/1.483, allocations: 0.626 MB / 0.9463 GB, free: 2.082 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009819/1.484, allocations: 152 kB / 0.9465 GB, free: 1.934 MB / 0.7012 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.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 (398): * Single equations (assignments): 395 * 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,45)} Notification: Performance of prepare postOptimizeDAE: time 0.002168/1.486, allocations: 0.669 MB / 0.9471 GB, free: 1.25 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001453/1.487, allocations: 480.8 kB / 0.9476 GB, free: 0.7773 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05662/1.544, allocations: 16.7 MB / 0.9639 GB, free: 0 / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-05/1.544, allocations: 43.98 kB / 0.964 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-05/1.544, allocations: 28 kB / 0.964 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001264/1.544, allocations: 23.88 kB / 0.964 GB, free: 15.91 MB / 0.7325 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.5131/2.057, allocations: 21.69 MB / 0.9852 GB, free: 236.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.97e-05/2.057, allocations: 3.297 kB / 0.9852 GB, free: 236.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002355/2.06, allocations: 389.6 kB / 0.9856 GB, free: 236.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02592/2.086, allocations: 7.375 MB / 0.9928 GB, free: 236 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001018/2.087, allocations: 73.64 kB / 0.9928 GB, free: 236 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07494/2.162, allocations: 31.84 MB / 1.024 GB, free: 225.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/2.162, allocations: 0 / 1.024 GB, free: 225.3 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05559/2.217, allocations: 20.1 MB / 1.044 GB, free: 219.9 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002024/2.219, allocations: 0.5747 MB / 1.044 GB, free: 219.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001075/2.22, allocations: 64 kB / 1.044 GB, free: 219.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004162/2.224, allocations: 383.2 kB / 1.045 GB, free: 219.1 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003301/2.228, allocations: 0.7858 MB / 1.045 GB, free: 218.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002828/2.228, allocations: 93.48 kB / 1.045 GB, free: 218.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002786/2.231, allocations: 2.112 MB / 1.047 GB, free: 216.7 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/2.231, allocations: 4 kB / 1.047 GB, free: 216.7 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.006245/2.237, allocations: 1.8 MB / 1.049 GB, free: 215 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,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 (246): * Single equations (assignments): 243 * 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 {(100,36,5.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.05403/2.291, allocations: 20.76 MB / 1.07 GB, free: 196.4 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02292/2.314, allocations: 8.89 MB / 1.078 GB, free: 187.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/2.314, allocations: 0 / 1.078 GB, free: 187.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01778/2.332, allocations: 5.895 MB / 1.084 GB, free: 181.6 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005858/2.338, allocations: 382.5 kB / 1.084 GB, free: 181.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.152/2.49, allocations: 57.95 MB / 1.141 GB, free: 122.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00165/2.491, allocations: 2.451 MB / 1.143 GB, free: 120 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001869/2.493, allocations: 366 kB / 1.144 GB, free: 119.7 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002078/2.495, allocations: 2.022 MB / 1.146 GB, free: 117.6 MB / 0.7325 GB Notification: Performance of SimCode: time 1.583e-06/2.495, allocations: 0 / 1.146 GB, free: 117.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6127/3.108, allocations: 130.4 MB / 1.273 GB, free: 242.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.79/26.9, allocations: 7.766 kB / 1.273 GB, free: 242.7 MB / 0.7325 GB " [Timeout remaining time 633] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 31.532430563122034] Failed to read output from testmodel.py, exit status != 0: 27.066902142949402 27.089731685 26.382259408 Calling exit ...