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.001357/0.001357, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 222.9 MB / 239.2 MB, free: 4.562 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.001527/0.001527, allocations: 200.4 kB / 289.6 MB, free: 2.285 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5033/0.5033, allocations: 91.89 MB / 431.6 MB, free: 9.242 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 79.88 kB / 0.5019 GB, free: 7.727 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3149, allocations: 71.27 MB / 0.5715 GB, free: 36.6 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.004442/0.3194, allocations: 5.251 MB / 0.5766 GB, free: 33.66 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001983/0.3214, allocations: 1.412 MB / 0.578 GB, free: 32.82 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002624/0.3217, allocations: 5.438 kB / 0.578 GB, free: 32.82 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000305/0.322, allocations: 164.5 kB / 0.5781 GB, free: 32.73 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005477/0.3226, allocations: 326.9 kB / 0.5784 GB, free: 32.5 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.3237, allocations: 0.6448 MB / 0.5791 GB, free: 32.16 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006541/0.3243, allocations: 1.053 MB / 0.5801 GB, free: 31.62 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002913/0.3246, allocations: 234.3 kB / 0.5803 GB, free: 31.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003222/0.325, allocations: 434.3 kB / 0.5807 GB, free: 31.31 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004678/0.3254, allocations: 0.5355 MB / 0.5813 GB, free: 31.04 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.802e-05/0.3255, allocations: 75.06 kB / 0.5813 GB, free: 31.04 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002298/0.3258, allocations: 144.7 kB / 0.5815 GB, free: 31.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.3259, allocations: 205.2 kB / 0.5817 GB, free: 30.89 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002619/0.3262, allocations: 465.2 kB / 0.5821 GB, free: 30.59 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006843/0.3269, allocations: 1.076 MB / 0.5832 GB, free: 30.09 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3269, allocations: 0 / 0.5832 GB, free: 30.09 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3269, allocations: 0 / 0.5832 GB, free: 30.09 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.3269, allocations: 3.062 kB / 0.5832 GB, free: 30.09 MB / 430.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.004391/0.3313, allocations: 1.756 MB / 0.5849 GB, free: 29.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.3313, allocations: 9.312 kB / 0.5849 GB, free: 29.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002457/0.3338, allocations: 450.6 kB / 0.5853 GB, free: 29.08 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006987/0.3345, allocations: 0.6212 MB / 0.5859 GB, free: 28.63 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001881/0.3347, allocations: 200.7 kB / 0.5861 GB, free: 28.45 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.735e-05/0.3348, allocations: 58.78 kB / 0.5862 GB, free: 28.43 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.3362, allocations: 0.7704 MB / 0.5869 GB, free: 28.13 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.3362, allocations: 5.25 kB / 0.5869 GB, free: 28.12 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.237e-05/0.3362, allocations: 23.62 kB / 0.5869 GB, free: 28.11 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.3363, allocations: 21.44 kB / 0.587 GB, free: 28.1 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001399/0.3377, allocations: 0.6991 MB / 0.5876 GB, free: 27.88 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003685/0.3414, allocations: 2.678 MB / 0.5903 GB, free: 26.21 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001339/0.3427, allocations: 1.037 MB / 0.5913 GB, free: 25.46 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008684/0.3436, allocations: 486 kB / 0.5917 GB, free: 25.27 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.66e-05/0.3437, allocations: 10.83 kB / 0.5917 GB, free: 25.27 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001074/0.3448, allocations: 0.5918 MB / 0.5923 GB, free: 25.04 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 1.903e-06/0.3448, allocations: 1.188 kB / 0.5923 GB, free: 25.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.0184/0.3632, allocations: 4.603 MB / 0.5968 GB, free: 24.12 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.3633, allocations: 84.39 kB / 0.5969 GB, free: 24.03 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009827/0.3642, allocations: 0.7134 MB / 0.5976 GB, free: 23.71 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001177/0.3644, allocations: 35.73 kB / 0.5976 GB, free: 23.68 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002146/0.3646, allocations: 380.7 kB / 0.598 GB, free: 23.38 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00021/0.3648, allocations: 228.1 kB / 0.5982 GB, free: 23.2 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002109/0.365, allocations: 106 kB / 0.5983 GB, free: 23.14 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.643e-05/0.3651, allocations: 331.2 kB / 0.5986 GB, free: 22.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000903/0.366, allocations: 402.9 kB / 0.599 GB, free: 22.68 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009644/0.367, allocations: 0.5085 MB / 0.5995 GB, free: 22.42 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002318/0.3693, allocations: 0.9194 MB / 0.6004 GB, free: 21.97 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.3693, allocations: 1.469 kB / 0.6004 GB, free: 21.97 MB / 430.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.009044/0.3784, allocations: 2.578 MB / 0.6029 GB, free: 21.37 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.3784, allocations: 10.41 kB / 0.6029 GB, free: 21.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.3785, allocations: 6.688 kB / 0.6029 GB, free: 21.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004357/0.3828, allocations: 1.126 MB / 0.604 GB, free: 21.15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005073/0.3834, allocations: 96.44 kB / 0.6041 GB, free: 21.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0162/0.3996, allocations: 6.787 MB / 0.6108 GB, free: 17.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/0.4007, allocations: 109.5 kB / 0.6109 GB, free: 17.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.4008, allocations: 26.27 kB / 0.6109 GB, free: 17.62 MB / 430.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.0003712/0.4012, allocations: 203.4 kB / 0.6111 GB, free: 17.44 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002057/0.4014, allocations: 86.56 kB / 0.6112 GB, free: 17.4 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009387/0.4108, allocations: 2.63 MB / 0.6137 GB, free: 16.76 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.4109, allocations: 6.25 kB / 0.6137 GB, free: 16.76 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.4109, allocations: 4.844 kB / 0.6138 GB, free: 16.75 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.31e-05/0.4109, allocations: 4.391 kB / 0.6138 GB, free: 16.75 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009681/0.4206, allocations: 3.827 MB / 0.6175 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.016e-06/0.4206, allocations: 0 / 0.6175 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000423/0.4211, allocations: 83.95 kB / 0.6176 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003672/0.4247, allocations: 1.089 MB / 0.6186 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.037e-05/0.4248, allocations: 12 kB / 0.6186 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01198/0.4368, allocations: 6.024 MB / 0.6245 GB, free: 7.336 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.4368, allocations: 0 / 0.6245 GB, free: 7.336 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008976/0.4458, allocations: 3.219 MB / 0.6277 GB, free: 4.09 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004234/0.4463, allocations: 175.8 kB / 0.6278 GB, free: 3.898 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002527/0.4465, allocations: 16 kB / 0.6279 GB, free: 3.883 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009328/0.4475, allocations: 79.91 kB / 0.6279 GB, free: 3.805 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000421/0.4479, allocations: 140.4 kB / 0.6281 GB, free: 3.668 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.436e-05/0.448, allocations: 19.98 kB / 0.6281 GB, free: 3.648 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005589/0.4485, allocations: 0.4912 MB / 0.6286 GB, free: 3.16 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4486, allocations: 0 / 0.6286 GB, free: 3.16 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001088/0.4497, allocations: 299.7 kB / 0.6289 GB, free: 2.867 MB / 430.1 MB 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.000211/0.4499, allocations: 117.8 kB / 0.629 GB, free: 2.746 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004191/0.4541, allocations: 1.56 MB / 0.6305 GB, free: 1.168 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.4541, allocations: 0 / 0.6305 GB, free: 1.168 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002757/0.4569, allocations: 1.072 MB / 0.6315 GB, free: 92 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000659/0.4575, allocations: 75.31 kB / 0.6316 GB, free: 16 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003318/0.4609, allocations: 1.622 MB / 0.6332 GB, free: 14.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006329/0.4615, allocations: 0.9708 MB / 0.6341 GB, free: 13.37 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002424/0.4618, allocations: 69.12 kB / 0.6342 GB, free: 13.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/0.4619, allocations: 59.42 kB / 0.6343 GB, free: 13.24 MB / 446.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4619, allocations: 0 / 0.6343 GB, free: 13.24 MB / 446.1 MB Notification: Performance of Templates: time 0.02579/0.4877, allocations: 16.87 MB / 0.6507 GB, free: 12.38 MB / 462.1 MB 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)