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-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.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-master/package.mo): time 0.1039/0.1039, allocations: 12.59 MB / 28.22 MB, free: 0.7344 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.001055/0.001055, allocations: 107.4 kB / 31.83 MB, free: 3.879 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.343/1.343, 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.001292/0.001292, allocations: 192.5 kB / 290.7 MB, free: 13.37 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4458/0.4458, allocations: 78.52 MB / 419.3 MB, free: 11.23 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.003078/0.003079, allocations: 130.7 kB / 0.5554 GB, free: 28.77 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1231, allocations: 68.14 MB / 0.6219 GB, free: 15.9 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1): time 0.008876/0.132, allocations: 8.778 MB / 0.6305 GB, free: 7.078 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005301/0.1374, allocations: 2.755 MB / 0.6332 GB, free: 4.312 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008248/0.1382, allocations: 12 kB / 0.6332 GB, free: 4.301 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007536/0.139, allocations: 337.1 kB / 0.6335 GB, free: 3.969 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002961/0.142, allocations: 1.294 MB / 0.6348 GB, free: 2.676 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001715/0.1437, allocations: 0.7984 MB / 0.6356 GB, free: 1.887 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002755/0.1465, allocations: 2.517 MB / 0.638 GB, free: 15.36 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006362/0.1471, allocations: 486 kB / 0.6385 GB, free: 14.86 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001244/0.1484, allocations: 0.9572 MB / 0.6394 GB, free: 13.89 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001356/0.1497, allocations: 1.202 MB / 0.6406 GB, free: 12.69 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002751/0.15, allocations: 204 kB / 0.6408 GB, free: 12.49 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00076/0.1508, allocations: 467.7 kB / 0.6412 GB, free: 12.03 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004805/0.1513, allocations: 498.1 kB / 0.6417 GB, free: 11.54 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007976/0.1521, allocations: 0.9867 MB / 0.6427 GB, free: 10.55 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002531/0.1547, allocations: 2.551 MB / 0.6452 GB, free: 7.992 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.1547, allocations: 0 / 0.6452 GB, free: 7.992 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1547, allocations: 0 / 0.6452 GB, free: 7.992 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.142e-05/0.1547, allocations: 0 / 0.6452 GB, free: 7.992 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: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.01431/0.169, allocations: 4.015 MB / 0.6491 GB, free: 3.918 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.1691, allocations: 15.98 kB / 0.6491 GB, free: 3.902 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002038/0.1693, allocations: 164.5 kB / 0.6493 GB, free: 3.734 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004843/0.1742, allocations: 0.7664 MB / 0.65 GB, free: 2.965 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002313/0.1765, allocations: 1.207 MB / 0.6512 GB, free: 1.707 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004564/0.177, allocations: 458.4 kB / 0.6516 GB, free: 1.184 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003596/0.1773, allocations: 116 kB / 0.6517 GB, free: 1.07 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002834/0.1802, allocations: 1.488 MB / 0.6532 GB, free: 15.53 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.524e-05/0.1802, allocations: 3.938 kB / 0.6532 GB, free: 15.53 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/0.1803, allocations: 47.98 kB / 0.6532 GB, free: 15.48 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.897e-05/0.1804, allocations: 28 kB / 0.6533 GB, free: 15.45 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003083/0.1835, allocations: 1.39 MB / 0.6546 GB, free: 14.05 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.009513/0.193, allocations: 5.331 MB / 0.6598 GB, free: 8.484 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008151/0.2012, allocations: 2.993 MB / 0.6628 GB, free: 5.352 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001999/0.2032, allocations: 0.9401 MB / 0.6637 GB, free: 4.406 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005848/0.2038, allocations: 0.7297 MB / 0.6644 GB, free: 3.508 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00229/0.2061, allocations: 1.094 MB / 0.6655 GB, free: 2.391 MB / 478.1 MB Notification: Performance of pre-optimization done (n=132): time 3.296e-06/0.2061, allocations: 3.938 kB / 0.6655 GB, free: 2.387 MB / 478.1 MB Notification: Performance of matching and sorting (n=132): time 0.03918/0.2453, allocations: 9.919 MB / 0.6751 GB, free: 8.43 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.445e-05/0.2454, allocations: 116.1 kB / 0.6753 GB, free: 8.293 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00251/0.248, allocations: 1.539 MB / 0.6768 GB, free: 6.746 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005062/0.2485, allocations: 53.7 kB / 0.6768 GB, free: 6.688 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005651/0.2491, allocations: 0.6475 MB / 0.6774 GB, free: 6.035 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008197/0.2499, allocations: 485 kB / 0.6779 GB, free: 5.555 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000678/0.2506, allocations: 379.6 kB / 0.6783 GB, free: 5.176 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000198/0.2508, allocations: 301.1 kB / 0.6785 GB, free: 4.879 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002239/0.2531, allocations: 1.035 MB / 0.6796 GB, free: 3.84 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002347/0.2554, allocations: 1.251 MB / 0.6808 GB, free: 2.523 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004463/0.2599, allocations: 2.204 MB / 0.6829 GB, free: 268 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/0.2599, allocations: 4 kB / 0.6829 GB, free: 264 kB / 494.1 MB Notification: Performance of matching and sorting (n=263) (initialization): time 0.009325/0.2692, allocations: 3.82 MB / 0.6867 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.431e-05/0.2693, allocations: 8 kB / 0.6867 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.409e-05/0.2693, allocations: 7.938 kB / 0.6867 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009307/0.2786, allocations: 2.675 MB / 0.6893 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001804/0.2805, allocations: 359.5 kB / 0.6896 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006443/0.2869, allocations: 2.691 MB / 0.6923 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002538/0.2895, allocations: 270.1 kB / 0.6925 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002735/0.2898, allocations: 71.92 kB / 0.6926 GB, free: 6.316 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,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 (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.0009301/0.2907, allocations: 325.4 kB / 0.6929 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000432/0.2912, allocations: 173.8 kB / 0.6931 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01533/0.3065, allocations: 4.833 MB / 0.6978 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.149e-05/0.3065, allocations: 16 kB / 0.6978 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.3066, allocations: 7.875 kB / 0.6978 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-05/0.3066, allocations: 7.969 kB / 0.6978 GB, free: 0.9297 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.0202/0.3268, allocations: 7.041 MB / 0.7047 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/0.3269, allocations: 4 kB / 0.7047 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009231/0.3278, allocations: 159.7 kB / 0.7049 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007369/0.3352, allocations: 2.134 MB / 0.7069 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002406/0.3355, allocations: 35.98 kB / 0.707 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2907/0.6262, allocations: 10.04 MB / 0.7168 GB, free: 82.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.6263, allocations: 0.8438 kB / 0.7168 GB, free: 82.46 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01842/0.6447, allocations: 6.07 MB / 0.7227 GB, free: 81.73 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000551/0.6453, allocations: 285.1 kB / 0.723 GB, free: 81.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002541/0.6455, allocations: 37.92 kB / 0.723 GB, free: 81.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001606/0.6472, allocations: 141.9 kB / 0.7231 GB, free: 81.55 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008891/0.6481, allocations: 260.4 kB / 0.7234 GB, free: 81.49 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/0.6482, allocations: 36.19 kB / 0.7234 GB, free: 81.48 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001732/0.6499, allocations: 1.026 MB / 0.7244 GB, free: 81.08 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.7e-07/0.6499, allocations: 0 / 0.7244 GB, free: 81.08 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001546/0.6515, allocations: 0.5671 MB / 0.725 GB, free: 81.01 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,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 (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.01885/0.6703, allocations: 6.689 MB / 0.7315 GB, free: 78.78 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008274/0.6786, allocations: 2.996 MB / 0.7344 GB, free: 77.89 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.6787, allocations: 1.156 kB / 0.7344 GB, free: 77.89 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005295/0.684, allocations: 1.955 MB / 0.7364 GB, free: 77.21 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/0.6853, allocations: 159.2 kB / 0.7365 GB, free: 77.12 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04589/0.7312, allocations: 21.73 MB / 0.7577 GB, free: 60.32 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005557/0.7318, allocations: 1.266 MB / 0.759 GB, free: 59.03 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006071/0.7324, allocations: 154.8 kB / 0.7591 GB, free: 58.87 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007907/0.7332, allocations: 0.6594 MB / 0.7598 GB, free: 58.21 MB / 0.5137 GB Notification: Performance of SimCode: time 1.002e-06/0.7332, allocations: 0 / 0.7598 GB, free: 58.21 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06454/0.7978, allocations: 46.21 MB / 0.8049 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.72/15.52, allocations: 12.03 kB / 0.8049 GB, free: 12.07 MB / 0.5137 GB (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/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)