Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_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.001377/0.001377, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.466/1.466, allocations: 230.6 MB / 253.5 MB, free: 14.28 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.001504/0.001504, allocations: 212.8 kB / 310 MB, free: 3.051 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.5938/0.5938, allocations: 101.3 MB / 467.7 MB, free: 32.07 MB / 350.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.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII",fmuType="cs",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.002455/0.002455, allocations: 79.94 kB / 0.6252 GB, free: 33.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1321, allocations: 78.6 MB / 0.702 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.02089/0.153, allocations: 18.62 MB / 0.7201 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01137/0.1643, allocations: 4.866 MB / 0.7249 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0035/0.1678, allocations: 44 kB / 0.7249 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002917/0.1708, allocations: 0.8827 MB / 0.7258 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.008134/0.1789, allocations: 2.303 MB / 0.728 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006163/0.1851, allocations: 2.062 MB / 0.7301 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00924/0.1943, allocations: 5.83 MB / 0.7358 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002476/0.1968, allocations: 0.9196 MB / 0.7367 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004285/0.2011, allocations: 2.439 MB / 0.739 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004794/0.2059, allocations: 3.006 MB / 0.742 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001502/0.2074, allocations: 448 kB / 0.7424 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002103/0.2095, allocations: 0.6209 MB / 0.743 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001479/0.2109, allocations: 1.167 MB / 0.7441 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002972/0.2139, allocations: 2.14 MB / 0.7462 GB, free: 3.168 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.008406/0.2223, allocations: 6.398 MB / 0.7525 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2223, allocations: 0 / 0.7525 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2223, allocations: 0 / 0.7525 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001569/0.2225, allocations: 0 / 0.7525 GB, free: 12.74 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.03406/0.2565, allocations: 9.997 MB / 0.7622 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.2566, allocations: 8.031 kB / 0.7623 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001012/0.2567, allocations: 86.53 kB / 0.7623 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009591/0.2576, allocations: 0.4892 MB / 0.7628 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02878/0.2864, allocations: 4.055 MB / 0.7668 GB, free: 14 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006091/0.2925, allocations: 2.614 MB / 0.7693 GB, free: 11.3 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001195/0.2937, allocations: 1.033 MB / 0.7703 GB, free: 10.11 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001246/0.295, allocations: 352 kB / 0.7707 GB, free: 9.766 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01173/0.3067, allocations: 4.78 MB / 0.7753 GB, free: 4.949 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.018e-05/0.3067, allocations: 0 / 0.7753 GB, free: 4.949 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000469/0.3072, allocations: 140 kB / 0.7755 GB, free: 4.812 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.964e-05/0.3073, allocations: 88 kB / 0.7756 GB, free: 4.727 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009986/0.3173, allocations: 4.288 MB / 0.7797 GB, free: 436 kB / 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.0352/0.3525, allocations: 13.47 MB / 0.7929 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.013/0.3655, allocations: 4.391 MB / 0.7972 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006442/0.3719, allocations: 2.519 MB / 0.7996 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005464/0.3725, allocations: 54.97 kB / 0.7997 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008047/0.3805, allocations: 3.222 MB / 0.8028 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=385): time 7.824e-06/0.3805, allocations: 0 / 0.8028 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=385): time 0.5985/0.979, allocations: 66.6 MB / 0.8679 GB, free: 59.66 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.979, allocations: 149.8 kB / 0.868 GB, free: 59.48 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003954/0.983, allocations: 3.274 MB / 0.8712 GB, free: 56.65 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0008249/0.9838, allocations: 93.73 kB / 0.8713 GB, free: 56.55 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00106/0.9849, allocations: 2.012 MB / 0.8733 GB, free: 54.92 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001527/0.9864, allocations: 1.382 MB / 0.8746 GB, free: 53.75 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0017/0.9881, allocations: 0.6864 MB / 0.8753 GB, free: 53.05 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.46e-05/0.9881, allocations: 309.1 kB / 0.8756 GB, free: 52.74 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005263/0.9934, allocations: 2.667 MB / 0.8782 GB, free: 50.05 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005829/0.9992, allocations: 3.303 MB / 0.8814 GB, free: 46.52 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0677/1.067, allocations: 19.35 MB / 0.9003 GB, free: 26.92 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.373e-05/1.067, allocations: 4 kB / 0.9003 GB, free: 26.92 MB / 0.5762 GB Notification: Performance of matching and sorting (n=546) (initialization): time 0.05164/1.119, allocations: 17.19 MB / 0.9171 GB, free: 9.668 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.031e-05/1.119, allocations: 63.41 kB / 0.9172 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.223e-05/1.119, allocations: 19.94 kB / 0.9172 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0239/1.143, allocations: 7.291 MB / 0.9243 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003298/1.146, allocations: 0.6787 MB / 0.925 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0982/1.244, allocations: 32.94 MB / 0.9571 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006643/1.251, allocations: 0.6274 MB / 0.9578 GB, free: 36 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009888/1.252, allocations: 156.2 kB / 0.9579 GB, free: 15.88 MB / 0.6231 GB Warning: Assuming fixed start value for the following 4 variables: order6.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 (409): * Single equations (assignments): 406 * 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,46)} Notification: Performance of prepare postOptimizeDAE: time 0.002625/1.254, allocations: 0.6703 MB / 0.9586 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001423/1.256, allocations: 480.9 kB / 0.959 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06081/1.317, allocations: 16.79 MB / 0.9754 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.575e-05/1.317, allocations: 40 kB / 0.9755 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.234e-05/1.317, allocations: 28 kB / 0.9755 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001008/1.317, allocations: 19.92 kB / 0.9755 GB, free: 13.77 MB / 0.6387 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.06809/1.385, allocations: 20.45 MB / 0.9955 GB, free: 9.344 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.061e-05/1.385, allocations: 0 / 0.9955 GB, free: 9.344 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002643/1.388, allocations: 392.4 kB / 0.9958 GB, free: 8.961 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02746/1.415, allocations: 7.337 MB / 1.003 GB, free: 1.613 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000999/1.416, allocations: 75.98 kB / 1.003 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0934/1.509, allocations: 30.82 MB / 1.033 GB, free: 2.508 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/1.509, allocations: 3.938 kB / 1.033 GB, free: 2.504 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06862/1.578, allocations: 20.24 MB / 1.053 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001542/1.58, allocations: 0.5055 MB / 1.053 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001575/1.581, allocations: 72.06 kB / 1.054 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005174/1.586, allocations: 379.5 kB / 1.054 GB, free: 13.27 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003668/1.59, allocations: 0.8114 MB / 1.055 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005088/1.591, allocations: 95.98 kB / 1.055 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.003888/1.594, allocations: 2.149 MB / 1.057 GB, free: 10.2 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/1.594, allocations: 0 / 1.057 GB, free: 10.2 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.006567/1.601, allocations: 1.828 MB / 1.059 GB, free: 8.438 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.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 (249): * Single equations (assignments): 246 * 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.0712/1.672, allocations: 20.92 MB / 1.079 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.03011/1.702, allocations: 9.034 MB / 1.088 GB, free: 10.31 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/1.702, allocations: 4.938 kB / 1.088 GB, free: 10.31 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.02166/1.724, allocations: 5.939 MB / 1.094 GB, free: 4.316 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003861/1.728, allocations: 392.5 kB / 1.094 GB, free: 3.93 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4445/2.172, allocations: 59.26 MB / 1.152 GB, free: 233.9 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003119/2.175, allocations: 1.948 MB / 1.154 GB, free: 231.9 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002027/2.177, allocations: 378.1 kB / 1.154 GB, free: 231.5 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003012/2.18, allocations: 1.999 MB / 1.156 GB, free: 229.5 MB / 0.7481 GB Notification: Performance of SimCode: time 1.282e-06/2.18, allocations: 4 kB / 1.156 GB, free: 229.5 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1773/2.358, allocations: 137.7 MB / 1.291 GB, free: 92.44 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.61/27.97, allocations: 2.969 kB / 1.291 GB, free: 92.44 MB / 0.7481 GB " [Timeout remaining time 632] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 32.73444005695637] Failed to read output from testmodel.py, exit status != 0: 28.212257571984082 28.22285822 27.998068952 Calling exit ...