Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.FACTS.PSAT.STATCOM_LagLimWindupGuard.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002068/0.002068, allocations: 101.5 kB / 18.95 MB, free: 1.18 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.628/1.628, allocations: 230.6 MB / 252.7 MB, free: 9.797 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002236/0.002236, allocations: 220.2 kB / 309.2 MB, free: 1.918 MB / 234.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/package.mo): time 0.6982/0.6982, allocations: 119 MB / 484.7 MB, free: 14.73 MB / 346.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.FACTS.PSAT.STATCOM_LagLimWindupGuard,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.FACTS.PSAT.STATCOM_LagLimWindupGuard") translateModel(OpenIPSL.Tests.FACTS.PSAT.STATCOM_LagLimWindupGuard,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.FACTS.PSAT.STATCOM_LagLimWindupGuard") [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.005161/0.005161, allocations: 97.56 kB / 0.6518 GB, free: 6.059 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1784, allocations: 83.14 MB / 0.7329 GB, free: 2.754 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.PSAT.STATCOM_LagLimWindupGuard): time 0.008775/0.1872, allocations: 5.997 MB / 0.7388 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.004801/0.192, allocations: 1.946 MB / 0.7407 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008049/0.1928, allocations: 12 kB / 0.7407 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0007216/0.1935, allocations: 226 kB / 0.7409 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.002754/0.1963, allocations: 0.8118 MB / 0.7417 GB, free: 9.727 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.00155/0.1978, allocations: 0.5882 MB / 0.7423 GB, free: 9.145 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.00213/0.1999, allocations: 1.459 MB / 0.7437 GB, free: 7.68 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004615/0.2004, allocations: 221.1 kB / 0.7439 GB, free: 7.453 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001307/0.2017, allocations: 0.6262 MB / 0.7445 GB, free: 6.824 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001041/0.2028, allocations: 0.6918 MB / 0.7452 GB, free: 6.129 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0002072/0.203, allocations: 112 kB / 0.7453 GB, free: 6.02 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006159/0.2036, allocations: 251.9 kB / 0.7456 GB, free: 5.773 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0003011/0.2039, allocations: 294.7 kB / 0.7458 GB, free: 5.484 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0006202/0.2045, allocations: 0.5282 MB / 0.7464 GB, free: 4.953 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.002242/0.2067, allocations: 1.626 MB / 0.748 GB, free: 3.32 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2068, allocations: 0 / 0.748 GB, free: 3.32 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.284e-06/0.2068, allocations: 0 / 0.748 GB, free: 3.32 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.821e-05/0.2068, allocations: 0 / 0.748 GB, free: 3.32 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.00867/0.2155, allocations: 2.553 MB / 0.7504 GB, free: 0.7266 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.2155, allocations: 8.031 kB / 0.7505 GB, free: 0.7188 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.302/0.5175, allocations: 0.7935 MB / 0.7512 GB, free: 25.15 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001745/0.5192, allocations: 0.7417 MB / 0.752 GB, free: 24.9 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002959/0.5195, allocations: 313.7 kB / 0.7523 GB, free: 24.65 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001704/0.5197, allocations: 81.41 kB / 0.7523 GB, free: 24.65 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002319/0.522, allocations: 1.088 MB / 0.7534 GB, free: 24.59 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/0.522, allocations: 0.7031 kB / 0.7534 GB, free: 24.59 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.971e-05/0.5221, allocations: 35.34 kB / 0.7534 GB, free: 24.59 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/0.5221, allocations: 18.47 kB / 0.7534 GB, free: 24.59 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002065/0.5242, allocations: 1.082 MB / 0.7545 GB, free: 24.58 MB / 0.5261 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 preOpt removeSimpleEquations (simulation): time 0.005924/0.5301, allocations: 2.779 MB / 0.7572 GB, free: 23.43 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01184/0.542, allocations: 3.026 MB / 0.7602 GB, free: 23 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001606/0.5436, allocations: 0.6933 MB / 0.7608 GB, free: 22.74 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001019/0.5437, allocations: 14.2 kB / 0.7609 GB, free: 22.74 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001621/0.5453, allocations: 0.8364 MB / 0.7617 GB, free: 22.43 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=104): time 3.807e-06/0.5453, allocations: 0 / 0.7617 GB, free: 22.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=104): time 0.0271/0.5724, allocations: 6.77 MB / 0.7683 GB, free: 21.27 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.619e-05/0.5724, allocations: 65.72 kB / 0.7684 GB, free: 21.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001392/0.5738, allocations: 0.9549 MB / 0.7693 GB, free: 20.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002464/0.5741, allocations: 45.83 kB / 0.7693 GB, free: 20.76 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003158/0.5744, allocations: 0.5081 MB / 0.7698 GB, free: 20.38 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003287/0.5747, allocations: 369.9 kB / 0.7702 GB, free: 20.13 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004008/0.5751, allocations: 213.7 kB / 0.7704 GB, free: 20.02 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.451e-05/0.5752, allocations: 352.8 kB / 0.7707 GB, free: 19.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001469/0.5767, allocations: 0.7238 MB / 0.7714 GB, free: 19.44 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001479/0.5782, allocations: 0.8581 MB / 0.7723 GB, free: 19.06 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002814/0.581, allocations: 1.545 MB / 0.7738 GB, free: 18.36 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.581, allocations: 4 kB / 0.7738 GB, free: 18.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.01243/0.5934, allocations: 4.18 MB / 0.7779 GB, free: 16.57 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/0.5934, allocations: 5.656 kB / 0.7779 GB, free: 16.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.5934, allocations: 3.594 kB / 0.7779 GB, free: 16.57 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006735/0.6002, allocations: 2.062 MB / 0.7799 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/0.6014, allocations: 172.7 kB / 0.78 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01974/0.6211, allocations: 8.752 MB / 0.7886 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001805/0.6229, allocations: 186.9 kB / 0.7888 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/0.623, allocations: 44.64 kB / 0.7888 GB, free: 10.25 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 14 (statcom.lagLimWindupGuard.inputLow,statcom.lagLimWindupGuard.inputBelow,statcom.lagLimWindupGuard.stateLow,statcom.lagLimWindupGuard.inputHigh,statcom.lagLimWindupGuard.inputAbove,statcom.lagLimWindupGuard.stateHigh,statcom.lagLimWindupGuard.atMin,$PRE.statcom.lagLimWindupGuard.atMin,statcom.lagLimWindupGuard.atMax,$PRE.statcom.lagLimWindupGuard.atMax,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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 {(24,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0004442/0.6235, allocations: 254.4 kB / 0.7891 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002243/0.6237, allocations: 130.1 kB / 0.7892 GB, free: 9.977 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01172/0.6354, allocations: 3.947 MB / 0.793 GB, free: 7.969 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.6354, allocations: 11.91 kB / 0.793 GB, free: 7.969 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.6354, allocations: 0 / 0.793 GB, free: 7.969 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.81e-05/0.6354, allocations: 7.969 kB / 0.7931 GB, free: 7.961 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01271/0.6482, allocations: 4.937 MB / 0.7979 GB, free: 3.203 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.6482, allocations: 0 / 0.7979 GB, free: 3.203 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005279/0.6487, allocations: 87.89 kB / 0.798 GB, free: 3.117 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005837/0.6545, allocations: 1.93 MB / 0.7998 GB, free: 1.18 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001301/0.6547, allocations: 23.98 kB / 0.7999 GB, free: 1.156 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01998/0.6746, allocations: 7.711 MB / 0.8074 GB, free: 9.344 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.6746, allocations: 0 / 0.8074 GB, free: 9.344 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0166/0.6912, allocations: 4.925 MB / 0.8122 GB, free: 4.391 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007495/0.692, allocations: 138.9 kB / 0.8123 GB, free: 4.254 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004856/0.6925, allocations: 24 kB / 0.8124 GB, free: 4.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001342/0.6938, allocations: 111.9 kB / 0.8125 GB, free: 4.121 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008638/0.6947, allocations: 256.5 kB / 0.8127 GB, free: 3.871 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001606/0.6948, allocations: 31.94 kB / 0.8127 GB, free: 3.84 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001196/0.696, allocations: 0.6326 MB / 0.8134 GB, free: 3.199 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/0.696, allocations: 0 / 0.8134 GB, free: 3.199 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001942/0.698, allocations: 463.6 kB / 0.8138 GB, free: 2.746 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (machine.delta,machine.w,statcom.lagLimWindupGuard.state) * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,statcom.lagLimWindupGuard.atMax,statcom.lagLimWindupGuard.atMin,statcom.lagLimWindupGuard.stateHigh,statcom.lagLimWindupGuard.inputAbove,statcom.lagLimWindupGuard.inputHigh,statcom.lagLimWindupGuard.stateLow,statcom.lagLimWindupGuard.inputBelow,statcom.lagLimWindupGuard.inputLow) * Number of discrete states: 2 (statcom.lagLimWindupGuard.atMax,statcom.lagLimWindupGuard.atMin) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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 {(24,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000414/0.6984, allocations: 138.9 kB / 0.8139 GB, free: 2.602 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.008122/0.7065, allocations: 2.462 MB / 0.8163 GB, free: 124 kB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.7065, allocations: 0 / 0.8163 GB, free: 124 kB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.005554/0.7121, allocations: 1.61 MB / 0.8179 GB, free: 14.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.7131, allocations: 110.2 kB / 0.818 GB, free: 14.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004616/0.7177, allocations: 2.055 MB / 0.82 GB, free: 12.34 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006931/0.7184, allocations: 0.5184 MB / 0.8205 GB, free: 11.78 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004265/0.7189, allocations: 105.1 kB / 0.8206 GB, free: 11.68 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002721/0.7191, allocations: 71.42 kB / 0.8207 GB, free: 11.61 MB / 0.5573 GB Notification: Performance of SimCode: time 1.532e-06/0.7191, allocations: 0 / 0.8207 GB, free: 11.61 MB / 0.5573 GB Notification: Performance of Templates: time 0.05151/0.7707, allocations: 28.59 MB / 0.8486 GB, free: 15.11 MB / 0.5886 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Tests.FACTS.PSAT.STATCOM_LagLimWindupGuard.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Tests.FACTS.PSAT.STATCOM_LagLimWindupGuard.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.FACTS.PSAT.STATCOM_LagLimWindupGuard.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.FACTS.PSAT.STATCOM_LagLimWindupGuard.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.FACTS.PSAT.STATCOM_LagLimWindupGuard.sim & ./OpenIPSL_OpenIPSL.Tests.FACTS.PSAT.STATCOM_LagLimWindupGuard -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.FACTS.PSAT.STATCOM_LagLimWindupGuard.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.723436088999733]