Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.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.GAST,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GAST",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.GAST,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GAST",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.1682/0.1682, allocations: 12.59 MB / 28.22 MB, free: 0.7266 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.002154/0.002155, allocations: 115.4 kB / 31.84 MB, free: 3.867 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.953/2.953, allocations: 205.1 MB / 240.4 MB, free: 12.38 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.002666/0.002666, allocations: 183.5 kB / 290.7 MB, free: 13.4 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.8533/0.8533, allocations: 78.51 MB / 419.3 MB, free: 11.28 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.005669/0.005669, allocations: 139.5 kB / 0.5554 GB, free: 28.79 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2583, allocations: 68.13 MB / 0.6219 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.01637/0.2747, allocations: 9.277 MB / 0.631 GB, free: 6.609 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01253/0.2873, allocations: 2.845 MB / 0.6337 GB, free: 3.754 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003266/0.2907, allocations: 20 kB / 0.6338 GB, free: 3.734 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002709/0.2934, allocations: 364.8 kB / 0.6341 GB, free: 3.375 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008361/0.3019, allocations: 1.254 MB / 0.6353 GB, free: 2.117 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004264/0.3062, allocations: 0.8457 MB / 0.6362 GB, free: 1.277 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.008108/0.3143, allocations: 2.747 MB / 0.6388 GB, free: 14.52 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002568/0.317, allocations: 0.5437 MB / 0.6394 GB, free: 13.95 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00392/0.321, allocations: 1.031 MB / 0.6404 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003825/0.3249, allocations: 1.299 MB / 0.6417 GB, free: 11.61 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001793/0.3267, allocations: 220 kB / 0.6419 GB, free: 11.39 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00308/0.3299, allocations: 475.7 kB / 0.6423 GB, free: 10.93 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001552/0.3315, allocations: 0.5331 MB / 0.6428 GB, free: 10.39 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003294/0.3348, allocations: 1.064 MB / 0.6439 GB, free: 9.32 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007936/0.3428, allocations: 2.741 MB / 0.6466 GB, free: 6.57 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.288e-06/0.3428, allocations: 0 / 0.6466 GB, free: 6.57 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3429, allocations: 0 / 0.6466 GB, free: 6.57 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001252/0.343, allocations: 0 / 0.6466 GB, free: 6.57 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: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.02817/0.3712, allocations: 4.158 MB / 0.6506 GB, free: 2.344 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.483e-05/0.3713, allocations: 11.98 kB / 0.6506 GB, free: 2.332 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008502/0.3722, allocations: 181.3 kB / 0.6508 GB, free: 2.145 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009103/0.3813, allocations: 0.7935 MB / 0.6516 GB, free: 1.348 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005741/0.3871, allocations: 1.302 MB / 0.6528 GB, free: 15.99 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009404/0.3881, allocations: 466.6 kB / 0.6533 GB, free: 15.46 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009257/0.3891, allocations: 135.9 kB / 0.6534 GB, free: 15.33 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007261/0.3963, allocations: 1.621 MB / 0.655 GB, free: 13.66 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.342e-05/0.3965, allocations: 3.938 kB / 0.655 GB, free: 13.66 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003443/0.3968, allocations: 44 kB / 0.6551 GB, free: 13.62 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.799e-05/0.3969, allocations: 28 kB / 0.6551 GB, free: 13.59 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006367/0.4033, allocations: 1.504 MB / 0.6565 GB, free: 12.08 MB / 478.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.02348/0.4268, allocations: 5.789 MB / 0.6622 GB, free: 6.066 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01847/0.4453, allocations: 3.179 MB / 0.6653 GB, free: 2.754 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00466/0.4501, allocations: 1.003 MB / 0.6663 GB, free: 1.746 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001182/0.4513, allocations: 0.7349 MB / 0.667 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00587/0.4572, allocations: 1.204 MB / 0.6682 GB, free: 15.61 MB / 494.1 MB Notification: Performance of pre-optimization done (n=148): time 1.206e-05/0.4573, allocations: 0 / 0.6682 GB, free: 15.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=148): time 0.07473/0.5321, allocations: 9.972 MB / 0.6779 GB, free: 5.574 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001333/0.5323, allocations: 149.9 kB / 0.6781 GB, free: 5.398 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005931/0.5382, allocations: 1.639 MB / 0.6797 GB, free: 3.758 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007509/0.539, allocations: 57.7 kB / 0.6797 GB, free: 3.695 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001156/0.5402, allocations: 0.703 MB / 0.6804 GB, free: 2.98 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001581/0.5418, allocations: 0.5277 MB / 0.6809 GB, free: 2.445 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002929/0.5448, allocations: 395.9 kB / 0.6813 GB, free: 2.051 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002072/0.5451, allocations: 301.1 kB / 0.6816 GB, free: 1.754 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005422/0.5505, allocations: 1.078 MB / 0.6826 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005337/0.5559, allocations: 1.313 MB / 0.6839 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009883/0.5658, allocations: 2.335 MB / 0.6862 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.514e-05/0.566, allocations: 4 kB / 0.6862 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of matching and sorting (n=279) (initialization): time 0.02098/0.587, allocations: 4.006 MB / 0.6901 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001264/0.5872, allocations: 29.7 kB / 0.6901 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.51e-05/0.5873, allocations: 8 kB / 0.6901 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01584/0.6031, allocations: 2.652 MB / 0.6927 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003297/0.6065, allocations: 383.5 kB / 0.6931 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01197/0.6185, allocations: 2.687 MB / 0.6957 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005127/0.6237, allocations: 298 kB / 0.696 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000893/0.6247, allocations: 75.98 kB / 0.6961 GB, free: 2.641 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,iEEET1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (222): * Single equations (assignments): 219 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * 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.002492/0.6272, allocations: 353.3 kB / 0.6964 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001558/0.6288, allocations: 185.7 kB / 0.6966 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02929/0.6581, allocations: 5.175 MB / 0.7016 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.635e-05/0.6582, allocations: 16 kB / 0.7017 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.861e-05/0.6582, allocations: 0 / 0.7017 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.996e-05/0.6583, allocations: 11.97 kB / 0.7017 GB, free: 12.87 MB / 0.5137 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.04343/0.7018, allocations: 7.645 MB / 0.7091 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-05/0.7019, allocations: 7.938 kB / 0.7092 GB, free: 5.086 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002304/0.7042, allocations: 171.7 kB / 0.7093 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01616/0.7204, allocations: 2.236 MB / 0.7115 GB, free: 2.676 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008068/0.7213, allocations: 39.92 kB / 0.7115 GB, free: 2.637 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7002/1.422, allocations: 12.06 MB / 0.7233 GB, free: 81.24 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/1.422, allocations: 1.141 kB / 0.7233 GB, free: 81.24 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04043/1.462, allocations: 6.365 MB / 0.7295 GB, free: 79.58 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00169/1.464, allocations: 297.5 kB / 0.7298 GB, free: 79.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001269/1.465, allocations: 31.47 kB / 0.7298 GB, free: 79.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004195/1.469, allocations: 161.3 kB / 0.73 GB, free: 79.32 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002117/1.472, allocations: 293.6 kB / 0.7303 GB, free: 79.25 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004468/1.472, allocations: 41.89 kB / 0.7303 GB, free: 79.24 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004739/1.477, allocations: 1.108 MB / 0.7314 GB, free: 78.82 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.11e-07/1.477, allocations: 1.281 kB / 0.7314 GB, free: 78.82 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00512/1.482, allocations: 0.6015 MB / 0.732 GB, free: 78.75 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 16 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,iEEET1.derivativeLag.x,iEEET1.simpleLagLim.state,iEEET1.rotatingExciter.sISO.y,iEEET1.TransducerDelay.state,gAST.transferFunction1.x_scaled[1],gAST.transferFunction2.x_scaled[1],gAST.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(26,23), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0385/1.521, allocations: 6.982 MB / 0.7388 GB, free: 76.34 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01721/1.538, allocations: 3.173 MB / 0.7419 GB, free: 75.14 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/1.538, allocations: 0 / 0.7419 GB, free: 75.14 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.01235/1.55, allocations: 2.184 MB / 0.744 GB, free: 73.95 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004511/1.555, allocations: 166.9 kB / 0.7442 GB, free: 73.84 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09347/1.648, allocations: 21.08 MB / 0.7648 GB, free: 53.13 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002122/1.651, allocations: 1.343 MB / 0.7661 GB, free: 51.76 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002052/1.653, allocations: 175.6 kB / 0.7663 GB, free: 51.58 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002028/1.655, allocations: 0.718 MB / 0.767 GB, free: 50.86 MB / 0.5137 GB Notification: Performance of SimCode: time 1.583e-06/1.655, allocations: 0 / 0.767 GB, free: 50.86 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1797/1.834, allocations: 51.4 MB / 0.8172 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.17/29, allocations: 14.36 kB / 0.8172 GB, free: 15.52 MB / 0.5294 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GAST_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GAST.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe 2>&1)