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.001022/0.001022, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.255/1.255, allocations: 223.2 MB / 238.9 MB, free: 5.633 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.001165/0.001165, allocations: 185.1 kB / 290.2 MB, free: 2.328 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4339/0.4339, allocations: 79.46 MB / 420.7 MB, free: 3.977 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003389/0.0003392, allocations: 16 kB / 0.489 GB, free: 5.625 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1178, allocations: 69.51 MB / 0.5569 GB, free: 60 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.1932/0.3111, allocations: 4.565 MB / 0.5613 GB, free: 37.54 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00208/0.3132, allocations: 1.412 MB / 0.5627 GB, free: 37.36 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003261/0.3135, allocations: 7.812 kB / 0.5627 GB, free: 37.36 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002879/0.3138, allocations: 126.4 kB / 0.5628 GB, free: 37.31 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000615/0.3144, allocations: 329.6 kB / 0.5631 GB, free: 37.28 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.3155, allocations: 0.5154 MB / 0.5636 GB, free: 37.23 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000796/0.3163, allocations: 0.6942 MB / 0.5643 GB, free: 37.2 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002758/0.3166, allocations: 182.2 kB / 0.5645 GB, free: 37.15 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003771/0.317, allocations: 377.7 kB / 0.5649 GB, free: 37.07 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004702/0.3175, allocations: 464.5 kB / 0.5653 GB, free: 36.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.409e-05/0.3176, allocations: 37.19 kB / 0.5653 GB, free: 36.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002046/0.3178, allocations: 94.47 kB / 0.5654 GB, free: 36.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.3179, allocations: 157.6 kB / 0.5656 GB, free: 36.95 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.318, allocations: 175.9 kB / 0.5657 GB, free: 36.88 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005883/0.3186, allocations: 0.761 MB / 0.5665 GB, free: 36.8 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.3186, allocations: 2.219 kB / 0.5665 GB, free: 36.8 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3187, allocations: 0 / 0.5665 GB, free: 36.8 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.3187, allocations: 2.531 kB / 0.5665 GB, free: 36.8 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.004238/0.3229, allocations: 1.647 MB / 0.5681 GB, free: 36.09 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.323, allocations: 7.312 kB / 0.5681 GB, free: 36.09 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002529/0.3255, allocations: 447.7 kB / 0.5685 GB, free: 36.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007791/0.3263, allocations: 0.6055 MB / 0.5691 GB, free: 35.71 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001929/0.3265, allocations: 208.6 kB / 0.5693 GB, free: 35.55 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.091e-05/0.3266, allocations: 53.12 kB / 0.5694 GB, free: 35.55 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/0.328, allocations: 0.8121 MB / 0.5702 GB, free: 35.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.328, allocations: 1.312 kB / 0.5702 GB, free: 35.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.42e-05/0.3281, allocations: 21.88 kB / 0.5702 GB, free: 35.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.3281, allocations: 15.73 kB / 0.5702 GB, free: 35.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001438/0.3296, allocations: 0.7603 MB / 0.5709 GB, free: 35.47 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004099/0.3337, allocations: 3.041 MB / 0.5739 GB, free: 33.85 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001309/0.335, allocations: 1.088 MB / 0.575 GB, free: 33.1 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.029e-05/0.3351, allocations: 15.86 kB / 0.575 GB, free: 33.09 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001137/0.3362, allocations: 0.6353 MB / 0.5756 GB, free: 32.85 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 2.164e-06/0.3362, allocations: 0 / 0.5756 GB, free: 32.85 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.01902/0.3553, allocations: 5.592 MB / 0.5811 GB, free: 31.83 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.3553, allocations: 85.42 kB / 0.5812 GB, free: 31.74 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007968/0.3561, allocations: 0.7075 MB / 0.5818 GB, free: 31.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.264e-05/0.3562, allocations: 36.05 kB / 0.5819 GB, free: 31.39 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002029/0.3564, allocations: 381.4 kB / 0.5822 GB, free: 31.09 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001727/0.3566, allocations: 226.3 kB / 0.5825 GB, free: 30.91 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.381e-05/0.3566, allocations: 14.25 kB / 0.5825 GB, free: 30.89 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.086e-05/0.3567, allocations: 326.3 kB / 0.5828 GB, free: 30.58 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009593/0.3577, allocations: 457.9 kB / 0.5832 GB, free: 30.44 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000966/0.3586, allocations: 0.5452 MB / 0.5838 GB, free: 30.18 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009574/0.3596, allocations: 484.2 kB / 0.5842 GB, free: 29.99 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.3596, allocations: 1.312 kB / 0.5842 GB, free: 29.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.009333/0.369, allocations: 3.151 MB / 0.5873 GB, free: 29.32 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.369, allocations: 11.27 kB / 0.5873 GB, free: 29.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.369, allocations: 3.156 kB / 0.5873 GB, free: 29.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004301/0.3733, allocations: 1.28 MB / 0.5886 GB, free: 29.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004806/0.3738, allocations: 101.4 kB / 0.5887 GB, free: 29.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01561/0.3894, allocations: 7.206 MB / 0.5957 GB, free: 25.74 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/0.3905, allocations: 142.9 kB / 0.5958 GB, free: 25.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.76e-05/0.3906, allocations: 22.91 kB / 0.5959 GB, free: 25.7 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 ($whenCondition1,$whenCondition2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {16 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003215/0.3909, allocations: 203.6 kB / 0.596 GB, free: 25.52 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/0.3911, allocations: 94.56 kB / 0.5961 GB, free: 25.47 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009838/0.4009, allocations: 3.189 MB / 0.5993 GB, free: 24.77 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.4009, allocations: 7.047 kB / 0.5993 GB, free: 24.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.4009, allocations: 2.906 kB / 0.5993 GB, free: 24.77 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.401, allocations: 3.969 kB / 0.5993 GB, free: 24.77 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01101/0.412, allocations: 4.402 MB / 0.6036 GB, free: 23.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.412, allocations: 0.5625 kB / 0.6036 GB, free: 23.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004218/0.4124, allocations: 87.38 kB / 0.6036 GB, free: 23.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004306/0.4167, allocations: 1.266 MB / 0.6049 GB, free: 22.97 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-05/0.4168, allocations: 13.5 kB / 0.6049 GB, free: 22.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01382/0.4307, allocations: 6.324 MB / 0.6111 GB, free: 19.93 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.4307, allocations: 11.88 kB / 0.6111 GB, free: 19.92 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01014/0.4408, allocations: 3.847 MB / 0.6148 GB, free: 16.93 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002708/0.4411, allocations: 181.7 kB / 0.615 GB, free: 16.74 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001406/0.4413, allocations: 12 kB / 0.615 GB, free: 16.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007991/0.4421, allocations: 104.9 kB / 0.6151 GB, free: 16.64 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003531/0.4424, allocations: 148.2 kB / 0.6153 GB, free: 16.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.944e-05/0.4425, allocations: 20 kB / 0.6153 GB, free: 16.48 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000531/0.443, allocations: 0.4912 MB / 0.6158 GB, free: 15.99 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.443, allocations: 0 / 0.6158 GB, free: 15.99 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008759/0.4439, allocations: 299.7 kB / 0.6161 GB, free: 15.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {17 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001489/0.4441, allocations: 113.7 kB / 0.6162 GB, free: 15.58 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003816/0.4479, allocations: 1.67 MB / 0.6178 GB, free: 13.89 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4479, allocations: 0 / 0.6178 GB, free: 13.89 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002823/0.4507, allocations: 1.174 MB / 0.6189 GB, free: 12.71 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004247/0.4512, allocations: 63.31 kB / 0.619 GB, free: 12.65 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00275/0.4539, allocations: 1.903 MB / 0.6209 GB, free: 10.75 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.4543, allocations: 0.996 MB / 0.6218 GB, free: 9.73 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002156/0.4545, allocations: 65.89 kB / 0.6219 GB, free: 9.664 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.4546, allocations: 47.42 kB / 0.6219 GB, free: 9.617 MB / 430.1 MB Notification: Performance of SimCode: time 3.5e-07/0.4547, allocations: 0 / 0.6219 GB, free: 9.617 MB / 430.1 MB Notification: Performance of Templates: time 0.01949/0.4741, allocations: 14.34 MB / 0.6359 GB, free: 11.45 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)