Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.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.ES.IEEET2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEET2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2",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.08124/0.08124, allocations: 12.59 MB / 28.22 MB, free: 1.07 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.001011/0.001012, allocations: 111.4 kB / 31.83 MB, free: 4.012 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.299/1.299, allocations: 205.1 MB / 240.4 MB, free: 12.36 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.001298/0.001298, allocations: 188.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.4205/0.4205, allocations: 78.52 MB / 419.3 MB, free: 11.26 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.002618/0.002618, allocations: 148.2 kB / 0.5554 GB, free: 28.76 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1207, allocations: 68.13 MB / 0.6219 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.IEEET2): time 0.009037/0.1298, allocations: 8.653 MB / 0.6304 GB, free: 7.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005337/0.1351, allocations: 2.677 MB / 0.633 GB, free: 4.543 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001209/0.1364, allocations: 16 kB / 0.633 GB, free: 4.527 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009833/0.1374, allocations: 317.2 kB / 0.6333 GB, free: 4.215 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003525/0.1409, allocations: 1.258 MB / 0.6345 GB, free: 2.957 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001757/0.1427, allocations: 0.7559 MB / 0.6353 GB, free: 2.207 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003096/0.1458, allocations: 2.392 MB / 0.6376 GB, free: 15.81 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007282/0.1466, allocations: 485.8 kB / 0.6381 GB, free: 15.3 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001305/0.1479, allocations: 0.9143 MB / 0.639 GB, free: 14.39 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001485/0.1494, allocations: 1.155 MB / 0.6401 GB, free: 13.23 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004864/0.1499, allocations: 192 kB / 0.6403 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001193/0.1511, allocations: 463.7 kB / 0.6407 GB, free: 12.59 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006227/0.1517, allocations: 490.1 kB / 0.6412 GB, free: 12.11 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001245/0.153, allocations: 0.9518 MB / 0.6421 GB, free: 11.15 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002865/0.1558, allocations: 2.469 MB / 0.6445 GB, free: 8.672 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1559, allocations: 0 / 0.6445 GB, free: 8.672 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1559, allocations: 0 / 0.6445 GB, free: 8.672 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001094/0.156, allocations: 0 / 0.6445 GB, free: 8.672 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.01389/0.1699, allocations: 3.925 MB / 0.6484 GB, free: 4.688 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.1699, allocations: 11.98 kB / 0.6484 GB, free: 4.676 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003182/0.1703, allocations: 168.4 kB / 0.6485 GB, free: 4.504 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004729/0.175, allocations: 0.7625 MB / 0.6493 GB, free: 3.738 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002364/0.1774, allocations: 1.121 MB / 0.6504 GB, free: 2.566 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004739/0.1779, allocations: 466.3 kB / 0.6508 GB, free: 2.035 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003197/0.1782, allocations: 119.9 kB / 0.6509 GB, free: 1.918 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003071/0.1813, allocations: 1.472 MB / 0.6524 GB, free: 408 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.1813, allocations: 0 / 0.6524 GB, free: 408 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/0.1815, allocations: 40 kB / 0.6524 GB, free: 368 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/0.1815, allocations: 28 kB / 0.6524 GB, free: 340 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002885/0.1844, allocations: 1.362 MB / 0.6538 GB, free: 14.97 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.01157/0.196, allocations: 5.201 MB / 0.6589 GB, free: 9.535 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007982/0.204, allocations: 2.945 MB / 0.6617 GB, free: 6.449 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001845/0.2059, allocations: 0.9283 MB / 0.6626 GB, free: 5.516 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007753/0.2067, allocations: 0.7336 MB / 0.6634 GB, free: 4.613 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002392/0.2091, allocations: 1.079 MB / 0.6644 GB, free: 3.512 MB / 478.1 MB Notification: Performance of pre-optimization done (n=131): time 5.1e-06/0.2091, allocations: 4 kB / 0.6644 GB, free: 3.508 MB / 478.1 MB Notification: Performance of matching and sorting (n=131): time 0.03804/0.2471, allocations: 9.855 MB / 0.674 GB, free: 9.594 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.964e-05/0.2472, allocations: 124.1 kB / 0.6742 GB, free: 9.449 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002198/0.2495, allocations: 1.426 MB / 0.6755 GB, free: 8.012 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003683/0.2498, allocations: 49.7 kB / 0.6756 GB, free: 7.957 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000506/0.2504, allocations: 0.6355 MB / 0.6762 GB, free: 7.316 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006011/0.251, allocations: 481.2 kB / 0.6767 GB, free: 6.84 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008942/0.2519, allocations: 371.3 kB / 0.677 GB, free: 6.469 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.838e-05/0.252, allocations: 301.1 kB / 0.6773 GB, free: 6.172 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002138/0.2541, allocations: 1.003 MB / 0.6783 GB, free: 5.164 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002324/0.2564, allocations: 1.227 MB / 0.6795 GB, free: 3.875 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004345/0.2608, allocations: 2.153 MB / 0.6816 GB, free: 1.664 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.033e-05/0.2608, allocations: 7.938 kB / 0.6816 GB, free: 1.656 MB / 494.1 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.01618/0.277, allocations: 5.508 MB / 0.687 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.27e-05/0.2771, allocations: 8 kB / 0.687 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.282e-05/0.2771, allocations: 7.984 kB / 0.687 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009023/0.2861, allocations: 2.663 MB / 0.6896 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001647/0.2878, allocations: 343.5 kB / 0.6899 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006039/0.2939, allocations: 2.691 MB / 0.6926 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002206/0.2961, allocations: 258.1 kB / 0.6928 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002893/0.2964, allocations: 71.92 kB / 0.6929 GB, free: 6.062 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: 3 ($whenCondition2,$whenCondition1,iEEET2.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (200): * Single equations (assignments): 198 * Array equations: 0 * Algorithm blocks: 0 * 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.0006901/0.2971, allocations: 309.5 kB / 0.6932 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004091/0.2975, allocations: 165.9 kB / 0.6933 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01523/0.3127, allocations: 4.942 MB / 0.6981 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.554e-05/0.3128, allocations: 12 kB / 0.6982 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.3128, allocations: 0 / 0.6982 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.073e-05/0.3128, allocations: 15.97 kB / 0.6982 GB, free: 0.5898 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.01798/0.3308, allocations: 7.08 MB / 0.7051 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.301e-05/0.3309, allocations: 8.031 kB / 0.7051 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008676/0.3318, allocations: 151.8 kB / 0.7052 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007254/0.339, allocations: 2.189 MB / 0.7074 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000243/0.3393, allocations: 35.98 kB / 0.7074 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2678/0.6071, allocations: 11.78 MB / 0.7189 GB, free: 81.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.6071, allocations: 2.859 kB / 0.7189 GB, free: 81.41 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01887/0.626, allocations: 6.093 MB / 0.7249 GB, free: 80.35 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006135/0.6267, allocations: 279.8 kB / 0.7251 GB, free: 80.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000232/0.6269, allocations: 27.72 kB / 0.7252 GB, free: 80.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001407/0.6283, allocations: 130.9 kB / 0.7253 GB, free: 80.15 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008793/0.6292, allocations: 266.4 kB / 0.7255 GB, free: 80.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/0.6293, allocations: 37.78 kB / 0.7256 GB, free: 80.08 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001409/0.6307, allocations: 0.9496 MB / 0.7265 GB, free: 79.7 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6307, allocations: 0 / 0.7265 GB, free: 79.7 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001745/0.6325, allocations: 0.5628 MB / 0.727 GB, free: 79.62 MB / 0.5137 GB 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,iEEET2.simpleLag.state,iEEET2.derivativeLag.x,iEEET2.simpleLagLim.state,iEEET2.rotatingExciter.sISO.y,iEEET2.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 (85): * Single equations (assignments): 83 * 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 {(1,3), (26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01806/0.6506, allocations: 6.713 MB / 0.7336 GB, free: 77.41 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007842/0.6584, allocations: 2.951 MB / 0.7365 GB, free: 76.51 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.6585, allocations: 0.875 kB / 0.7365 GB, free: 76.51 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005396/0.6639, allocations: 2.064 MB / 0.7385 GB, free: 75.73 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/0.6651, allocations: 150.1 kB / 0.7386 GB, free: 75.63 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03665/0.7018, allocations: 19.31 MB / 0.7575 GB, free: 60.52 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004841/0.7023, allocations: 1.251 MB / 0.7587 GB, free: 59.24 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006603/0.703, allocations: 142.5 kB / 0.7589 GB, free: 59.09 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006868/0.7037, allocations: 0.6399 MB / 0.7595 GB, free: 58.45 MB / 0.5137 GB Notification: Performance of SimCode: time 7.21e-07/0.7037, allocations: 4 kB / 0.7595 GB, free: 58.45 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06518/0.7689, allocations: 45.63 MB / 0.8041 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.34/15.1, allocations: 0 / 0.8041 GB, free: 12.9 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe 2>&1)