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.001358/0.001358, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.396/1.396, allocations: 222.9 MB / 238.8 MB, free: 4.777 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.001293/0.001292, allocations: 192.4 kB / 289.1 MB, free: 2.516 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.511/0.511, allocations: 91.89 MB / 431.2 MB, free: 9.449 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 83.88 kB / 0.5012 GB, free: 8.188 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.3661, allocations: 71.25 MB / 0.5708 GB, free: 36.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.004795/0.3709, allocations: 5.563 MB / 0.5762 GB, free: 33.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002839/0.3738, allocations: 1.436 MB / 0.5776 GB, free: 32.7 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005196/0.3743, allocations: 8.469 kB / 0.5776 GB, free: 32.7 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000461/0.3748, allocations: 130.6 kB / 0.5777 GB, free: 32.65 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007469/0.3756, allocations: 280.7 kB / 0.578 GB, free: 32.45 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.3769, allocations: 0.6084 MB / 0.5786 GB, free: 32.11 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007853/0.3777, allocations: 1.01 MB / 0.5796 GB, free: 31.61 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003052/0.378, allocations: 204.5 kB / 0.5798 GB, free: 31.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003506/0.3784, allocations: 407.5 kB / 0.5802 GB, free: 31.33 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004779/0.3789, allocations: 0.502 MB / 0.5807 GB, free: 31.1 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.596e-05/0.379, allocations: 46 kB / 0.5807 GB, free: 31.1 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002457/0.3792, allocations: 104.8 kB / 0.5808 GB, free: 31.08 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001496/0.3794, allocations: 170.5 kB / 0.581 GB, free: 30.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003012/0.3797, allocations: 446.8 kB / 0.5814 GB, free: 30.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007355/0.3804, allocations: 1.044 MB / 0.5824 GB, free: 30.23 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3805, allocations: 0 / 0.5824 GB, free: 30.23 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.3805, allocations: 0 / 0.5824 GB, free: 30.23 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.3805, allocations: 6.344 kB / 0.5824 GB, free: 30.22 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.004618/0.3851, allocations: 1.757 MB / 0.5841 GB, free: 29.3 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.3852, allocations: 6.562 kB / 0.5842 GB, free: 29.3 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002545/0.3877, allocations: 446 kB / 0.5846 GB, free: 29.2 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009162/0.3886, allocations: 0.6264 MB / 0.5852 GB, free: 28.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002268/0.3889, allocations: 205 kB / 0.5854 GB, free: 28.57 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.389, allocations: 54 kB / 0.5854 GB, free: 28.55 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/0.3906, allocations: 0.7687 MB / 0.5862 GB, free: 28.26 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.3906, allocations: 0 / 0.5862 GB, free: 28.26 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.902e-05/0.3907, allocations: 21.03 kB / 0.5862 GB, free: 28.24 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.289e-05/0.3907, allocations: 16.88 kB / 0.5862 GB, free: 28.24 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001716/0.3924, allocations: 0.7042 MB / 0.5869 GB, free: 28.01 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004497/0.3969, allocations: 2.683 MB / 0.5895 GB, free: 26.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/0.3984, allocations: 1.032 MB / 0.5905 GB, free: 25.59 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009475/0.3993, allocations: 499.2 kB / 0.591 GB, free: 25.4 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.843e-05/0.3994, allocations: 7.781 kB / 0.591 GB, free: 25.39 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001211/0.4007, allocations: 0.5877 MB / 0.5916 GB, free: 25.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 3.106e-06/0.4007, allocations: 4 kB / 0.5916 GB, free: 25.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.01799/0.4187, allocations: 4.603 MB / 0.5961 GB, free: 24.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.4187, allocations: 92.05 kB / 0.5962 GB, free: 24.15 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/0.4198, allocations: 0.7077 MB / 0.5969 GB, free: 23.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.339e-05/0.4199, allocations: 36.75 kB / 0.5969 GB, free: 23.8 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002223/0.4201, allocations: 376.3 kB / 0.5973 GB, free: 23.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002137/0.4203, allocations: 228 kB / 0.5975 GB, free: 23.32 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002081/0.4205, allocations: 106.1 kB / 0.5976 GB, free: 23.27 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.554e-05/0.4206, allocations: 331.3 kB / 0.5979 GB, free: 22.95 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000885/0.4215, allocations: 402.7 kB / 0.5983 GB, free: 22.81 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009339/0.4224, allocations: 0.5093 MB / 0.5988 GB, free: 22.55 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001767/0.4242, allocations: 0.9194 MB / 0.5997 GB, free: 22.11 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.4242, allocations: 0.9688 kB / 0.5997 GB, free: 22.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008681/0.4329, allocations: 2.591 MB / 0.6022 GB, free: 21.49 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.06e-05/0.433, allocations: 5.312 kB / 0.6022 GB, free: 21.49 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.433, allocations: 7.938 kB / 0.6022 GB, free: 21.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004132/0.4371, allocations: 1.115 MB / 0.6033 GB, free: 21.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005145/0.4377, allocations: 100.6 kB / 0.6034 GB, free: 21.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01498/0.4526, allocations: 6.243 MB / 0.6095 GB, free: 18.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/0.4538, allocations: 112.4 kB / 0.6096 GB, free: 18.06 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.787e-05/0.4539, allocations: 23.14 kB / 0.6096 GB, free: 18.06 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.0003696/0.4543, allocations: 200.2 kB / 0.6098 GB, free: 17.89 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/0.4545, allocations: 89.88 kB / 0.6099 GB, free: 17.84 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008748/0.4632, allocations: 2.637 MB / 0.6125 GB, free: 17.2 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/0.4633, allocations: 7.688 kB / 0.6125 GB, free: 17.2 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.4633, allocations: 2.016 kB / 0.6125 GB, free: 17.2 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.911e-05/0.4633, allocations: 3.328 kB / 0.6125 GB, free: 17.2 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009796/0.4731, allocations: 3.833 MB / 0.6162 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/0.4732, allocations: 1.094 kB / 0.6162 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004605/0.4736, allocations: 83.36 kB / 0.6163 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003663/0.4773, allocations: 1.079 MB / 0.6174 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.13e-05/0.4774, allocations: 12 kB / 0.6174 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01083/0.4883, allocations: 5.476 MB / 0.6227 GB, free: 8.758 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.4883, allocations: 0 / 0.6227 GB, free: 8.758 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008943/0.4973, allocations: 3.227 MB / 0.6259 GB, free: 5.504 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005065/0.4978, allocations: 175.9 kB / 0.6261 GB, free: 5.312 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/0.498, allocations: 16 kB / 0.6261 GB, free: 5.297 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007621/0.4987, allocations: 75.84 kB / 0.6261 GB, free: 5.223 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005252/0.4993, allocations: 144.3 kB / 0.6263 GB, free: 5.082 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.311e-05/0.4993, allocations: 20 kB / 0.6263 GB, free: 5.062 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006031/0.5, allocations: 0.499 MB / 0.6268 GB, free: 4.566 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5, allocations: 3.938 kB / 0.6268 GB, free: 4.562 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001172/0.5011, allocations: 291.7 kB / 0.6271 GB, free: 4.277 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.000224/0.5014, allocations: 115.1 kB / 0.6272 GB, free: 4.156 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003805/0.5052, allocations: 1.501 MB / 0.6286 GB, free: 2.641 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5052, allocations: 0 / 0.6286 GB, free: 2.641 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002552/0.5078, allocations: 1.036 MB / 0.6297 GB, free: 1.594 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006727/0.5085, allocations: 79.3 kB / 0.6297 GB, free: 1.516 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003188/0.5116, allocations: 1.903 MB / 0.6316 GB, free: 15.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005817/0.5122, allocations: 0.9747 MB / 0.6325 GB, free: 14.59 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002554/0.5125, allocations: 69.12 kB / 0.6326 GB, free: 14.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001729/0.5127, allocations: 47.44 kB / 0.6327 GB, free: 14.47 MB / 446.1 MB Notification: Performance of SimCode: time 1.233e-06/0.5127, allocations: 0 / 0.6327 GB, free: 14.47 MB / 446.1 MB Notification: Performance of Templates: time 0.02476/0.5375, allocations: 15.11 MB / 0.6474 GB, free: 15.37 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)