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.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.001341/0.001341, allocations: 114.5 kB / 18.94 MB, free: 2.934 MB / 14.72 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 1.361/1.361, allocations: 230.6 MB / 252.7 MB, free: 8.297 MB / 206.1 MB " [Timeout remaining time 178] 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.001586/0.001586, allocations: 216.6 kB / 309.2 MB, free: 3.141 MB / 238.1 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.5284/0.5284, allocations: 101.3 MB / 467 MB, free: 10.33 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.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.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: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004122/0.004122, allocations: 87.86 kB / 0.6246 GB, free: 12.8 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5168/0.521, allocations: 78.6 MB / 0.7013 GB, free: 8.93 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.02052/0.5415, allocations: 21.87 MB / 0.7227 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01365/0.5551, allocations: 4.911 MB / 0.7275 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005212/0.5604, allocations: 45.88 kB / 0.7275 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003588/0.5639, allocations: 0.8929 MB / 0.7284 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.009532/0.5735, allocations: 2.305 MB / 0.7306 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006687/0.5802, allocations: 2.066 MB / 0.7326 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01205/0.5922, allocations: 5.74 MB / 0.7383 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002203/0.5944, allocations: 0.9124 MB / 0.7391 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005076/0.5995, allocations: 2.392 MB / 0.7415 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005808/0.6053, allocations: 2.964 MB / 0.7444 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.00162/0.6069, allocations: 436.3 kB / 0.7448 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002506/0.6094, allocations: 0.6055 MB / 0.7454 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001319/0.6107, allocations: 1.149 MB / 0.7465 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.004369/0.6151, allocations: 2.609 MB / 0.7491 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.009651/0.6248, allocations: 6.27 MB / 0.7552 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.6248, allocations: 0 / 0.7552 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.994e-06/0.6248, allocations: 1.188 kB / 0.7552 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0002491/0.625, allocations: 0 / 0.7552 GB, free: 4.137 MB / 0.5137 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.0341/0.6591, allocations: 9.902 MB / 0.7648 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.6592, allocations: 10.5 kB / 0.7649 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000931/0.6601, allocations: 485.3 kB / 0.7653 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02639/0.6865, allocations: 4.051 MB / 0.7693 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007356/0.6938, allocations: 2.574 MB / 0.7718 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001214/0.6951, allocations: 1.036 MB / 0.7728 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001263/0.6963, allocations: 352 kB / 0.7731 GB, free: 6.527 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0108/0.7071, allocations: 4.719 MB / 0.7777 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.92e-05/0.7072, allocations: 0 / 0.7777 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004028/0.7076, allocations: 144 kB / 0.7779 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.086e-05/0.7077, allocations: 84 kB / 0.778 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009464/0.7171, allocations: 4.252 MB / 0.7821 GB, free: 13.3 MB / 0.545 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.03841/0.7555, allocations: 18.02 MB / 0.7997 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01287/0.7684, allocations: 4.347 MB / 0.804 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006198/0.7746, allocations: 2.474 MB / 0.8064 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006971/0.7753, allocations: 70.91 kB / 0.8064 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007711/0.783, allocations: 3.165 MB / 0.8095 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=382): time 9.087e-06/0.783, allocations: 3.938 kB / 0.8095 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of matching and sorting (n=382): time 0.2937/1.077, allocations: 67.94 MB / 0.8759 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001283/1.077, allocations: 141.8 kB / 0.876 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006394/1.083, allocations: 3.23 MB / 0.8792 GB, free: 8.449 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001023/1.084, allocations: 85.7 kB / 0.8793 GB, free: 8.359 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001949/1.086, allocations: 2.001 MB / 0.8812 GB, free: 6.348 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.002353/1.089, allocations: 1.375 MB / 0.8826 GB, free: 4.961 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00307/1.092, allocations: 0.6705 MB / 0.8832 GB, free: 4.277 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001351/1.092, allocations: 305.1 kB / 0.8835 GB, free: 3.977 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006693/1.098, allocations: 2.585 MB / 0.886 GB, free: 1.383 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007381/1.106, allocations: 3.205 MB / 0.8892 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07285/1.179, allocations: 18.96 MB / 0.9077 GB, free: 10.72 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.799e-05/1.179, allocations: 8 kB / 0.9077 GB, free: 10.71 MB / 0.67 GB Notification: Performance of matching and sorting (n=534) (initialization): time 0.06062/1.239, allocations: 16.83 MB / 0.9241 GB, free: 9.832 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.000104/1.239, allocations: 63.41 kB / 0.9242 GB, free: 9.758 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.991e-05/1.239, allocations: 16 kB / 0.9242 GB, free: 9.742 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02645/1.266, allocations: 7.221 MB / 0.9312 GB, free: 2.516 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003482/1.269, allocations: 0.6709 MB / 0.9319 GB, free: 1.844 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09594/1.365, allocations: 33.67 MB / 0.9648 GB, free: 28 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006562/1.372, allocations: 0.6223 MB / 0.9654 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001027/1.373, allocations: 156 kB / 0.9655 GB, free: 15.25 MB / 0.7325 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.003202/1.376, allocations: 0.6637 MB / 0.9662 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002074/1.378, allocations: 484.8 kB / 0.9666 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3448/1.723, allocations: 16.71 MB / 0.983 GB, free: 231.8 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.028e-05/1.723, allocations: 36.16 kB / 0.983 GB, free: 231.8 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.863e-05/1.723, allocations: 28.31 kB / 0.983 GB, free: 231.8 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001115/1.723, allocations: 19.11 kB / 0.983 GB, free: 231.8 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.05902/1.782, allocations: 21.67 MB / 1.004 GB, free: 228.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-05/1.782, allocations: 0 / 1.004 GB, free: 228.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002135/1.784, allocations: 386.4 kB / 1.005 GB, free: 228.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02429/1.809, allocations: 7.367 MB / 1.012 GB, free: 227.4 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007557/1.809, allocations: 73.69 kB / 1.012 GB, free: 227.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06831/1.878, allocations: 31.64 MB / 1.043 GB, free: 214.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.878, allocations: 4.969 kB / 1.043 GB, free: 214.1 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0532/1.931, allocations: 20.09 MB / 1.062 GB, free: 194.6 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001539/1.932, allocations: 0.5033 MB / 1.063 GB, free: 194.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001001/1.933, allocations: 60 kB / 1.063 GB, free: 194.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003915/1.937, allocations: 383.5 kB / 1.063 GB, free: 193.7 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002596/1.94, allocations: 0.8114 MB / 1.064 GB, free: 192.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002736/1.94, allocations: 95.98 kB / 1.064 GB, free: 192.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002403/1.943, allocations: 2.109 MB / 1.066 GB, free: 190.7 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/1.943, allocations: 0 / 1.066 GB, free: 190.7 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004497/1.947, allocations: 1.814 MB / 1.068 GB, free: 188.9 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.05314/2, allocations: 20.77 MB / 1.088 GB, free: 168 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02185/2.022, allocations: 8.893 MB / 1.097 GB, free: 159.1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/2.022, allocations: 0 / 1.097 GB, free: 159.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01651/2.039, allocations: 5.896 MB / 1.103 GB, free: 153.1 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002998/2.042, allocations: 382.1 kB / 1.103 GB, free: 152.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1299/2.172, allocations: 57.99 MB / 1.16 GB, free: 94.03 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001469/2.173, allocations: 2.443 MB / 1.162 GB, free: 91.55 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001487/2.175, allocations: 379.1 kB / 1.162 GB, free: 91.17 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001863/2.176, allocations: 2.018 MB / 1.164 GB, free: 89.15 MB / 0.7325 GB Notification: Performance of SimCode: time 8.31e-07/2.176, allocations: 0 / 1.164 GB, free: 89.15 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4872/2.664, allocations: 134 MB / 1.295 GB, free: 244 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.03/24.69, allocations: 2.438 kB / 1.295 GB, free: 244 MB / 0.7481 GB " [Timeout remaining time 635] (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: 28.824273929931223] Failed to read output from testmodel.py, exit status != 0: 24.872854389017448 24.881979168 24.254603245 Calling exit ...