Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08424/0.08424, allocations: 12.2 MB / 27.15 MB, free: 1.02 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.001233/0.001233, allocations: 104.1 kB / 30.66 MB, free: 4.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 1.329/1.329, allocations: 205.4 MB / 239.5 MB, free: 10.69 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.0009977/0.0009977, allocations: 169.2 kB / 290.6 MB, free: 8.098 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4148/0.4148, allocations: 78.5 MB / 420.1 MB, free: 6.57 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.0008479/0.000848, allocations: 28.69 kB / 0.4895 GB, free: 37.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.125, allocations: 69.26 MB / 0.5571 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1): time 0.009384/0.1344, allocations: 7.66 MB / 0.5646 GB, free: 1.027 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005259/0.1397, allocations: 2.702 MB / 0.5672 GB, free: 14.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009738/0.1407, allocations: 16 kB / 0.5673 GB, free: 14.3 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007636/0.1415, allocations: 238.2 kB / 0.5675 GB, free: 14.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002693/0.1442, allocations: 1.09 MB / 0.5685 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001464/0.1457, allocations: 0.6269 MB / 0.5692 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00225/0.1479, allocations: 1.556 MB / 0.5707 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005369/0.1485, allocations: 366.7 kB / 0.571 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009474/0.1494, allocations: 0.7939 MB / 0.5718 GB, free: 9.629 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001117/0.1506, allocations: 1.031 MB / 0.5728 GB, free: 8.594 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001778/0.1508, allocations: 96 kB / 0.5729 GB, free: 8.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000628/0.1514, allocations: 323.6 kB / 0.5732 GB, free: 8.184 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003319/0.1517, allocations: 374.5 kB / 0.5736 GB, free: 7.816 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002782/0.152, allocations: 312.6 kB / 0.5739 GB, free: 7.504 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001644/0.1537, allocations: 1.831 MB / 0.5757 GB, free: 5.668 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.1537, allocations: 0 / 0.5757 GB, free: 5.668 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1537, allocations: 0 / 0.5757 GB, free: 5.668 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.998e-05/0.1537, allocations: 4 kB / 0.5757 GB, free: 5.664 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.01376/0.1675, allocations: 3.805 MB / 0.5794 GB, free: 1.801 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.1675, allocations: 11.98 kB / 0.5794 GB, free: 1.789 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000391/0.1679, allocations: 164.5 kB / 0.5795 GB, free: 1.621 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004877/0.1728, allocations: 0.7742 MB / 0.5803 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002424/0.1753, allocations: 1.139 MB / 0.5814 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004912/0.1758, allocations: 474.4 kB / 0.5819 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000247/0.176, allocations: 123.9 kB / 0.582 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003091/0.1791, allocations: 1.554 MB / 0.5835 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.1792, allocations: 3.938 kB / 0.5835 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001274/0.1793, allocations: 48 kB / 0.5835 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.122e-05/0.1793, allocations: 27.98 kB / 0.5836 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003156/0.1825, allocations: 1.476 MB / 0.585 GB, free: 11.82 MB / 414.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.01002/0.1925, allocations: 5.557 MB / 0.5904 GB, free: 6.012 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009088/0.2016, allocations: 3.551 MB / 0.5939 GB, free: 2.324 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006305/0.2023, allocations: 0.7375 MB / 0.5946 GB, free: 1.422 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002389/0.2047, allocations: 1.165 MB / 0.5958 GB, free: 244 kB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 3.126e-06/0.2047, allocations: 0 / 0.5958 GB, free: 244 kB / 414.1 MB Notification: Performance of matching and sorting (n=132): time 0.0448/0.2495, allocations: 12.02 MB / 0.6075 GB, free: 4.172 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.929e-05/0.2496, allocations: 124.1 kB / 0.6076 GB, free: 4.027 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002368/0.252, allocations: 1.519 MB / 0.6091 GB, free: 2.5 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003423/0.2524, allocations: 53.7 kB / 0.6092 GB, free: 2.441 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004864/0.2529, allocations: 0.6514 MB / 0.6098 GB, free: 1.785 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005246/0.2534, allocations: 485.1 kB / 0.6103 GB, free: 1.305 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/0.2535, allocations: 40 kB / 0.6103 GB, free: 1.266 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.2537, allocations: 386 kB / 0.6107 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002323/0.256, allocations: 1.101 MB / 0.6117 GB, free: 15.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002469/0.2585, allocations: 1.321 MB / 0.613 GB, free: 14.39 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002443/0.261, allocations: 1.193 MB / 0.6142 GB, free: 13.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.952e-06/0.261, allocations: 0 / 0.6142 GB, free: 13.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=263) (initialization): time 0.01006/0.271, allocations: 4.238 MB / 0.6183 GB, free: 8.945 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.2711, allocations: 4 kB / 0.6183 GB, free: 8.941 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.563e-05/0.2711, allocations: 4 kB / 0.6183 GB, free: 8.938 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009891/0.281, allocations: 3.058 MB / 0.6213 GB, free: 5.875 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0018/0.2829, allocations: 355.5 kB / 0.6217 GB, free: 5.527 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0067/0.2896, allocations: 3.015 MB / 0.6246 GB, free: 2.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002578/0.2922, allocations: 310.2 kB / 0.6249 GB, free: 2.176 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001765/0.2924, allocations: 71.98 kB / 0.625 GB, free: 2.105 MB / 446.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: 3 ($whenCondition1,$whenCondition2,iEEEX1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (206): * Single equations (assignments): 204 * Array equations: 0 * Algorithm blocks: 0 * 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.0006895/0.2931, allocations: 321.5 kB / 0.6253 GB, free: 1.781 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002927/0.2934, allocations: 169.8 kB / 0.6254 GB, free: 1.613 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01719/0.3106, allocations: 5.876 MB / 0.6312 GB, free: 11.72 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.221e-05/0.3107, allocations: 12 kB / 0.6312 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-05/0.3107, allocations: 0 / 0.6312 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.195e-05/0.3107, allocations: 11.97 kB / 0.6312 GB, free: 11.7 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 postOpt removeSimpleEquations (simulation): time 0.02081/0.3316, allocations: 8.132 MB / 0.6391 GB, free: 3.418 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.524e-05/0.3316, allocations: 4.031 kB / 0.6392 GB, free: 3.414 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/0.3327, allocations: 155.8 kB / 0.6393 GB, free: 3.262 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008029/0.3407, allocations: 2.52 MB / 0.6418 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002522/0.341, allocations: 35.98 kB / 0.6418 GB, free: 0.6992 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02584/0.3668, allocations: 10.88 MB / 0.6524 GB, free: 5.672 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.3669, allocations: 8 kB / 0.6524 GB, free: 5.664 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2633/0.6302, allocations: 7.201 MB / 0.6595 GB, free: 91.92 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007333/0.631, allocations: 294.1 kB / 0.6597 GB, free: 91.83 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003192/0.6313, allocations: 24.75 kB / 0.6598 GB, free: 91.83 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001697/0.633, allocations: 180.7 kB / 0.6599 GB, free: 91.83 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008037/0.6338, allocations: 263.2 kB / 0.6602 GB, free: 91.83 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/0.634, allocations: 35.94 kB / 0.6602 GB, free: 91.83 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001547/0.6355, allocations: 1.02 MB / 0.6612 GB, free: 91.72 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6355, allocations: 0 / 0.6612 GB, free: 91.72 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001685/0.6372, allocations: 0.5665 MB / 0.6618 GB, free: 91.72 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,iEEEX1.LL.TF.x_scaled[1],iEEEX1.imDerivativeLag.x,iEEEX1.SL.state,iEEEX1.rotatingExciter.sISO.y,iEEEX1.TransducerDelay.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 (89): * Single equations (assignments): 88 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0212/0.6584, allocations: 7.956 MB / 0.6695 GB, free: 90.77 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01053/0.669, allocations: 3.313 MB / 0.6728 GB, free: 90.65 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.6691, allocations: 0.7188 kB / 0.6728 GB, free: 90.65 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006571/0.6756, allocations: 2.202 MB / 0.6749 GB, free: 90.4 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009821/0.6766, allocations: 127.4 kB / 0.6751 GB, free: 90.39 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006593/0.6833, allocations: 6.97 MB / 0.6819 GB, free: 85.44 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006094/0.6839, allocations: 1.308 MB / 0.6831 GB, free: 84.7 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005637/0.6845, allocations: 157.9 kB / 0.6833 GB, free: 84.66 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000709/0.6852, allocations: 0.6583 MB / 0.6839 GB, free: 84.14 MB / 478.1 MB Notification: Performance of SimCode: time 8.92e-07/0.6852, allocations: 4 kB / 0.6839 GB, free: 84.14 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05444/0.7396, allocations: 40.07 MB / 0.7231 GB, free: 50.62 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000189/0.7399, allocations: 193.6 kB / 0.7233 GB, free: 50.38 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.915/3.655, allocations: 4.062 kB / 0.7233 GB, free: 50.38 MB / 478.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe 2>&1) Environment - environmentSimulation: