Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.001852/0.001852, allocations: 84.44 kB / 19.17 MB, free: 0.7383 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.529/1.529, allocations: 177.1 MB / 199.4 MB, free: 5.941 MB / 186.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.002457/0.002457, allocations: 160.6 kB / 256 MB, free: 13.34 MB / 250.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.5657/0.5657, allocations: 89.11 MB / 401.5 MB, free: 9.855 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 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.TCSC_LagLimWindupGuard,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.FACTS.PSAT.TCSC_LagLimWindupGuard") translateModel(OpenIPSL.Tests.FACTS.PSAT.TCSC_LagLimWindupGuard,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.FACTS.PSAT.TCSC_LagLimWindupGuard") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 3.938 kB / 0.5706 GB, free: 9.266 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.42e-05/2.583e-05, allocations: 2.281 kB / 0.5706 GB, free: 9.262 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.PSAT.TCSC_LagLimWindupGuard): time 0.006743/0.006769, allocations: 6.754 MB / 0.5772 GB, free: 4.711 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.005913/0.01268, allocations: 2.409 MB / 0.5795 GB, free: 3.047 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001641/0.01432, allocations: 15.16 kB / 0.5795 GB, free: 3.047 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001089/0.01541, allocations: 277.6 kB / 0.5798 GB, free: 2.895 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003744/0.01916, allocations: 1.038 MB / 0.5808 GB, free: 2.234 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00203/0.02119, allocations: 0.7269 MB / 0.5815 GB, free: 1.852 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002828/0.02401, allocations: 1.87 MB / 0.5833 GB, free: 0.8828 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005918/0.02461, allocations: 271.9 kB / 0.5836 GB, free: 0.7227 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002329/0.02694, allocations: 1.028 MB / 0.5846 GB, free: 252 kB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001129/0.02806, allocations: 0.7054 MB / 0.5853 GB, free: 0 / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002385/0.0283, allocations: 136.4 kB / 0.5854 GB, free: 0 / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001115/0.02942, allocations: 433.5 kB / 0.5858 GB, free: 15.92 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000426/0.02984, allocations: 376.9 kB / 0.5862 GB, free: 15.67 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007166/0.03056, allocations: 0.5095 MB / 0.5867 GB, free: 15.41 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003364/0.03392, allocations: 2.05 MB / 0.5887 GB, free: 14.54 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.03393, allocations: 4 kB / 0.5887 GB, free: 14.54 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.03394, allocations: 0 / 0.5887 GB, free: 14.54 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5e-05/0.03399, allocations: 1.156 kB / 0.5887 GB, free: 14.54 MB / 458.7 MB 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.01107/0.04506, allocations: 2.878 MB / 0.5915 GB, free: 13.21 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.04511, allocations: 8.875 kB / 0.5915 GB, free: 13.21 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005262/0.05037, allocations: 0.8246 MB / 0.5923 GB, free: 13.03 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00334/0.05371, allocations: 1.093 MB / 0.5934 GB, free: 12.39 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005631/0.05427, allocations: 323.6 kB / 0.5937 GB, free: 12.1 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004513/0.05472, allocations: 89.69 kB / 0.5938 GB, free: 12.07 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004466/0.05919, allocations: 1.195 MB / 0.595 GB, free: 11.61 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.03e-05/0.05922, allocations: 0 / 0.595 GB, free: 11.61 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001785/0.0594, allocations: 39.75 kB / 0.595 GB, free: 11.58 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.799e-05/0.05943, allocations: 25.78 kB / 0.595 GB, free: 11.58 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002824/0.06225, allocations: 1.189 MB / 0.5962 GB, free: 11.01 MB / 458.7 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.008849/0.0711, allocations: 3.101 MB / 0.5992 GB, free: 8.895 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01436/0.08546, allocations: 3.183 MB / 0.6023 GB, free: 7.516 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002119/0.08758, allocations: 0.749 MB / 0.6031 GB, free: 7.137 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001832/0.08776, allocations: 21.67 kB / 0.6031 GB, free: 7.125 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002288/0.09005, allocations: 0.8877 MB / 0.6039 GB, free: 6.605 MB / 458.7 MB Notification: Performance of pre-optimization done (n=121): time 3.977e-06/0.09005, allocations: 0 / 0.6039 GB, free: 6.605 MB / 458.7 MB Notification: Performance of matching and sorting (n=121): time 0.0358/0.1259, allocations: 8.015 MB / 0.6118 GB, free: 15.92 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.973e-05/0.1259, allocations: 64.41 kB / 0.6118 GB, free: 15.84 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002693/0.1286, allocations: 1.128 MB / 0.6129 GB, free: 14.7 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004319/0.1291, allocations: 49.7 kB / 0.613 GB, free: 14.64 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007643/0.1298, allocations: 0.5964 MB / 0.6136 GB, free: 14.05 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009588/0.1308, allocations: 432.3 kB / 0.614 GB, free: 13.62 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001141/0.1319, allocations: 239.5 kB / 0.6142 GB, free: 13.38 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002402/0.1322, allocations: 361.9 kB / 0.6145 GB, free: 13.02 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002089/0.1343, allocations: 0.7652 MB / 0.6153 GB, free: 12.26 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002209/0.1365, allocations: 0.9297 MB / 0.6162 GB, free: 11.29 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004289/0.1408, allocations: 1.661 MB / 0.6178 GB, free: 9.59 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.638e-05/0.1408, allocations: 4 kB / 0.6178 GB, free: 9.586 MB / 474.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01633/0.1571, allocations: 4.405 MB / 0.6221 GB, free: 5.16 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.892e-05/0.1571, allocations: 7.938 kB / 0.6221 GB, free: 5.152 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.002e-05/0.1572, allocations: 4 kB / 0.6221 GB, free: 5.148 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008458/0.1656, allocations: 2.102 MB / 0.6242 GB, free: 3.035 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001487/0.1671, allocations: 199.7 kB / 0.6244 GB, free: 2.84 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02711/0.1942, allocations: 9.375 MB / 0.6335 GB, free: 9.355 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002276/0.1965, allocations: 211 kB / 0.6337 GB, free: 9.148 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003046/0.1968, allocations: 47.98 kB / 0.6338 GB, free: 9.102 MB / 490.7 MB 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.0009045/0.1977, allocations: 280.5 kB / 0.6341 GB, free: 8.82 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005249/0.1982, allocations: 163 kB / 0.6342 GB, free: 8.66 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01522/0.2135, allocations: 4.182 MB / 0.6383 GB, free: 4.457 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-05/0.2135, allocations: 12 kB / 0.6383 GB, free: 4.445 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.2135, allocations: 0 / 0.6383 GB, free: 4.445 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.378e-05/0.2135, allocations: 7.984 kB / 0.6383 GB, free: 4.438 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01904/0.2326, allocations: 5.266 MB / 0.6435 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.679e-05/0.2326, allocations: 0 / 0.6435 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009101/0.2335, allocations: 103.8 kB / 0.6436 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008701/0.2422, allocations: 2.016 MB / 0.6455 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003202/0.2425, allocations: 20 kB / 0.6455 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02303/0.2655, allocations: 8.26 MB / 0.6536 GB, free: 4.586 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.2655, allocations: 3.938 kB / 0.6536 GB, free: 4.582 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02415/0.2897, allocations: 5.218 MB / 0.6587 GB, free: 15.33 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007822/0.2905, allocations: 158.8 kB / 0.6589 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006901/0.2912, allocations: 20 kB / 0.6589 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002444/0.2936, allocations: 119.9 kB / 0.659 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001551/0.2951, allocations: 264.5 kB / 0.6592 GB, free: 14.78 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003826/0.2955, allocations: 28 kB / 0.6593 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003129/0.2987, allocations: 0.7479 MB / 0.66 GB, free: 14 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2987, allocations: 4 kB / 0.66 GB, free: 14 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003768/0.3024, allocations: 0.5346 MB / 0.6605 GB, free: 13.46 MB / 0.5105 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.0009736/0.3034, allocations: 190.9 kB / 0.6607 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01501/0.3184, allocations: 2.589 MB / 0.6632 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.3184, allocations: 0 / 0.6632 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01038/0.3288, allocations: 1.702 MB / 0.6649 GB, free: 8.938 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00217/0.331, allocations: 124.4 kB / 0.665 GB, free: 8.82 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00888/0.3398, allocations: 2.36 MB / 0.6673 GB, free: 6.426 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001274/0.3411, allocations: 0.6031 MB / 0.6679 GB, free: 5.789 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0011/0.3422, allocations: 133.2 kB / 0.668 GB, free: 5.656 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005635/0.3428, allocations: 88.48 kB / 0.6681 GB, free: 5.57 MB / 0.5105 GB Notification: Performance of SimCode: time 1.293e-06/0.3428, allocations: 0 / 0.6681 GB, free: 5.57 MB / 0.5105 GB Notification: Performance of Templates: time 0.1022/0.445, allocations: 30.29 MB / 0.6977 GB, free: 7.379 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Tests.FACTS.PSAT.TCSC_LagLimWindupGuard.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Tests.FACTS.PSAT.TCSC_LagLimWindupGuard.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.FACTS.PSAT.TCSC_LagLimWindupGuard.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.FACTS.PSAT.TCSC_LagLimWindupGuard.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.FACTS.PSAT.TCSC_LagLimWindupGuard.sim & ./OpenIPSL_OpenIPSL.Tests.FACTS.PSAT.TCSC_LagLimWindupGuard -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.FACTS.PSAT.TCSC_LagLimWindupGuard.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.703962785890326]