Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.conf.json 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 4.0.0+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 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(OpenIPSL.Tests.FACTS.STATCOM_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test") translateModel(OpenIPSL.Tests.FACTS.STATCOM_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005097/0.005097, allocations: 96.94 kB / 15.73 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 222.9 MB / 239.4 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0019/0.0019, allocations: 204.3 kB / 289.7 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5248/0.5248, allocations: 91.9 MB / 431.8 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001487, allocations: 78.23 kB / 0.5727 GB, free: 33.67 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1384, allocations: 71.29 MB / 0.6423 GB, free: 3.625 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.006006/0.1445, allocations: 5.254 MB / 0.6474 GB, free: 14.35 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002773/0.1473, allocations: 1.411 MB / 0.6488 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004525/0.1478, allocations: 8 kB / 0.6488 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004428/0.1482, allocations: 162.5 kB / 0.649 GB, free: 12.77 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008291/0.1491, allocations: 329.5 kB / 0.6493 GB, free: 12.44 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001419/0.1505, allocations: 0.6398 MB / 0.6499 GB, free: 11.8 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009856/0.1515, allocations: 1.054 MB / 0.6509 GB, free: 10.75 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003474/0.1519, allocations: 227.7 kB / 0.6512 GB, free: 10.51 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004459/0.1524, allocations: 438.1 kB / 0.6516 GB, free: 10.08 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006327/0.153, allocations: 0.5288 MB / 0.6521 GB, free: 9.551 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001112/0.1531, allocations: 76 kB / 0.6522 GB, free: 9.477 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002842/0.1534, allocations: 143.9 kB / 0.6523 GB, free: 9.336 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001745/0.1536, allocations: 207.1 kB / 0.6525 GB, free: 9.133 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003986/0.154, allocations: 473.2 kB / 0.6529 GB, free: 8.668 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.1551, allocations: 1.085 MB / 0.654 GB, free: 7.578 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1552, allocations: 4 kB / 0.654 GB, free: 7.574 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.1552, allocations: 0 / 0.654 GB, free: 7.574 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.438e-05/0.1552, allocations: 3.938 kB / 0.654 GB, free: 7.57 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: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.004883/0.1601, allocations: 1.787 MB / 0.6558 GB, free: 5.727 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.1601, allocations: 8.031 kB / 0.6558 GB, free: 5.719 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002636/0.1628, allocations: 451.2 kB / 0.6562 GB, free: 5.277 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.1639, allocations: 0.6396 MB / 0.6568 GB, free: 4.598 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002615/0.1641, allocations: 201.8 kB / 0.657 GB, free: 4.367 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.1643, allocations: 52 kB / 0.6571 GB, free: 4.316 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001581/0.1658, allocations: 0.7681 MB / 0.6578 GB, free: 3.535 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.1659, allocations: 0 / 0.6578 GB, free: 3.535 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.551e-05/0.1659, allocations: 20 kB / 0.6578 GB, free: 3.516 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.166, allocations: 19.94 kB / 0.6579 GB, free: 3.496 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00155/0.1675, allocations: 0.7 MB / 0.6585 GB, free: 2.797 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004614/0.1721, allocations: 2.672 MB / 0.6611 GB, free: 15.97 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/0.1738, allocations: 1.041 MB / 0.6622 GB, free: 14.82 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001008/0.1748, allocations: 491.1 kB / 0.6626 GB, free: 14.33 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.02e-05/0.1749, allocations: 8.562 kB / 0.6626 GB, free: 14.32 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001202/0.1761, allocations: 0.5919 MB / 0.6632 GB, free: 13.71 MB / 478.1 MB Notification: Performance of pre-optimization done (n=66): time 5.24e-06/0.1762, allocations: 8 kB / 0.6632 GB, free: 13.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=66): time 0.01885/0.195, allocations: 4.601 MB / 0.6677 GB, free: 9.066 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.991e-05/0.1951, allocations: 85.7 kB / 0.6678 GB, free: 8.965 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.1962, allocations: 0.7158 MB / 0.6685 GB, free: 8.234 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001419/0.1963, allocations: 33.7 kB / 0.6685 GB, free: 8.195 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002808/0.1966, allocations: 385.2 kB / 0.6689 GB, free: 7.816 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003011/0.1969, allocations: 241.8 kB / 0.6691 GB, free: 7.578 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002285/0.1971, allocations: 110.3 kB / 0.6692 GB, free: 7.465 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.1973, allocations: 326 kB / 0.6695 GB, free: 7.141 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009695/0.1982, allocations: 405.1 kB / 0.6699 GB, free: 6.746 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/0.1993, allocations: 0.5097 MB / 0.6704 GB, free: 6.195 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001961/0.2012, allocations: 0.9276 MB / 0.6713 GB, free: 5.223 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.2012, allocations: 0 / 0.6713 GB, free: 5.223 MB / 478.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008916/0.2102, allocations: 2.591 MB / 0.6739 GB, free: 2.625 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.2102, allocations: 4 kB / 0.6739 GB, free: 2.621 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.2102, allocations: 7.938 kB / 0.6739 GB, free: 2.613 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004235/0.2145, allocations: 1.125 MB / 0.675 GB, free: 1.488 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004627/0.215, allocations: 99.89 kB / 0.6751 GB, free: 1.391 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01651/0.2315, allocations: 6.765 MB / 0.6817 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009865/0.2325, allocations: 115.5 kB / 0.6818 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.341e-05/0.2326, allocations: 24 kB / 0.6818 GB, free: 10.34 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * 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 {(18,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0003836/0.233, allocations: 201.6 kB / 0.682 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001984/0.2332, allocations: 95.42 kB / 0.6821 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00906/0.2423, allocations: 2.634 MB / 0.6847 GB, free: 7.391 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.2423, allocations: 8 kB / 0.6847 GB, free: 7.383 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2423, allocations: 3.938 kB / 0.6847 GB, free: 7.379 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.471e-05/0.2424, allocations: 3.984 kB / 0.6847 GB, free: 7.375 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01028/0.2526, allocations: 3.828 MB / 0.6884 GB, free: 3.418 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.2527, allocations: 0 / 0.6884 GB, free: 3.418 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004422/0.2531, allocations: 79.89 kB / 0.6885 GB, free: 3.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003902/0.2571, allocations: 1.074 MB / 0.6895 GB, free: 2.262 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/0.2572, allocations: 15.94 kB / 0.6896 GB, free: 2.246 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01377/0.271, allocations: 6.014 MB / 0.6954 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.271, allocations: 7.984 kB / 0.6954 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009887/0.2809, allocations: 3.229 MB / 0.6986 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002853/0.2812, allocations: 180.3 kB / 0.6988 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001388/0.2814, allocations: 12 kB / 0.6988 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007959/0.2822, allocations: 79.91 kB / 0.6989 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004431/0.2826, allocations: 140.4 kB / 0.699 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.852e-05/0.2827, allocations: 19.98 kB / 0.699 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000624/0.2833, allocations: 0.4912 MB / 0.6995 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2833, allocations: 0 / 0.6995 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008875/0.2842, allocations: 299.8 kB / 0.6998 GB, free: 7.605 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (Syn1.omega,sTATCOM.simpleLagLim.state,Syn1.delta,Syn1.eq) * 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 (41): * Single equations (assignments): 40 * 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 {(17,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001828/0.2844, allocations: 115.2 kB / 0.6999 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004237/0.2887, allocations: 1.548 MB / 0.7014 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.2887, allocations: 0 / 0.7014 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002991/0.2917, allocations: 1.072 MB / 0.7024 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000617/0.2923, allocations: 75.3 kB / 0.7025 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00332/0.2956, allocations: 1.622 MB / 0.7041 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005392/0.2962, allocations: 0.9825 MB / 0.7051 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002264/0.2964, allocations: 61.14 kB / 0.7051 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/0.2966, allocations: 51.44 kB / 0.7052 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of SimCode: time 5.31e-07/0.2966, allocations: 0 / 0.7052 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of Templates: time 0.02683/0.3234, allocations: 17.05 MB / 0.7218 GB, free: 0.9336 MB / 0.5137 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe 2>&1)