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.007745/0.007745, allocations: 98.97 kB / 15.73 MB, free: 6.055 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.359/1.359, allocations: 222.9 MB / 239.4 MB, free: 4.551 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.001335/0.001335, allocations: 188.5 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.5237/0.5237, allocations: 91.89 MB / 431.7 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 77.88 kB / 0.5727 GB, free: 33.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1264, allocations: 71.28 MB / 0.6423 GB, free: 3.633 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.006117/0.1325, allocations: 5.26 MB / 0.6474 GB, free: 14.35 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003056/0.1356, allocations: 1.407 MB / 0.6488 GB, free: 12.94 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008194/0.1364, allocations: 4 kB / 0.6488 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006584/0.1371, allocations: 166.6 kB / 0.649 GB, free: 12.77 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001301/0.1385, allocations: 365.4 kB / 0.6493 GB, free: 12.41 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001473/0.14, allocations: 0.6436 MB / 0.6499 GB, free: 11.77 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001408/0.1414, allocations: 1.066 MB / 0.651 GB, free: 10.7 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004672/0.1419, allocations: 219.7 kB / 0.6512 GB, free: 10.47 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008023/0.1427, allocations: 430.2 kB / 0.6516 GB, free: 10.05 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008587/0.1435, allocations: 0.5405 MB / 0.6521 GB, free: 9.508 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001284/0.1437, allocations: 76 kB / 0.6522 GB, free: 9.434 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002816/0.144, allocations: 144 kB / 0.6523 GB, free: 9.293 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001903/0.1442, allocations: 203.1 kB / 0.6525 GB, free: 9.094 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004292/0.1446, allocations: 469.2 kB / 0.653 GB, free: 8.633 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001092/0.1457, allocations: 1.082 MB / 0.654 GB, free: 7.547 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.1457, allocations: 0 / 0.654 GB, free: 7.547 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1457, allocations: 3.938 kB / 0.654 GB, free: 7.543 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.365e-05/0.1457, allocations: 0 / 0.654 GB, free: 7.543 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.005143/0.1509, allocations: 1.764 MB / 0.6558 GB, free: 5.723 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.1509, allocations: 8.031 kB / 0.6558 GB, free: 5.715 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002699/0.1536, allocations: 446.6 kB / 0.6562 GB, free: 5.277 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000989/0.1546, allocations: 0.6234 MB / 0.6568 GB, free: 4.613 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002584/0.1549, allocations: 197.8 kB / 0.657 GB, free: 4.387 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/0.155, allocations: 59.91 kB / 0.6571 GB, free: 4.328 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001646/0.1567, allocations: 0.7681 MB / 0.6578 GB, free: 3.547 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.1567, allocations: 0 / 0.6578 GB, free: 3.547 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.195e-05/0.1568, allocations: 23.98 kB / 0.6578 GB, free: 3.523 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.663e-05/0.1568, allocations: 19.94 kB / 0.6578 GB, free: 3.504 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001633/0.1585, allocations: 0.7 MB / 0.6585 GB, free: 2.805 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004808/0.1633, allocations: 2.664 MB / 0.6611 GB, free: 15.98 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001666/0.165, allocations: 1.038 MB / 0.6621 GB, free: 14.84 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001004/0.166, allocations: 493.8 kB / 0.6626 GB, free: 14.35 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.746e-05/0.1661, allocations: 16.55 kB / 0.6626 GB, free: 14.33 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00127/0.1673, allocations: 0.592 MB / 0.6632 GB, free: 13.72 MB / 478.1 MB Notification: Performance of pre-optimization done (n=66): time 2.224e-06/0.1674, allocations: 3.938 kB / 0.6632 GB, free: 13.72 MB / 478.1 MB Notification: Performance of matching and sorting (n=66): time 0.02007/0.1874, allocations: 4.596 MB / 0.6677 GB, free: 9.086 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.444e-05/0.1875, allocations: 85.67 kB / 0.6678 GB, free: 8.984 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/0.1887, allocations: 0.7196 MB / 0.6685 GB, free: 8.25 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001045/0.1888, allocations: 37.7 kB / 0.6685 GB, free: 8.207 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002979/0.1891, allocations: 380.8 kB / 0.6689 GB, free: 7.832 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002967/0.1894, allocations: 228.7 kB / 0.6691 GB, free: 7.605 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002244/0.1896, allocations: 110.3 kB / 0.6692 GB, free: 7.492 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.1898, allocations: 330 kB / 0.6695 GB, free: 7.164 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009895/0.1908, allocations: 405.1 kB / 0.6699 GB, free: 6.77 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/0.1918, allocations: 0.502 MB / 0.6704 GB, free: 6.227 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002021/0.1939, allocations: 0.9237 MB / 0.6713 GB, free: 5.258 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.1939, allocations: 0 / 0.6713 GB, free: 5.258 MB / 478.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.009215/0.2031, allocations: 2.586 MB / 0.6738 GB, free: 2.664 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.2032, allocations: 9.094 kB / 0.6738 GB, free: 2.656 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.2032, allocations: 3.938 kB / 0.6738 GB, free: 2.652 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004367/0.2075, allocations: 1.121 MB / 0.6749 GB, free: 1.531 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005005/0.2081, allocations: 95.89 kB / 0.675 GB, free: 1.438 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01698/0.225, allocations: 6.771 MB / 0.6816 GB, free: 10.51 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/0.2261, allocations: 107.5 kB / 0.6817 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/0.2263, allocations: 24 kB / 0.6818 GB, free: 10.38 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.0004157/0.2267, allocations: 197.7 kB / 0.682 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002694/0.227, allocations: 90.97 kB / 0.682 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009299/0.2363, allocations: 2.627 MB / 0.6846 GB, free: 7.449 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.741e-05/0.2363, allocations: 8 kB / 0.6846 GB, free: 7.441 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.2363, allocations: 3.938 kB / 0.6846 GB, free: 7.438 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.2364, allocations: 3.984 kB / 0.6846 GB, free: 7.434 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01088/0.2472, allocations: 3.832 MB / 0.6884 GB, free: 3.473 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.2473, allocations: 4 kB / 0.6884 GB, free: 3.469 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004319/0.2477, allocations: 79.89 kB / 0.6884 GB, free: 3.391 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004054/0.2518, allocations: 1.074 MB / 0.6895 GB, free: 2.312 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.246e-05/0.2519, allocations: 12 kB / 0.6895 GB, free: 2.301 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01463/0.2665, allocations: 6.011 MB / 0.6954 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.2666, allocations: 4 kB / 0.6954 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01039/0.277, allocations: 3.224 MB / 0.6985 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004657/0.2774, allocations: 175.9 kB / 0.6987 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002074/0.2777, allocations: 8 kB / 0.6987 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008522/0.2785, allocations: 79.91 kB / 0.6988 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004323/0.279, allocations: 140.4 kB / 0.6989 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.782e-05/0.279, allocations: 20 kB / 0.6989 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007023/0.2797, allocations: 0.4951 MB / 0.6994 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2798, allocations: 4 kB / 0.6994 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001014/0.2808, allocations: 295.7 kB / 0.6997 GB, free: 7.676 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.0002313/0.281, allocations: 115.2 kB / 0.6998 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004466/0.2855, allocations: 1.54 MB / 0.7013 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.2855, allocations: 3.938 kB / 0.7013 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003076/0.2886, allocations: 1.057 MB / 0.7023 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006325/0.2892, allocations: 83.23 kB / 0.7024 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003262/0.2925, allocations: 1.595 MB / 0.704 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005207/0.293, allocations: 0.9787 MB / 0.7049 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002257/0.2933, allocations: 61.16 kB / 0.705 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/0.2935, allocations: 55.42 kB / 0.705 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of SimCode: time 4.71e-07/0.2935, allocations: 0 / 0.705 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of Templates: time 0.02765/0.3211, allocations: 17.06 MB / 0.7217 GB, free: 1.043 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)