Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.FACTS.PSAT.TCSC_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.001821/0.001821, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.616/1.616, allocations: 230.6 MB / 252.7 MB, free: 9.801 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.002221/0.002221, allocations: 220.1 kB / 309.2 MB, free: 1.906 MB / 234.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.6738/0.6738, allocations: 113.4 MB / 479.1 MB, free: 3.879 MB / 330.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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.TCSC_LagLimWindupGuard,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.FACTS.PSAT.TCSC_LagLimWindupGuard") translateModel(OpenIPSL.Tests.FACTS.PSAT.TCSC_LagLimWindupGuard,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.FACTS.PSAT.TCSC_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.004734/0.004734, allocations: 91.86 kB / 0.6428 GB, free: 0.6094 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1775, allocations: 81.76 MB / 0.7226 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.PSAT.TCSC_LagLimWindupGuard): time 0.01042/0.1879, allocations: 6.749 MB / 0.7292 GB, free: 7.93 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.006745/0.1946, allocations: 2.402 MB / 0.7316 GB, free: 5.523 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0013/0.1959, allocations: 16 kB / 0.7316 GB, free: 5.508 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.197, allocations: 277.6 kB / 0.7318 GB, free: 5.234 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.003472/0.2005, allocations: 1.01 MB / 0.7328 GB, free: 4.223 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001926/0.2024, allocations: 0.7101 MB / 0.7335 GB, free: 3.52 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003015/0.2054, allocations: 1.884 MB / 0.7354 GB, free: 1.629 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005982/0.206, allocations: 270.3 kB / 0.7356 GB, free: 1.336 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001393/0.2074, allocations: 0.7663 MB / 0.7364 GB, free: 0.5664 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001352/0.2088, allocations: 0.8162 MB / 0.7372 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0002716/0.209, allocations: 140 kB / 0.7373 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.21, allocations: 431.6 kB / 0.7377 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0004172/0.2105, allocations: 374.4 kB / 0.7381 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.00079/0.2112, allocations: 0.6254 MB / 0.7387 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.003101/0.2143, allocations: 2.015 MB / 0.7406 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2143, allocations: 0 / 0.7406 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2144, allocations: 0 / 0.7406 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.802e-05/0.2144, allocations: 0 / 0.7406 GB, free: 12.17 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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.01011/0.2245, allocations: 2.904 MB / 0.7435 GB, free: 9.227 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.2245, allocations: 8.031 kB / 0.7435 GB, free: 9.219 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004945/0.2295, allocations: 0.8263 MB / 0.7443 GB, free: 8.391 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003473/0.233, allocations: 1.081 MB / 0.7454 GB, free: 7.262 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004002/0.2334, allocations: 327.6 kB / 0.7457 GB, free: 6.895 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002222/0.2336, allocations: 103.9 kB / 0.7458 GB, free: 6.793 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002816/0.2364, allocations: 1.194 MB / 0.7469 GB, free: 5.59 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/0.2364, allocations: 0 / 0.7469 GB, free: 5.59 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/0.2365, allocations: 40 kB / 0.747 GB, free: 5.551 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.583e-05/0.2366, allocations: 24 kB / 0.747 GB, free: 5.527 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002584/0.2391, allocations: 1.191 MB / 0.7482 GB, free: 4.336 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.007766/0.2469, allocations: 3.102 MB / 0.7512 GB, free: 1.191 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3083/0.5552, allocations: 3.17 MB / 0.7543 GB, free: 32.32 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001784/0.557, allocations: 0.7392 MB / 0.755 GB, free: 32.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001211/0.5571, allocations: 16.17 kB / 0.755 GB, free: 32.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001832/0.559, allocations: 0.8928 MB / 0.7559 GB, free: 32.24 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=121): time 3.576e-06/0.559, allocations: 1.312 kB / 0.7559 GB, free: 32.24 MB / 0.5261 GB Notification: Performance of matching and sorting (n=121): time 0.03174/0.5907, allocations: 8.013 MB / 0.7637 GB, free: 31.93 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.5908, allocations: 64.98 kB / 0.7638 GB, free: 31.87 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001683/0.5924, allocations: 1.119 MB / 0.7649 GB, free: 31.63 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001459/0.5926, allocations: 46.48 kB / 0.7649 GB, free: 31.58 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003916/0.593, allocations: 0.615 MB / 0.7655 GB, free: 31.15 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003666/0.5933, allocations: 438.8 kB / 0.7659 GB, free: 30.87 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004482/0.5938, allocations: 235.8 kB / 0.7662 GB, free: 30.76 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.171e-05/0.5939, allocations: 354.5 kB / 0.7665 GB, free: 30.43 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001664/0.5955, allocations: 0.7654 MB / 0.7672 GB, free: 30.16 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00182/0.5974, allocations: 0.9262 MB / 0.7681 GB, free: 29.73 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002946/0.6003, allocations: 1.662 MB / 0.7698 GB, free: 28.96 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.6003, allocations: 5.344 kB / 0.7698 GB, free: 28.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01245/0.6128, allocations: 4.405 MB / 0.7741 GB, free: 27.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.678e-05/0.6128, allocations: 6.844 kB / 0.7741 GB, free: 27.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.6128, allocations: 4.25 kB / 0.7741 GB, free: 27.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006771/0.6196, allocations: 2.113 MB / 0.7762 GB, free: 26.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009468/0.6205, allocations: 194.4 kB / 0.7763 GB, free: 26.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02047/0.641, allocations: 9.379 MB / 0.7855 GB, free: 21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00171/0.6427, allocations: 204.2 kB / 0.7857 GB, free: 20.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/0.6428, allocations: 48.39 kB / 0.7857 GB, free: 20.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 14 (tcsc.lagLimWindupGuard.inputLow,tcsc.lagLimWindupGuard.inputBelow,tcsc.lagLimWindupGuard.stateLow,tcsc.lagLimWindupGuard.inputHigh,tcsc.lagLimWindupGuard.inputAbove,tcsc.lagLimWindupGuard.stateHigh,tcsc.lagLimWindupGuard.atMin,$PRE.tcsc.lagLimWindupGuard.atMin,tcsc.lagLimWindupGuard.atMax,$PRE.tcsc.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 (128): * Single equations (assignments): 125 * 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,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0004948/0.6433, allocations: 280.4 kB / 0.786 GB, free: 20.68 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002057/0.6435, allocations: 157.7 kB / 0.7862 GB, free: 20.59 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01187/0.6554, allocations: 4.19 MB / 0.7902 GB, free: 18.43 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.6554, allocations: 11.62 kB / 0.7903 GB, free: 18.43 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.6554, allocations: 2.25 kB / 0.7903 GB, free: 18.43 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.626e-05/0.6554, allocations: 13 kB / 0.7903 GB, free: 18.43 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01296/0.6684, allocations: 5.266 MB / 0.7954 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.014e-06/0.6684, allocations: 0 / 0.7954 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005637/0.6689, allocations: 99.89 kB / 0.7955 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006113/0.675, allocations: 2.021 MB / 0.7975 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000118/0.6752, allocations: 23.98 kB / 0.7975 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01612/0.6913, allocations: 8.247 MB / 0.8056 GB, free: 3.422 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.6913, allocations: 3.938 kB / 0.8056 GB, free: 3.418 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0145/0.7058, allocations: 5.211 MB / 0.8107 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005047/0.7063, allocations: 162.5 kB / 0.8108 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002491/0.7065, allocations: 24 kB / 0.8108 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/0.7078, allocations: 127.8 kB / 0.811 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007917/0.7086, allocations: 264.5 kB / 0.8112 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001144/0.7087, allocations: 28.66 kB / 0.8112 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001264/0.7099, allocations: 0.7479 MB / 0.812 GB, free: 12.85 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1e-07/0.7099, allocations: 0 / 0.812 GB, free: 12.85 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001663/0.7116, allocations: 0.5299 MB / 0.8125 GB, free: 12.34 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (machine.delta,machine.w,tcsc.PIcontroller.x_scaled[1],tcsc.lagLimWindupGuard.state) * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,tcsc.lagLimWindupGuard.atMax,tcsc.lagLimWindupGuard.atMin,tcsc.lagLimWindupGuard.stateHigh,tcsc.lagLimWindupGuard.inputAbove,tcsc.lagLimWindupGuard.inputHigh,tcsc.lagLimWindupGuard.stateLow,tcsc.lagLimWindupGuard.inputBelow,tcsc.lagLimWindupGuard.inputLow) * Number of discrete states: 2 (tcsc.lagLimWindupGuard.atMax,tcsc.lagLimWindupGuard.atMin) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 71 * 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,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004209/0.712, allocations: 197.8 kB / 0.8127 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.007726/0.7197, allocations: 2.6 MB / 0.8152 GB, free: 9.551 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.7197, allocations: 0 / 0.8152 GB, free: 9.551 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.005455/0.7252, allocations: 1.701 MB / 0.8169 GB, free: 7.832 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/0.7265, allocations: 134.6 kB / 0.817 GB, free: 7.703 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00482/0.7313, allocations: 2.399 MB / 0.8193 GB, free: 5.305 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007664/0.7321, allocations: 0.6117 MB / 0.8199 GB, free: 4.664 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0005376/0.7326, allocations: 140.7 kB / 0.8201 GB, free: 4.527 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002524/0.7329, allocations: 87.36 kB / 0.8202 GB, free: 4.445 MB / 0.5417 GB Notification: Performance of SimCode: time 9.72e-07/0.7329, allocations: 0 / 0.8202 GB, free: 4.445 MB / 0.5417 GB Notification: Performance of Templates: time 0.05575/0.7887, allocations: 32.01 MB / 0.8514 GB, free: 4.578 MB / 0.573 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.PSAT.TCSC_LagLimWindupGuard.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.PSAT.TCSC_LagLimWindupGuard.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.FACTS.PSAT.TCSC_LagLimWindupGuard.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.FACTS.PSAT.TCSC_LagLimWindupGuard.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.FACTS.PSAT.TCSC_LagLimWindupGuard.sim & ./OpenIPSL_dev_OpenIPSL.Tests.FACTS.PSAT.TCSC_LagLimWindupGuard -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.FACTS.PSAT.TCSC_LagLimWindupGuard.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.797500655986369]