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.001346/0.001346, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.426/1.426, allocations: 230.6 MB / 250.5 MB, free: 9.219 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.001575/0.001575, allocations: 201.2 kB / 306.7 MB, free: 4.289 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.5445/0.5445, allocations: 101.3 MB / 464 MB, free: 11.92 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.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.002379/0.002379, allocations: 89.42 kB / 0.6201 GB, free: 15.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1538, allocations: 78.58 MB / 0.6968 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.3264/0.4802, allocations: 22.07 MB / 0.7184 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01341/0.4936, allocations: 4.966 MB / 0.7232 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005709/0.4993, allocations: 46.97 kB / 0.7233 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003687/0.503, allocations: 0.8851 MB / 0.7241 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.009256/0.5122, allocations: 2.328 MB / 0.7264 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006555/0.5188, allocations: 2.071 MB / 0.7284 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01143/0.5302, allocations: 5.807 MB / 0.7341 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002532/0.5327, allocations: 0.918 MB / 0.735 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004873/0.5376, allocations: 2.421 MB / 0.7374 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005817/0.5434, allocations: 3.002 MB / 0.7403 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001744/0.5452, allocations: 450.8 kB / 0.7407 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002265/0.5474, allocations: 0.6086 MB / 0.7413 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001284/0.5487, allocations: 1.18 MB / 0.7425 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.003941/0.5527, allocations: 2.633 MB / 0.745 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.009057/0.5617, allocations: 6.339 MB / 0.7512 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.5617, allocations: 0 / 0.7512 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.044e-06/0.5617, allocations: 1.312 kB / 0.7512 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0002205/0.562, allocations: 0 / 0.7512 GB, free: 4.82 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: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.03424/0.5962, allocations: 9.435 MB / 0.7604 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.5962, allocations: 11.66 kB / 0.7605 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001175/0.5964, allocations: 89.86 kB / 0.7605 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007827/0.5971, allocations: 492.1 kB / 0.761 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02789/0.625, allocations: 4.06 MB / 0.765 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006433/0.6315, allocations: 2.725 MB / 0.7676 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001157/0.6326, allocations: 0.9612 MB / 0.7686 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001115/0.6337, allocations: 348 kB / 0.7689 GB, free: 7.965 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01161/0.6454, allocations: 4.758 MB / 0.7736 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.87e-05/0.6454, allocations: 0 / 0.7736 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004485/0.6459, allocations: 140 kB / 0.7737 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.861e-05/0.6459, allocations: 84 kB / 0.7738 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01027/0.6562, allocations: 4.263 MB / 0.7779 GB, free: 14.68 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.03763/0.6938, allocations: 18.32 MB / 0.7958 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01333/0.7072, allocations: 4.681 MB / 0.8004 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006113/0.7133, allocations: 2.494 MB / 0.8028 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004681/0.7137, allocations: 70.94 kB / 0.8029 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007217/0.721, allocations: 3.201 MB / 0.806 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=385): time 5.931e-06/0.721, allocations: 0 / 0.806 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of matching and sorting (n=385): time 0.3246/1.046, allocations: 66.7 MB / 0.8712 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/1.046, allocations: 141.8 kB / 0.8713 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006389/1.052, allocations: 3.271 MB / 0.8745 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0008829/1.053, allocations: 89.7 kB / 0.8746 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.002068/1.055, allocations: 2.005 MB / 0.8765 GB, free: 8.137 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.002035/1.057, allocations: 1.39 MB / 0.8779 GB, free: 6.734 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00163/1.059, allocations: 0.6942 MB / 0.8786 GB, free: 6.027 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001448/1.059, allocations: 305.1 kB / 0.8789 GB, free: 5.727 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006678/1.065, allocations: 2.62 MB / 0.8814 GB, free: 3.098 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007095/1.073, allocations: 3.249 MB / 0.8846 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07868/1.151, allocations: 19.34 MB / 0.9035 GB, free: 12.02 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.008e-05/1.151, allocations: 4 kB / 0.9035 GB, free: 12.01 MB / 0.67 GB Notification: Performance of matching and sorting (n=546) (initialization): time 0.06164/1.213, allocations: 17.14 MB / 0.9202 GB, free: 10.83 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 9.36e-05/1.213, allocations: 69.89 kB / 0.9203 GB, free: 10.75 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-05/1.213, allocations: 16 kB / 0.9203 GB, free: 10.73 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02905/1.242, allocations: 7.295 MB / 0.9274 GB, free: 3.434 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003856/1.246, allocations: 0.6825 MB / 0.9281 GB, free: 2.75 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1021/1.348, allocations: 33.9 MB / 0.9612 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007134/1.355, allocations: 0.6338 MB / 0.9618 GB, free: 40 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001056/1.356, allocations: 152 kB / 0.962 GB, free: 15.89 MB / 0.7325 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.003096/1.359, allocations: 0.6837 MB / 0.9626 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001822/1.361, allocations: 480.9 kB / 0.9631 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3249/1.686, allocations: 16.75 MB / 0.9794 GB, free: 231.9 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.05e-05/1.686, allocations: 41.31 kB / 0.9795 GB, free: 231.9 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.052e-05/1.686, allocations: 29.05 kB / 0.9795 GB, free: 231.9 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.22e-05/1.686, allocations: 20.52 kB / 0.9795 GB, free: 231.9 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.06617/1.752, allocations: 21.78 MB / 1.001 GB, free: 228.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.316e-05/1.752, allocations: 3.531 kB / 1.001 GB, free: 228.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00238/1.755, allocations: 394.7 kB / 1.001 GB, free: 228.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02582/1.781, allocations: 7.352 MB / 1.008 GB, free: 227.6 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008912/1.782, allocations: 77.62 kB / 1.008 GB, free: 227.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07991/1.861, allocations: 31.88 MB / 1.04 GB, free: 214.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/1.861, allocations: 0 / 1.04 GB, free: 214.1 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05822/1.92, allocations: 20.18 MB / 1.059 GB, free: 195.7 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001458/1.921, allocations: 0.5881 MB / 1.06 GB, free: 195.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001348/1.923, allocations: 69.5 kB / 1.06 GB, free: 195.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00507/1.928, allocations: 383.5 kB / 1.06 GB, free: 194.7 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003081/1.931, allocations: 0.7805 MB / 1.061 GB, free: 193.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005092/1.931, allocations: 91.98 kB / 1.061 GB, free: 193.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002759/1.934, allocations: 2.153 MB / 1.063 GB, free: 191.7 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/1.934, allocations: 0 / 1.063 GB, free: 191.7 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.005767/1.94, allocations: 1.824 MB / 1.065 GB, free: 189.9 MB / 0.7325 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.05877/1.998, allocations: 20.86 MB / 1.085 GB, free: 168.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02546/2.024, allocations: 8.974 MB / 1.094 GB, free: 159.9 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/2.024, allocations: 4 kB / 1.094 GB, free: 159.9 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01884/2.043, allocations: 5.904 MB / 1.1 GB, free: 154 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003767/2.047, allocations: 387.2 kB / 1.1 GB, free: 153.6 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1481/2.195, allocations: 59.03 MB / 1.158 GB, free: 93.82 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001525/2.196, allocations: 2.455 MB / 1.16 GB, free: 91.33 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001438/2.198, allocations: 379.2 kB / 1.161 GB, free: 90.96 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002064/2.2, allocations: 1.995 MB / 1.163 GB, free: 88.96 MB / 0.7325 GB Notification: Performance of SimCode: time 1.123e-06/2.2, allocations: 0 / 1.163 GB, free: 88.96 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4709/2.671, allocations: 132.2 MB / 1.292 GB, free: 241.9 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.35/26.02, allocations: 6.453 kB / 1.292 GB, free: 241.9 MB / 0.7481 GB " [Timeout remaining time 634] (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: 30.891314825974405] Failed to read output from testmodel.py, exit status != 0: 26.24655073095346 26.27066237 25.704030404 Calling exit ...