Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.FACTS.STATCOM_Test.conf.json 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/Modelica 4.0.0+maint.om/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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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_release_OpenIPSL.Tests.FACTS.STATCOM_Test") translateModel(OpenIPSL.Tests.FACTS.STATCOM_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.FACTS.STATCOM_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 176.2 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 221.5 MB / 229.6 MB, free: 7.594 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008621/0.0008621, allocations: 87.59 kB / 280.4 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4813/0.4813, allocations: 78.12 MB / 409.4 MB, free: 6.438 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.641e-05/2.643e-05, allocations: 3.938 kB / 485 MB, free: 12.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.181, allocations: 69.35 MB / 0.5413 GB, free: 6.984 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4243/0.6054, allocations: 96.26 MB / 0.6353 GB, free: 3.516 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001982/0.6056, allocations: 72.62 kB / 0.6354 GB, free: 3.445 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05135/0.657, allocations: 18.29 MB / 0.6532 GB, free: 1.23 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.657, allocations: 0 / 0.6532 GB, free: 1.23 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.311e-05/0.6571, allocations: 12 kB / 0.6532 GB, free: 1.219 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: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.003467/0.6606, allocations: 1.263 MB / 0.6545 GB, free: 15.91 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.6606, allocations: 8.031 kB / 0.6545 GB, free: 15.91 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001843/0.6625, allocations: 330.5 kB / 0.6548 GB, free: 15.58 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.6636, allocations: 0.5677 MB / 0.6554 GB, free: 14.97 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002487/0.6638, allocations: 193.7 kB / 0.6555 GB, free: 14.75 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.821e-05/0.664, allocations: 31.98 kB / 0.6556 GB, free: 14.72 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009925/0.665, allocations: 0.5337 MB / 0.6561 GB, free: 14.19 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.666, allocations: 0.5782 MB / 0.6567 GB, free: 13.59 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.666, allocations: 0 / 0.6567 GB, free: 13.59 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.964e-05/0.6661, allocations: 0 / 0.6567 GB, free: 13.59 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.801e-05/0.6661, allocations: 19.98 kB / 0.6567 GB, free: 13.57 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005892/0.672, allocations: 2.632 MB / 0.6592 GB, free: 10.8 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001599/0.6737, allocations: 0.9168 MB / 0.6601 GB, free: 9.773 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008611/0.6745, allocations: 351.4 kB / 0.6605 GB, free: 9.426 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001157/0.6747, allocations: 16.55 kB / 0.6605 GB, free: 9.41 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001136/0.6758, allocations: 473.2 kB / 0.6609 GB, free: 8.926 MB / 474.7 MB Notification: Performance of pre-optimization done (n=66): time 4.629e-06/0.6758, allocations: 0 / 0.6609 GB, free: 8.926 MB / 474.7 MB Notification: Performance of matching and sorting (n=66): time 0.01335/0.6892, allocations: 2.599 MB / 0.6635 GB, free: 6.312 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.347e-05/0.6893, allocations: 85.67 kB / 0.6636 GB, free: 6.211 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00146/0.6908, allocations: 0.5511 MB / 0.6641 GB, free: 5.656 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001617/0.691, allocations: 25.7 kB / 0.6641 GB, free: 5.625 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004637/0.6915, allocations: 384.6 kB / 0.6645 GB, free: 5.242 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004168/0.6919, allocations: 225.3 kB / 0.6647 GB, free: 5.02 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.419e-05/0.692, allocations: 0 / 0.6647 GB, free: 5.02 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.6922, allocations: 330 kB / 0.665 GB, free: 4.691 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009415/0.6932, allocations: 281.5 kB / 0.6653 GB, free: 4.414 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/0.6942, allocations: 391.1 kB / 0.6657 GB, free: 3.996 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000979/0.6952, allocations: 310 kB / 0.666 GB, free: 3.695 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.6952, allocations: 1.219 kB / 0.666 GB, free: 3.695 MB / 474.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.01543/0.7107, allocations: 2.653 MB / 0.6686 GB, free: 1.031 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.66e-05/0.7108, allocations: 8 kB / 0.6686 GB, free: 1.023 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.921e-05/0.7108, allocations: 4.312 kB / 0.6686 GB, free: 1.02 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006769/0.7176, allocations: 1.054 MB / 0.6696 GB, free: 15.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009654/0.7186, allocations: 107.8 kB / 0.6697 GB, free: 15.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01983/0.7384, allocations: 5.23 MB / 0.6748 GB, free: 10.51 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002022/0.7405, allocations: 127.6 kB / 0.6749 GB, free: 10.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001433/0.7407, allocations: 23.98 kB / 0.6749 GB, free: 10.36 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: 2 ($whenCondition1,$whenCondition2) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {17 11} Notification: Performance of prepare postOptimizeDAE: time 0.0003437/0.741, allocations: 120.8 kB / 0.6751 GB, free: 10.23 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003308/0.7414, allocations: 90.88 kB / 0.6752 GB, free: 10.14 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01574/0.7572, allocations: 2.666 MB / 0.6778 GB, free: 7.453 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.671e-05/0.7572, allocations: 8 kB / 0.6778 GB, free: 7.445 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.7573, allocations: 1.594 kB / 0.6778 GB, free: 7.445 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-05/0.7573, allocations: 3.984 kB / 0.6778 GB, free: 7.441 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01762/0.7749, allocations: 3.846 MB / 0.6815 GB, free: 3.484 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.799e-05/0.775, allocations: 4 kB / 0.6815 GB, free: 3.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007709/0.7758, allocations: 83.89 kB / 0.6816 GB, free: 3.398 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006198/0.782, allocations: 1.024 MB / 0.6826 GB, free: 2.371 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001599/0.7822, allocations: 2.688 kB / 0.6826 GB, free: 2.371 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01638/0.7986, allocations: 4.708 MB / 0.6872 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/0.7987, allocations: 0 / 0.6872 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01621/0.8149, allocations: 3.207 MB / 0.6903 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005429/0.8155, allocations: 171.9 kB / 0.6905 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002237/0.8157, allocations: 8 kB / 0.6905 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001523/0.8173, allocations: 91.91 kB / 0.6906 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000685/0.818, allocations: 144.3 kB / 0.6907 GB, free: 9.883 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001053/0.8181, allocations: 20 kB / 0.6908 GB, free: 9.863 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0009043/0.819, allocations: 439.2 kB / 0.6912 GB, free: 9.441 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.71e-07/0.819, allocations: 0 / 0.6912 GB, free: 9.441 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001542/0.8206, allocations: 280.2 kB / 0.6914 GB, free: 9.168 MB / 0.4948 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {18 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003288/0.8209, allocations: 120.8 kB / 0.6916 GB, free: 9.043 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005515/0.8265, allocations: 1.304 MB / 0.6928 GB, free: 7.738 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.8265, allocations: 0 / 0.6928 GB, free: 7.738 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004812/0.8313, allocations: 0.9823 MB / 0.6938 GB, free: 6.746 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008494/0.8322, allocations: 51.33 kB / 0.6938 GB, free: 6.691 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004417/0.8366, allocations: 1.179 MB / 0.695 GB, free: 5.488 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008132/0.8375, allocations: 0.9894 MB / 0.696 GB, free: 4.473 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004094/0.8379, allocations: 52.53 kB / 0.696 GB, free: 4.422 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002314/0.8381, allocations: 43.44 kB / 0.696 GB, free: 4.379 MB / 0.4948 GB Notification: Performance of SimCode: time 8.82e-07/0.8382, allocations: 0 / 0.696 GB, free: 4.379 MB / 0.4948 GB Notification: Performance of Templates: time 0.03834/0.8765, allocations: 13.2 MB / 0.7089 GB, free: 7.301 MB / 0.5105 GB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.FACTS.STATCOM_Test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.FACTS.STATCOM_Test.sim & ./OpenIPSL_release_OpenIPSL.Tests.FACTS.STATCOM_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe 2>&1)