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.006714/0.006714, allocations: 100.8 kB / 15.87 MB, free: 5.871 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.33/1.33, allocations: 222.9 MB / 239.5 MB, free: 4.82 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.001551/0.001551, allocations: 196.5 kB / 289.8 MB, free: 2.543 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5284/0.5284, allocations: 91.9 MB / 431.8 MB, free: 9.441 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 75.89 kB / 0.5018 GB, free: 8.203 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3609, allocations: 71.27 MB / 0.5714 GB, free: 36.33 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.005077/0.366, allocations: 5.552 MB / 0.5769 GB, free: 33.2 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002672/0.3687, allocations: 1.442 MB / 0.5783 GB, free: 32.47 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005485/0.3693, allocations: 8.312 kB / 0.5783 GB, free: 32.47 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004251/0.3698, allocations: 131.9 kB / 0.5784 GB, free: 32.41 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007383/0.3705, allocations: 278.8 kB / 0.5787 GB, free: 32.22 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.3718, allocations: 0.6022 MB / 0.5793 GB, free: 31.88 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009064/0.3727, allocations: 1.008 MB / 0.5802 GB, free: 31.38 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00029/0.373, allocations: 201.2 kB / 0.5804 GB, free: 31.29 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004338/0.3735, allocations: 407.3 kB / 0.5808 GB, free: 31.11 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005056/0.374, allocations: 0.5006 MB / 0.5813 GB, free: 30.87 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.414e-05/0.3741, allocations: 48.5 kB / 0.5814 GB, free: 30.87 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002534/0.3744, allocations: 106.2 kB / 0.5815 GB, free: 30.86 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001308/0.3745, allocations: 177.5 kB / 0.5816 GB, free: 30.75 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000296/0.3748, allocations: 441 kB / 0.5821 GB, free: 30.47 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000577/0.3754, allocations: 0.8158 MB / 0.5828 GB, free: 30.15 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.3754, allocations: 0 / 0.5828 GB, free: 30.15 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.3754, allocations: 0 / 0.5828 GB, free: 30.15 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.3754, allocations: 0 / 0.5828 GB, free: 30.15 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.004486/0.3799, allocations: 1.759 MB / 0.5846 GB, free: 29.23 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.38, allocations: 11.5 kB / 0.5846 GB, free: 29.23 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002519/0.3825, allocations: 449.8 kB / 0.585 GB, free: 29.12 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008107/0.3833, allocations: 0.6246 MB / 0.5856 GB, free: 28.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002059/0.3835, allocations: 196.9 kB / 0.5858 GB, free: 28.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.339e-05/0.3836, allocations: 54.16 kB / 0.5859 GB, free: 28.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/0.3851, allocations: 0.7708 MB / 0.5866 GB, free: 28.19 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.3852, allocations: 4 kB / 0.5866 GB, free: 28.18 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.837e-05/0.3852, allocations: 20.88 kB / 0.5866 GB, free: 28.17 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.599e-05/0.3853, allocations: 16.56 kB / 0.5866 GB, free: 28.16 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001509/0.3868, allocations: 0.7 MB / 0.5873 GB, free: 27.94 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004273/0.3911, allocations: 2.688 MB / 0.59 GB, free: 26.27 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001403/0.3925, allocations: 1.033 MB / 0.591 GB, free: 25.52 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009277/0.3934, allocations: 491.9 kB / 0.5914 GB, free: 25.33 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.121e-05/0.3935, allocations: 22.61 kB / 0.5915 GB, free: 25.31 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001204/0.3948, allocations: 0.5858 MB / 0.592 GB, free: 25.08 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 3.196e-06/0.3948, allocations: 0 / 0.592 GB, free: 25.08 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.01863/0.4134, allocations: 4.598 MB / 0.5965 GB, free: 24.18 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.4135, allocations: 88.33 kB / 0.5966 GB, free: 24.08 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/0.4148, allocations: 0.7099 MB / 0.5973 GB, free: 23.77 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000135/0.4149, allocations: 40.61 kB / 0.5973 GB, free: 23.73 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002607/0.4152, allocations: 387.2 kB / 0.5977 GB, free: 23.42 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003182/0.4155, allocations: 234.7 kB / 0.5979 GB, free: 23.23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002394/0.4158, allocations: 103.8 kB / 0.598 GB, free: 23.18 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.432e-05/0.4158, allocations: 330.2 kB / 0.5983 GB, free: 22.86 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009749/0.4168, allocations: 403.7 kB / 0.5987 GB, free: 22.72 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/0.4179, allocations: 0.5063 MB / 0.5992 GB, free: 22.47 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001971/0.4199, allocations: 0.9219 MB / 0.6001 GB, free: 22.02 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.4199, allocations: 1.125 kB / 0.6001 GB, free: 22.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.009118/0.429, allocations: 2.582 MB / 0.6026 GB, free: 21.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/0.4291, allocations: 6.109 kB / 0.6026 GB, free: 21.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/0.4291, allocations: 8.375 kB / 0.6027 GB, free: 21.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004397/0.4335, allocations: 1.122 MB / 0.6038 GB, free: 21.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005354/0.4341, allocations: 96.34 kB / 0.6038 GB, free: 21.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01569/0.4498, allocations: 6.244 MB / 0.6099 GB, free: 18.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/0.4509, allocations: 114.7 kB / 0.6101 GB, free: 17.97 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001472/0.4511, allocations: 22.83 kB / 0.6101 GB, free: 17.97 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.0004756/0.4516, allocations: 199.8 kB / 0.6103 GB, free: 17.8 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002833/0.4519, allocations: 90.47 kB / 0.6103 GB, free: 17.75 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009411/0.4613, allocations: 2.629 MB / 0.6129 GB, free: 17.11 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.789e-05/0.4614, allocations: 8 kB / 0.6129 GB, free: 17.11 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/0.4614, allocations: 1.125 kB / 0.6129 GB, free: 17.11 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.175e-05/0.4614, allocations: 2.578 kB / 0.6129 GB, free: 17.11 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01095/0.4724, allocations: 3.825 MB / 0.6167 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.571e-05/0.4724, allocations: 5 kB / 0.6167 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005109/0.4729, allocations: 87.47 kB / 0.6168 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003886/0.4768, allocations: 1.069 MB / 0.6178 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001358/0.477, allocations: 12.53 kB / 0.6178 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0115/0.4885, allocations: 5.482 MB / 0.6232 GB, free: 9.008 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.4886, allocations: 0 / 0.6232 GB, free: 9.008 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009123/0.4977, allocations: 3.219 MB / 0.6263 GB, free: 5.762 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003923/0.4981, allocations: 175.9 kB / 0.6265 GB, free: 5.57 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002422/0.4984, allocations: 16.09 kB / 0.6265 GB, free: 5.555 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008659/0.4993, allocations: 83.84 kB / 0.6266 GB, free: 5.473 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004666/0.4998, allocations: 144.3 kB / 0.6267 GB, free: 5.332 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-05/0.4999, allocations: 16 kB / 0.6267 GB, free: 5.316 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006396/0.5005, allocations: 0.4951 MB / 0.6272 GB, free: 4.824 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5005, allocations: 0 / 0.6272 GB, free: 4.824 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001237/0.5018, allocations: 295.7 kB / 0.6275 GB, free: 4.535 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.0002118/0.502, allocations: 119.1 kB / 0.6276 GB, free: 4.41 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003883/0.5059, allocations: 1.493 MB / 0.6291 GB, free: 2.902 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.5059, allocations: 0 / 0.6291 GB, free: 2.902 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002627/0.5085, allocations: 1.044 MB / 0.6301 GB, free: 1.848 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009619/0.5095, allocations: 79.3 kB / 0.6302 GB, free: 1.77 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003659/0.5132, allocations: 1.931 MB / 0.632 GB, free: 15.81 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008026/0.514, allocations: 0.9785 MB / 0.633 GB, free: 14.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003112/0.5144, allocations: 55.42 kB / 0.633 GB, free: 14.75 MB / 446.1 MB Notification: Performance of SimCode: time 1.423e-06/0.5144, allocations: 4 kB / 0.633 GB, free: 14.75 MB / 446.1 MB Notification: Performance of Templates: time 0.02286/0.5372, allocations: 14.21 MB / 0.6469 GB, free: 0.5273 MB / 446.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)