Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.001621/0.001621, allocations: 111 kB / 16.46 MB, free: 6.504 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.5/1.5, allocations: 225.6 MB / 244.8 MB, free: 14.17 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.001732/0.001732, allocations: 195.5 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.6179/0.6179, allocations: 99.67 MB / 454.4 MB, free: 5.055 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.TwoAreaOld.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002387/0.002387, allocations: 79.86 kB / 0.6073 GB, free: 9.508 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1668, allocations: 76.95 MB / 0.6825 GB, free: 12.4 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.008455/0.1752, allocations: 6.563 MB / 0.6889 GB, free: 5.805 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004828/0.18, allocations: 1.966 MB / 0.6908 GB, free: 3.832 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009762/0.181, allocations: 15.94 kB / 0.6908 GB, free: 3.816 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008797/0.1819, allocations: 246 kB / 0.6911 GB, free: 3.574 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002558/0.1845, allocations: 0.8398 MB / 0.6919 GB, free: 2.734 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001518/0.186, allocations: 0.6243 MB / 0.6925 GB, free: 2.113 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002157/0.1881, allocations: 1.581 MB / 0.694 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004503/0.1886, allocations: 226.4 kB / 0.6943 GB, free: 300 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.4048/0.5934, allocations: 0.648 MB / 0.6949 GB, free: 8.762 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001383/0.5947, allocations: 0.843 MB / 0.6957 GB, free: 8.707 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000277/0.595, allocations: 123.2 kB / 0.6958 GB, free: 8.707 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006783/0.5957, allocations: 255.6 kB / 0.6961 GB, free: 8.707 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003235/0.596, allocations: 331.8 kB / 0.6964 GB, free: 8.652 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006582/0.5967, allocations: 0.6729 MB / 0.697 GB, free: 8.438 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002097/0.5988, allocations: 1.664 MB / 0.6987 GB, free: 8.168 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.5988, allocations: 0.6562 kB / 0.6987 GB, free: 8.168 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.5988, allocations: 2.094 kB / 0.6987 GB, free: 8.168 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.712e-05/0.5988, allocations: 0 / 0.6987 GB, free: 8.168 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.009347/0.6082, allocations: 2.733 MB / 0.7013 GB, free: 7.168 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.828e-05/0.6082, allocations: 12.69 kB / 0.7014 GB, free: 7.168 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001652/0.6084, allocations: 128 kB / 0.7015 GB, free: 7.129 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00515/0.6135, allocations: 0.778 MB / 0.7022 GB, free: 7.035 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001703/0.6152, allocations: 0.906 MB / 0.7031 GB, free: 6.648 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002584/0.6155, allocations: 263.1 kB / 0.7034 GB, free: 6.457 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001674/0.6157, allocations: 79.97 kB / 0.7034 GB, free: 6.457 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002171/0.6178, allocations: 1.08 MB / 0.7045 GB, free: 6.375 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.6179, allocations: 0 / 0.7045 GB, free: 6.375 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.022e-05/0.6179, allocations: 32.77 kB / 0.7045 GB, free: 6.375 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.222e-05/0.618, allocations: 16.38 kB / 0.7045 GB, free: 6.375 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00193/0.6199, allocations: 0.9878 MB / 0.7055 GB, free: 6.363 MB / 494.1 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.00682/0.6267, allocations: 3.803 MB / 0.7092 GB, free: 4.492 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008013/0.6347, allocations: 2.288 MB / 0.7115 GB, free: 3.719 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001528/0.6363, allocations: 0.6286 MB / 0.7121 GB, free: 3.48 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001101/0.6364, allocations: 15.67 kB / 0.7121 GB, free: 3.48 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001872/0.6382, allocations: 0.8121 MB / 0.7129 GB, free: 3.172 MB / 494.1 MB Notification: Performance of pre-optimization done (n=95): time 3.256e-06/0.6382, allocations: 0 / 0.7129 GB, free: 3.172 MB / 494.1 MB Notification: Performance of matching and sorting (n=95): time 0.0302/0.6684, allocations: 7.172 MB / 0.7199 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.849e-05/0.6685, allocations: 114.1 kB / 0.72 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001869/0.6704, allocations: 1.094 MB / 0.7211 GB, free: 224 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003028/0.6707, allocations: 45.3 kB / 0.7211 GB, free: 176 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006821/0.6714, allocations: 0.5216 MB / 0.7216 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004852/0.6718, allocations: 374.8 kB / 0.722 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005339/0.6724, allocations: 286.9 kB / 0.7222 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.6725, allocations: 301.1 kB / 0.7225 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001684/0.6742, allocations: 0.7555 MB / 0.7233 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001773/0.676, allocations: 0.9288 MB / 0.7242 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02513/0.7011, allocations: 5.555 MB / 0.7296 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.927e-05/0.7011, allocations: 0.7188 kB / 0.7296 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01597/0.7171, allocations: 4.34 MB / 0.7338 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.535e-05/0.7172, allocations: 59.62 kB / 0.7339 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.313e-05/0.7172, allocations: 6.484 kB / 0.7339 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005948/0.7231, allocations: 1.59 MB / 0.7355 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001531/0.7247, allocations: 276 kB / 0.7357 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02177/0.7465, allocations: 8.516 MB / 0.744 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002302/0.7488, allocations: 203.2 kB / 0.7442 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003726/0.7491, allocations: 59.97 kB / 0.7443 GB, free: 1.121 MB / 0.4981 GB Warning: Assuming fixed start value for the following 4 variables: order3.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 order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" 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 (160): * Single equations (assignments): 157 * 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 {(19,14,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001183/0.7503, allocations: 292.5 kB / 0.7446 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000536/0.7508, allocations: 135.1 kB / 0.7447 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01361/0.7645, allocations: 3.84 MB / 0.7484 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.157e-05/0.7645, allocations: 12 kB / 0.7485 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.463e-05/0.7645, allocations: 7.984 kB / 0.7485 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.513e-05/0.7645, allocations: 3.984 kB / 0.7485 GB, free: 12.85 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 postOpt removeSimpleEquations (simulation): time 0.01653/0.7811, allocations: 5.443 MB / 0.7538 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.7811, allocations: 0 / 0.7538 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006409/0.7817, allocations: 102.8 kB / 0.7539 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00566/0.7874, allocations: 1.597 MB / 0.7554 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001767/0.7875, allocations: 24.86 kB / 0.7555 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0223/0.8098, allocations: 9.642 MB / 0.7649 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.8098, allocations: 3.938 kB / 0.7649 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01582/0.8257, allocations: 4.712 MB / 0.7695 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008791/0.8265, allocations: 228 kB / 0.7697 GB, free: 6.781 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006612/0.8272, allocations: 24 kB / 0.7697 GB, free: 6.758 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001819/0.829, allocations: 107.9 kB / 0.7698 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009329/0.83, allocations: 192.7 kB / 0.77 GB, free: 6.465 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002217/0.8302, allocations: 35.92 kB / 0.77 GB, free: 6.43 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002192/0.8324, allocations: 0.7276 MB / 0.7708 GB, free: 5.695 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.8324, allocations: 0 / 0.7708 GB, free: 5.695 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003331/0.8357, allocations: 475.6 kB / 0.7712 GB, free: 5.23 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.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 (63): * Single equations (assignments): 60 * 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 {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01871/0.8544, allocations: 5.293 MB / 0.7764 GB, free: 15.93 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009374/0.8638, allocations: 2.39 MB / 0.7787 GB, free: 13.53 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.495e-06/0.8638, allocations: 0 / 0.7787 GB, free: 13.53 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005206/0.869, allocations: 1.532 MB / 0.7802 GB, free: 11.98 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002234/0.8712, allocations: 123.1 kB / 0.7803 GB, free: 11.86 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04861/0.9198, allocations: 15.99 MB / 0.7959 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001407/0.9213, allocations: 1.12 MB / 0.797 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000803/0.9221, allocations: 109.5 kB / 0.7971 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001049/0.9231, allocations: 483.3 kB / 0.7976 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of SimCode: time 1.493e-06/0.9231, allocations: 0 / 0.7976 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09869/1.022, allocations: 34.61 MB / 0.8314 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.53/16.55, allocations: 14.86 kB / 0.8314 GB, free: 7.664 MB / 0.5919 GB " [Timeout remaining time 643] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.308926629368216] Failed to read output from testmodel.py, exit status != 0: 16.66080449288711 16.674930135 16.073186503 Calling exit ...