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.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.001578/0.001578, allocations: 110.6 kB / 16.46 MB, free: 6.035 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.487/1.487, allocations: 225.6 MB / 244.8 MB, free: 14.16 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.003256/0.003256, allocations: 197.6 kB / 299.8 MB, free: 9.801 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.574/0.574, allocations: 99.66 MB / 454.4 MB, free: 5.039 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.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002364/0.002364, allocations: 79.88 kB / 0.6075 GB, free: 9.363 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1716, allocations: 76.93 MB / 0.6826 GB, free: 12.27 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.3923/0.5639, allocations: 22.07 MB / 0.7041 GB, free: 6.281 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01331/0.5772, allocations: 4.915 MB / 0.7089 GB, free: 4.008 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006708/0.5839, allocations: 43.38 kB / 0.709 GB, free: 4.008 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004093/0.588, allocations: 0.8811 MB / 0.7098 GB, free: 3.531 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01143/0.5994, allocations: 2.305 MB / 0.7121 GB, free: 1.891 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007711/0.6071, allocations: 2.08 MB / 0.7141 GB, free: 0.832 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.01315/0.6203, allocations: 5.801 MB / 0.7198 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003226/0.6235, allocations: 0.9142 MB / 0.7207 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006172/0.6297, allocations: 2.361 MB / 0.723 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00747/0.6371, allocations: 3.001 MB / 0.7259 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.00296/0.6401, allocations: 446.5 kB / 0.7263 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004167/0.6443, allocations: 0.5934 MB / 0.7269 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.003316/0.6476, allocations: 1.167 MB / 0.7281 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.007292/0.6549, allocations: 2.636 MB / 0.7306 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01379/0.6687, allocations: 6.323 MB / 0.7368 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.6687, allocations: 5.375 kB / 0.7368 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.853e-06/0.6687, allocations: 0 / 0.7368 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0003705/0.669, allocations: 3.938 kB / 0.7368 GB, free: 3.668 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: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.03879/0.7078, allocations: 9.403 MB / 0.746 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.7079, allocations: 10 kB / 0.746 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001868/0.7097, allocations: 493.7 kB / 0.7465 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02803/0.7378, allocations: 4.044 MB / 0.7504 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008477/0.7463, allocations: 2.721 MB / 0.7531 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001378/0.7476, allocations: 0.9638 MB / 0.754 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001808/0.7494, allocations: 352 kB / 0.7544 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01547/0.7649, allocations: 4.747 MB / 0.759 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001452/0.7651, allocations: 0 / 0.759 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001185/0.7663, allocations: 144 kB / 0.7591 GB, free: 4.078 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001089/0.7664, allocations: 84.56 kB / 0.7592 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01229/0.7786, allocations: 4.26 MB / 0.7634 GB, free: 15.73 MB / 0.5294 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.04473/0.8234, allocations: 18.33 MB / 0.7813 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01353/0.8369, allocations: 4.685 MB / 0.7859 GB, free: 7.461 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006483/0.8434, allocations: 2.492 MB / 0.7883 GB, free: 4.961 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007091/0.8441, allocations: 70.86 kB / 0.7884 GB, free: 4.891 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008458/0.8526, allocations: 3.203 MB / 0.7915 GB, free: 1.648 MB / 0.545 GB Notification: Performance of pre-optimization done (n=385): time 1.258e-05/0.8526, allocations: 0 / 0.7915 GB, free: 1.648 MB / 0.545 GB Notification: Performance of matching and sorting (n=385): time 0.2993/1.152, allocations: 66.7 MB / 0.8566 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001414/1.152, allocations: 141.8 kB / 0.8568 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007066/1.159, allocations: 3.274 MB / 0.86 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.001116/1.16, allocations: 93.7 kB / 0.86 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.002171/1.162, allocations: 1.997 MB / 0.862 GB, free: 9.184 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.002816/1.165, allocations: 1.39 MB / 0.8634 GB, free: 7.781 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003862/1.169, allocations: 0.6941 MB / 0.864 GB, free: 7.074 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001354/1.169, allocations: 305.1 kB / 0.8643 GB, free: 6.773 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006903/1.176, allocations: 2.62 MB / 0.8669 GB, free: 4.145 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007855/1.184, allocations: 3.245 MB / 0.8701 GB, free: 0.6797 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07768/1.262, allocations: 19.14 MB / 0.8887 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.609e-05/1.262, allocations: 7.938 kB / 0.8887 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of matching and sorting (n=546) (initialization): time 0.06471/1.326, allocations: 17.14 MB / 0.9055 GB, free: 12.08 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001156/1.326, allocations: 65.75 kB / 0.9055 GB, free: 12.01 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.162e-05/1.327, allocations: 16 kB / 0.9056 GB, free: 11.99 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02926/1.356, allocations: 7.299 MB / 0.9127 GB, free: 4.684 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003868/1.36, allocations: 0.6787 MB / 0.9133 GB, free: 4.004 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1025/1.462, allocations: 33.9 MB / 0.9465 GB, free: 1.945 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00774/1.47, allocations: 0.6337 MB / 0.9471 GB, free: 1.309 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00136/1.471, allocations: 156 kB / 0.9472 GB, free: 1.156 MB / 0.7012 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.003422/1.475, allocations: 0.6769 MB / 0.9479 GB, free: 476 kB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002491/1.477, allocations: 481 kB / 0.9483 GB, free: 15.99 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05945/1.537, allocations: 16.76 MB / 0.9647 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.254e-05/1.537, allocations: 47.92 kB / 0.9648 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001271/1.537, allocations: 28 kB / 0.9648 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001318/1.537, allocations: 15.94 kB / 0.9648 GB, free: 15.07 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.4446/1.982, allocations: 21.78 MB / 0.9861 GB, free: 236.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.686e-05/1.982, allocations: 0 / 0.9861 GB, free: 236.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002491/1.984, allocations: 397.3 kB / 0.9864 GB, free: 236.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02649/2.011, allocations: 7.342 MB / 0.9936 GB, free: 236.5 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001061/2.012, allocations: 71.14 kB / 0.9937 GB, free: 236.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08109/2.093, allocations: 31.87 MB / 1.025 GB, free: 225.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.655e-06/2.093, allocations: 2.75 kB / 1.025 GB, free: 225.8 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06171/2.154, allocations: 20.19 MB / 1.045 GB, free: 219.6 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002231/2.157, allocations: 0.5799 MB / 1.045 GB, free: 219.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002442/2.159, allocations: 68 kB / 1.045 GB, free: 219.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005999/2.165, allocations: 379.4 kB / 1.046 GB, free: 218.8 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00421/2.169, allocations: 0.7885 MB / 1.046 GB, free: 218.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001081/2.17, allocations: 91.84 kB / 1.046 GB, free: 218.2 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.004796/2.175, allocations: 2.15 MB / 1.048 GB, free: 216.4 MB / 0.7325 GB Notification: Performance of sort global known variables: time 6.51e-07/2.175, allocations: 0 / 1.048 GB, free: 216.4 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0103/2.186, allocations: 1.825 MB / 1.05 GB, free: 214.7 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.06347/2.249, allocations: 20.86 MB / 1.071 GB, free: 195.1 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02604/2.275, allocations: 8.956 MB / 1.079 GB, free: 186.1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/2.275, allocations: 0 / 1.079 GB, free: 186.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0195/2.295, allocations: 5.915 MB / 1.085 GB, free: 180.2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006352/2.301, allocations: 379.6 kB / 1.086 GB, free: 179.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1651/2.466, allocations: 59 MB / 1.143 GB, free: 120.1 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003337/2.469, allocations: 2.455 MB / 1.146 GB, free: 117.6 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002522/2.472, allocations: 378 kB / 1.146 GB, free: 117.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003159/2.475, allocations: 1.999 MB / 1.148 GB, free: 115.2 MB / 0.7325 GB Notification: Performance of SimCode: time 1.733e-06/2.475, allocations: 0 / 1.148 GB, free: 115.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5708/3.046, allocations: 132 MB / 1.277 GB, free: 243.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.31/27.35, allocations: 5.859 kB / 1.277 GB, free: 243.3 MB / 0.7325 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.00749040627852] Failed to read output from testmodel.py, exit status != 0: 27.518228827044368 27.539980078 26.866983063 Calling exit ...