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.001212/0.001212, allocations: 104 kB / 16.41 MB, free: 6.504 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.401/1.401, allocations: 222.9 MB / 240.1 MB, free: 4.566 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.001592/0.001593, allocations: 192.4 kB / 290.4 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5386/0.5386, allocations: 91.9 MB / 432.4 MB, free: 9.199 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 82.86 kB / 0.5734 GB, free: 33.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1646, allocations: 71.29 MB / 0.643 GB, free: 3.633 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.005867/0.1705, allocations: 5.255 MB / 0.6481 GB, free: 14.36 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003056/0.1736, allocations: 1.407 MB / 0.6495 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004208/0.174, allocations: 12 kB / 0.6495 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000457/0.1745, allocations: 162.5 kB / 0.6496 GB, free: 12.77 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007534/0.1753, allocations: 329.5 kB / 0.65 GB, free: 12.45 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001497/0.1768, allocations: 0.6397 MB / 0.6506 GB, free: 11.81 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001017/0.1778, allocations: 1.058 MB / 0.6516 GB, free: 10.75 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003619/0.1782, allocations: 231.7 kB / 0.6518 GB, free: 10.51 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004459/0.1787, allocations: 442.1 kB / 0.6523 GB, free: 10.08 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006997/0.1794, allocations: 0.525 MB / 0.6528 GB, free: 9.551 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.1795, allocations: 76 kB / 0.6528 GB, free: 9.477 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002906/0.1798, allocations: 139.9 kB / 0.653 GB, free: 9.34 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001779/0.18, allocations: 211 kB / 0.6532 GB, free: 9.133 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004015/0.1804, allocations: 465.3 kB / 0.6536 GB, free: 8.676 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.1815, allocations: 1.09 MB / 0.6547 GB, free: 7.582 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1815, allocations: 4 kB / 0.6547 GB, free: 7.578 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1815, allocations: 0 / 0.6547 GB, free: 7.578 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.173e-05/0.1815, allocations: 0 / 0.6547 GB, free: 7.578 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.005128/0.1867, allocations: 1.756 MB / 0.6564 GB, free: 5.766 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.1867, allocations: 8.031 kB / 0.6564 GB, free: 5.758 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002637/0.1894, allocations: 450.6 kB / 0.6568 GB, free: 5.316 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.1905, allocations: 0.6195 MB / 0.6574 GB, free: 4.656 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002866/0.1908, allocations: 205.7 kB / 0.6576 GB, free: 4.422 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.1909, allocations: 51.91 kB / 0.6577 GB, free: 4.371 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/0.1925, allocations: 0.772 MB / 0.6584 GB, free: 3.586 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.1925, allocations: 0 / 0.6584 GB, free: 3.586 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.931e-05/0.1926, allocations: 28 kB / 0.6585 GB, free: 3.559 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.051e-05/0.1926, allocations: 15.94 kB / 0.6585 GB, free: 3.543 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001603/0.1942, allocations: 0.7077 MB / 0.6592 GB, free: 2.836 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004699/0.1989, allocations: 2.652 MB / 0.6618 GB, free: 28 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00159/0.2005, allocations: 1.041 MB / 0.6628 GB, free: 14.88 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001059/0.2016, allocations: 491.2 kB / 0.6633 GB, free: 14.39 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.661e-05/0.2017, allocations: 8.5 kB / 0.6633 GB, free: 14.38 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001265/0.203, allocations: 0.6008 MB / 0.6638 GB, free: 13.76 MB / 478.1 MB Notification: Performance of pre-optimization done (n=66): time 2.404e-06/0.203, allocations: 0 / 0.6638 GB, free: 13.76 MB / 478.1 MB Notification: Performance of matching and sorting (n=66): time 0.01859/0.2216, allocations: 4.596 MB / 0.6683 GB, free: 9.129 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.982e-05/0.2217, allocations: 85.67 kB / 0.6684 GB, free: 9.027 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/0.2228, allocations: 0.7158 MB / 0.6691 GB, free: 8.297 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.591e-05/0.2229, allocations: 37.7 kB / 0.6692 GB, free: 8.254 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002921/0.2232, allocations: 380.8 kB / 0.6695 GB, free: 7.879 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00028/0.2234, allocations: 232.6 kB / 0.6697 GB, free: 7.648 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002202/0.2237, allocations: 110.2 kB / 0.6698 GB, free: 7.535 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.2238, allocations: 326 kB / 0.6702 GB, free: 7.211 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009408/0.2248, allocations: 409.1 kB / 0.6705 GB, free: 6.812 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000975/0.2258, allocations: 0.5058 MB / 0.671 GB, free: 6.266 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001929/0.2277, allocations: 0.9237 MB / 0.6719 GB, free: 5.297 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.496e-05/0.2277, allocations: 4 kB / 0.6719 GB, free: 5.293 MB / 478.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008827/0.2366, allocations: 2.571 MB / 0.6745 GB, free: 2.715 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.305e-05/0.2366, allocations: 8 kB / 0.6745 GB, free: 2.707 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/0.2367, allocations: 8.25 kB / 0.6745 GB, free: 2.699 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004373/0.241, allocations: 1.117 MB / 0.6756 GB, free: 1.582 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005277/0.2416, allocations: 103.8 kB / 0.6757 GB, free: 1.48 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01717/0.2588, allocations: 6.77 MB / 0.6823 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/0.26, allocations: 115.5 kB / 0.6824 GB, free: 10.44 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001674/0.2602, allocations: 24 kB / 0.6824 GB, free: 10.42 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.0005179/0.2607, allocations: 197.7 kB / 0.6826 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003009/0.261, allocations: 90.95 kB / 0.6827 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008993/0.27, allocations: 2.623 MB / 0.6852 GB, free: 7.488 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.2701, allocations: 4 kB / 0.6852 GB, free: 7.484 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.2701, allocations: 3.938 kB / 0.6852 GB, free: 7.48 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.496e-05/0.2701, allocations: 11.98 kB / 0.6853 GB, free: 7.469 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01065/0.2808, allocations: 3.824 MB / 0.689 GB, free: 3.516 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/0.2808, allocations: 0 / 0.689 GB, free: 3.516 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004527/0.2813, allocations: 75.89 kB / 0.6891 GB, free: 3.441 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004/0.2853, allocations: 1.082 MB / 0.6901 GB, free: 2.355 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.643e-05/0.2854, allocations: 16 kB / 0.6901 GB, free: 2.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01472/0.3002, allocations: 6.01 MB / 0.696 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.3002, allocations: 0 / 0.696 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01038/0.3106, allocations: 3.22 MB / 0.6992 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003955/0.3111, allocations: 179.9 kB / 0.6993 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002332/0.3113, allocations: 12 kB / 0.6993 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009409/0.3123, allocations: 71.91 kB / 0.6994 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005157/0.3128, allocations: 144.4 kB / 0.6995 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.592e-05/0.3129, allocations: 23.98 kB / 0.6996 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008546/0.3137, allocations: 0.4951 MB / 0.7 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3138, allocations: 0 / 0.7 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001134/0.3149, allocations: 291.7 kB / 0.7003 GB, free: 7.723 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.0002468/0.3152, allocations: 115.2 kB / 0.7004 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004527/0.3197, allocations: 1.544 MB / 0.7019 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.3197, allocations: 0 / 0.7019 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003146/0.3229, allocations: 1.057 MB / 0.703 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007996/0.3237, allocations: 75.3 kB / 0.703 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003824/0.3275, allocations: 1.632 MB / 0.7046 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007295/0.3283, allocations: 0.9747 MB / 0.7056 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002221/0.3285, allocations: 63.42 kB / 0.7057 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of SimCode: time 1.173e-06/0.3285, allocations: 0 / 0.7057 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of Templates: time 0.02253/0.351, allocations: 14.28 MB / 0.7196 GB, free: 3.875 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)