Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.081/0.081, allocations: 12.58 MB / 28.22 MB, free: 0.7383 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 107.4 kB / 31.83 MB, free: 3.875 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.242/1.242, allocations: 205.1 MB / 240.4 MB, free: 12.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 184.5 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3982/0.3982, allocations: 78.52 MB / 419.3 MB, free: 11.22 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00258/0.00258, allocations: 139.4 kB / 0.5554 GB, free: 28.89 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1088, allocations: 68.13 MB / 0.6219 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.008118/0.117, allocations: 8.032 MB / 0.6298 GB, free: 7.844 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004699/0.1217, allocations: 2.467 MB / 0.6322 GB, free: 5.367 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009799/0.1227, allocations: 12 kB / 0.6322 GB, free: 5.355 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009014/0.1236, allocations: 309.4 kB / 0.6325 GB, free: 5.051 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002917/0.1266, allocations: 1.259 MB / 0.6337 GB, free: 3.789 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001478/0.1281, allocations: 0.6633 MB / 0.6344 GB, free: 3.133 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002338/0.1304, allocations: 2.283 MB / 0.6366 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004949/0.1309, allocations: 373.6 kB / 0.6369 GB, free: 468 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009478/0.1319, allocations: 0.8639 MB / 0.6378 GB, free: 15.59 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001152/0.1331, allocations: 1.109 MB / 0.6389 GB, free: 14.47 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002645/0.1333, allocations: 179.9 kB / 0.639 GB, free: 14.3 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006033/0.134, allocations: 351.8 kB / 0.6394 GB, free: 13.96 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003415/0.1343, allocations: 450.2 kB / 0.6398 GB, free: 13.52 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000688/0.135, allocations: 0.8702 MB / 0.6406 GB, free: 12.64 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00191/0.1369, allocations: 2.192 MB / 0.6428 GB, free: 10.44 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.1369, allocations: 0 / 0.6428 GB, free: 10.44 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1369, allocations: 0 / 0.6428 GB, free: 10.44 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.954e-05/0.137, allocations: 0 / 0.6428 GB, free: 10.44 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.01298/0.15, allocations: 3.801 MB / 0.6465 GB, free: 6.578 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.15, allocations: 11.98 kB / 0.6465 GB, free: 6.566 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001883/0.1502, allocations: 147.6 kB / 0.6467 GB, free: 6.414 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004461/0.1547, allocations: 0.7511 MB / 0.6474 GB, free: 5.66 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001988/0.1567, allocations: 1.085 MB / 0.6484 GB, free: 4.523 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004174/0.1571, allocations: 425 kB / 0.6489 GB, free: 4.043 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002668/0.1574, allocations: 104 kB / 0.649 GB, free: 3.941 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002711/0.1601, allocations: 1.364 MB / 0.6503 GB, free: 2.559 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.1602, allocations: 0 / 0.6503 GB, free: 2.559 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/0.1603, allocations: 39.94 kB / 0.6503 GB, free: 2.52 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.961e-05/0.1603, allocations: 24 kB / 0.6503 GB, free: 2.496 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002847/0.1632, allocations: 1.3 MB / 0.6516 GB, free: 1.199 MB / 462.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.008378/0.1716, allocations: 4.645 MB / 0.6562 GB, free: 12.34 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007737/0.1793, allocations: 2.885 MB / 0.659 GB, free: 9.309 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001786/0.1811, allocations: 0.8996 MB / 0.6598 GB, free: 8.402 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001468/0.1813, allocations: 24.97 kB / 0.6599 GB, free: 8.379 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001947/0.1832, allocations: 1.05 MB / 0.6609 GB, free: 7.309 MB / 478.1 MB Notification: Performance of pre-optimization done (n=124): time 3.076e-06/0.1833, allocations: 0 / 0.6609 GB, free: 7.309 MB / 478.1 MB Notification: Performance of matching and sorting (n=124): time 0.04044/0.2237, allocations: 9.909 MB / 0.6706 GB, free: 13.36 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.965e-05/0.2238, allocations: 115.8 kB / 0.6707 GB, free: 13.22 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002135/0.2259, allocations: 1.349 MB / 0.672 GB, free: 11.86 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002715/0.2262, allocations: 53.7 kB / 0.6721 GB, free: 11.8 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004456/0.2267, allocations: 0.5648 MB / 0.6726 GB, free: 11.23 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005318/0.2272, allocations: 457.6 kB / 0.673 GB, free: 10.77 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006963/0.2279, allocations: 331.4 kB / 0.6734 GB, free: 10.45 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.932e-05/0.228, allocations: 305.1 kB / 0.6736 GB, free: 10.14 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002018/0.23, allocations: 0.9487 MB / 0.6746 GB, free: 9.195 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002146/0.2322, allocations: 1.155 MB / 0.6757 GB, free: 7.996 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003984/0.2362, allocations: 2.046 MB / 0.6777 GB, free: 5.902 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.2362, allocations: 0 / 0.6777 GB, free: 5.902 MB / 494.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.009698/0.2459, allocations: 3.823 MB / 0.6814 GB, free: 2.066 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.016e-05/0.246, allocations: 11.94 kB / 0.6814 GB, free: 2.055 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/0.246, allocations: 4.312 kB / 0.6814 GB, free: 2.051 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009079/0.2551, allocations: 2.675 MB / 0.6841 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001451/0.2566, allocations: 299.5 kB / 0.6843 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006026/0.2626, allocations: 2.687 MB / 0.687 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002282/0.2649, allocations: 242.3 kB / 0.6872 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002415/0.2652, allocations: 63.98 kB / 0.6873 GB, free: 12.06 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (174): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * 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 {(30,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0006797/0.2659, allocations: 301.5 kB / 0.6875 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004083/0.2663, allocations: 154 kB / 0.6877 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01509/0.2814, allocations: 4.755 MB / 0.6923 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/0.2814, allocations: 12 kB / 0.6924 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.2814, allocations: 4 kB / 0.6924 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.009e-05/0.2815, allocations: 11.97 kB / 0.6924 GB, free: 6.801 MB / 0.4981 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.01786/0.2993, allocations: 6.852 MB / 0.6991 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.428e-05/0.2994, allocations: 11.88 kB / 0.6991 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008426/0.3002, allocations: 139.8 kB / 0.6992 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007083/0.3073, allocations: 2.142 MB / 0.7013 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002446/0.3076, allocations: 27.98 kB / 0.7013 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02513/0.3327, allocations: 10.05 MB / 0.7111 GB, free: 3.277 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.3328, allocations: 3.984 kB / 0.7111 GB, free: 3.273 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2679/0.6007, allocations: 5.912 MB / 0.7169 GB, free: 83.88 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005028/0.6012, allocations: 265.2 kB / 0.7172 GB, free: 83.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002408/0.6014, allocations: 26 kB / 0.7172 GB, free: 83.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001553/0.603, allocations: 134.8 kB / 0.7173 GB, free: 83.79 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008575/0.6039, allocations: 254.7 kB / 0.7176 GB, free: 83.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/0.604, allocations: 34.69 kB / 0.7176 GB, free: 83.79 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001466/0.6055, allocations: 0.9174 MB / 0.7185 GB, free: 83.68 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.5e-07/0.6055, allocations: 0 / 0.7185 GB, free: 83.68 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001559/0.607, allocations: 0.5125 MB / 0.719 GB, free: 83.68 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,tGOV1.imLeadLag.TF.x_scaled[1],tGOV1.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 (81): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * 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 {(26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01849/0.6255, allocations: 6.511 MB / 0.7254 GB, free: 81.68 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008943/0.6345, allocations: 2.816 MB / 0.7281 GB, free: 80.89 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/0.6346, allocations: 0.5 kB / 0.7281 GB, free: 80.89 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00582/0.6404, allocations: 1.909 MB / 0.73 GB, free: 80.27 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001225/0.6417, allocations: 142.1 kB / 0.7301 GB, free: 80.18 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03902/0.6807, allocations: 19.06 MB / 0.7487 GB, free: 70.7 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005122/0.6812, allocations: 1.204 MB / 0.7499 GB, free: 69.47 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00061/0.6819, allocations: 141.7 kB / 0.75 GB, free: 69.33 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00065/0.6825, allocations: 0.5813 MB / 0.7506 GB, free: 68.75 MB / 0.5137 GB Notification: Performance of SimCode: time 8.21e-07/0.6825, allocations: 5.25 kB / 0.7506 GB, free: 68.75 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06673/0.7493, allocations: 42.1 MB / 0.7917 GB, free: 26.72 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.01/14.76, allocations: 11.06 kB / 0.7917 GB, free: 26.71 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe 2>&1)