Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.conf.json 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 4.0.0+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 3.1.0-master/package.mo", uses=false) 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.Tests.Controls.PSSE.TG.GAST,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GAST",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.GAST,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GAST",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009147/0.0009147, allocations: 92 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 223.3 MB / 239 MB, free: 5.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001517/0.001516, allocations: 180.5 kB / 290.3 MB, free: 2.293 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4936/0.4936, allocations: 79.49 MB / 420.8 MB, free: 3.984 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004013/0.0004014, allocations: 12 kB / 0.4892 GB, free: 5.477 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4167/0.4171, allocations: 69.51 MB / 0.5571 GB, free: 37.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.007691/0.4249, allocations: 8.425 MB / 0.5653 GB, free: 36.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005959/0.4309, allocations: 2.768 MB / 0.568 GB, free: 35.7 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001442/0.4323, allocations: 21.34 kB / 0.568 GB, free: 35.7 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000898/0.4332, allocations: 251.4 kB / 0.5683 GB, free: 35.59 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002494/0.4358, allocations: 0.9581 MB / 0.5692 GB, free: 34.97 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001573/0.4373, allocations: 0.6672 MB / 0.5699 GB, free: 34.66 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002478/0.4398, allocations: 2.289 MB / 0.5721 GB, free: 33.53 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006403/0.4405, allocations: 435.1 kB / 0.5725 GB, free: 33.37 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001019/0.4415, allocations: 0.8536 MB / 0.5734 GB, free: 33.01 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001001/0.4425, allocations: 1.109 MB / 0.5744 GB, free: 32.54 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001918/0.4427, allocations: 98.59 kB / 0.5745 GB, free: 32.54 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006785/0.4434, allocations: 336.2 kB / 0.5749 GB, free: 32.47 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003031/0.4437, allocations: 403.8 kB / 0.5752 GB, free: 32.25 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002785/0.444, allocations: 345.9 kB / 0.5756 GB, free: 32.04 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001471/0.4455, allocations: 2.018 MB / 0.5775 GB, free: 31.49 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.4455, allocations: 0 / 0.5775 GB, free: 31.49 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4455, allocations: 0 / 0.5775 GB, free: 31.49 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.507e-05/0.4455, allocations: 0 / 0.5775 GB, free: 31.49 MB / 430.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.01079/0.4563, allocations: 3.699 MB / 0.5812 GB, free: 30.07 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.4564, allocations: 13.22 kB / 0.5812 GB, free: 30.07 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003684/0.4568, allocations: 185.2 kB / 0.5813 GB, free: 29.95 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00425/0.461, allocations: 0.7885 MB / 0.5821 GB, free: 29.76 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002111/0.4631, allocations: 1.227 MB / 0.5833 GB, free: 29.02 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003558/0.4635, allocations: 485.6 kB / 0.5838 GB, free: 28.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002107/0.4637, allocations: 137.6 kB / 0.5839 GB, free: 28.54 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002742/0.4665, allocations: 1.69 MB / 0.5856 GB, free: 27.88 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.543e-05/0.4665, allocations: 6.875 kB / 0.5856 GB, free: 27.88 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/0.4667, allocations: 45.44 kB / 0.5856 GB, free: 27.84 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.105e-05/0.4667, allocations: 32.52 kB / 0.5856 GB, free: 27.84 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003098/0.4698, allocations: 1.578 MB / 0.5872 GB, free: 27.31 MB / 430.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.009114/0.4789, allocations: 5.917 MB / 0.593 GB, free: 24 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008996/0.4879, allocations: 3.725 MB / 0.5966 GB, free: 22.66 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00268/0.4907, allocations: 1.074 MB / 0.5976 GB, free: 22.25 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005867/0.4913, allocations: 0.7399 MB / 0.5984 GB, free: 21.39 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002707/0.494, allocations: 1.273 MB / 0.5996 GB, free: 20.93 MB / 430.1 MB Notification: Performance of pre-optimization done (n=148): time 3.897e-06/0.494, allocations: 1.719 kB / 0.5996 GB, free: 20.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=148): time 0.04168/0.5357, allocations: 11.93 MB / 0.6113 GB, free: 18.64 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.818e-05/0.5359, allocations: 153.1 kB / 0.6114 GB, free: 18.48 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003777/0.5396, allocations: 1.633 MB / 0.613 GB, free: 17.59 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004554/0.5401, allocations: 59.14 kB / 0.6131 GB, free: 17.54 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005918/0.5407, allocations: 0.7109 MB / 0.6138 GB, free: 16.9 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007879/0.5415, allocations: 0.525 MB / 0.6143 GB, free: 16.43 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003385/0.5419, allocations: 41 kB / 0.6143 GB, free: 16.4 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.542, allocations: 387.1 kB / 0.6147 GB, free: 16.04 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00253/0.5446, allocations: 1.149 MB / 0.6158 GB, free: 15.48 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002729/0.5473, allocations: 1.386 MB / 0.6172 GB, free: 14.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002551/0.5499, allocations: 1.271 MB / 0.6184 GB, free: 13.49 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.602e-05/0.5499, allocations: 4 kB / 0.6184 GB, free: 13.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.008955/0.5589, allocations: 4.374 MB / 0.6227 GB, free: 9.047 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.756e-05/0.5589, allocations: 29.7 kB / 0.6227 GB, free: 9.012 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.811e-05/0.559, allocations: 8 kB / 0.6227 GB, free: 9.004 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008198/0.5672, allocations: 3.036 MB / 0.6257 GB, free: 5.965 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001981/0.5692, allocations: 379.5 kB / 0.626 GB, free: 5.594 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005734/0.575, allocations: 3.004 MB / 0.629 GB, free: 2.574 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002968/0.578, allocations: 354 kB / 0.6293 GB, free: 2.227 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000396/0.5784, allocations: 77.86 kB / 0.6294 GB, free: 2.152 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.001111/0.5795, allocations: 344.1 kB / 0.6297 GB, free: 1.809 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006291/0.5801, allocations: 185.7 kB / 0.6299 GB, free: 1.625 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01669/0.5968, allocations: 6.227 MB / 0.636 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-05/0.5969, allocations: 16 kB / 0.636 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/0.5969, allocations: 0 / 0.636 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.247e-05/0.597, allocations: 11.97 kB / 0.636 GB, free: 11.35 MB / 446.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 postOpt removeSimpleEquations (simulation): time 0.02235/0.6194, allocations: 8.702 MB / 0.6445 GB, free: 2.508 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.907e-05/0.6194, allocations: 4 kB / 0.6445 GB, free: 2.504 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/0.6205, allocations: 175.8 kB / 0.6447 GB, free: 2.332 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007838/0.6284, allocations: 2.614 MB / 0.6472 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003355/0.6287, allocations: 36.98 kB / 0.6473 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02814/0.6569, allocations: 12.2 MB / 0.6592 GB, free: 3.199 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.6569, allocations: 4 kB / 0.6592 GB, free: 3.195 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02034/0.6773, allocations: 7.49 MB / 0.6665 GB, free: 11.67 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009686/0.6783, allocations: 306.5 kB / 0.6668 GB, free: 11.35 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007283/0.6791, allocations: 39.94 kB / 0.6668 GB, free: 11.31 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00251/0.6816, allocations: 207.8 kB / 0.667 GB, free: 11.11 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001556/0.6832, allocations: 289.2 kB / 0.6673 GB, free: 10.82 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003162/0.6835, allocations: 39.98 kB / 0.6673 GB, free: 10.79 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003335/0.6869, allocations: 1.104 MB / 0.6684 GB, free: 9.691 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.6869, allocations: 0 / 0.6684 GB, free: 9.691 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003639/0.6905, allocations: 0.597 MB / 0.669 GB, free: 9.094 MB / 478.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {26 23,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.02957/0.7201, allocations: 8.105 MB / 0.6769 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01401/0.7342, allocations: 3.498 MB / 0.6803 GB, free: 13.42 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.7343, allocations: 0.875 kB / 0.6803 GB, free: 13.42 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009206/0.7435, allocations: 2.422 MB / 0.6827 GB, free: 10.98 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002496/0.746, allocations: 168.7 kB / 0.6828 GB, free: 10.81 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03299/0.779, allocations: 16.07 MB / 0.6985 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001121/0.7802, allocations: 1.339 MB / 0.6998 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008175/0.781, allocations: 181.1 kB / 0.7 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001198/0.7822, allocations: 0.7102 MB / 0.7007 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of SimCode: time 2.805e-06/0.7822, allocations: 0 / 0.7007 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09645/0.8787, allocations: 44.88 MB / 0.7445 GB, free: 11.08 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/0.879, allocations: 197.6 kB / 0.7447 GB, free: 10.84 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.57/4.449, allocations: 0 / 0.7447 GB, free: 10.84 MB / 0.545 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GAST_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GAST.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe 2>&1) Environment - environmentSimulation: