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.0007914/0.0007914, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.31/1.31, allocations: 223.3 MB / 239 MB, free: 5.441 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.0009611/0.0009611, allocations: 180.3 kB / 290.3 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4937/0.4937, allocations: 91.91 MB / 433.3 MB, free: 10.34 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003624/0.0003626, allocations: 12 kB / 0.5042 GB, free: 7.582 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3023, allocations: 72.47 MB / 0.5749 GB, free: 36.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.003613/0.3059, allocations: 4.828 MB / 0.5796 GB, free: 33.77 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002167/0.3081, allocations: 1.37 MB / 0.581 GB, free: 32.79 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003996/0.3086, allocations: 7.781 kB / 0.581 GB, free: 32.79 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002938/0.3089, allocations: 121.1 kB / 0.5811 GB, free: 32.74 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005887/0.3095, allocations: 290.6 kB / 0.5814 GB, free: 32.54 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.3105, allocations: 0.5241 MB / 0.5819 GB, free: 32.25 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008787/0.3114, allocations: 0.96 MB / 0.5828 GB, free: 31.75 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003566/0.3118, allocations: 179.2 kB / 0.583 GB, free: 31.67 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005482/0.3123, allocations: 370.6 kB / 0.5834 GB, free: 31.51 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004922/0.3128, allocations: 481.2 kB / 0.5838 GB, free: 31.3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.823e-05/0.3129, allocations: 41.5 kB / 0.5838 GB, free: 31.3 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002386/0.3132, allocations: 96.58 kB / 0.5839 GB, free: 31.28 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.3133, allocations: 161.6 kB / 0.5841 GB, free: 31.19 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001383/0.3134, allocations: 173.7 kB / 0.5843 GB, free: 31.07 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005605/0.314, allocations: 0.79 MB / 0.585 GB, free: 30.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.314, allocations: 0.6562 kB / 0.585 GB, free: 30.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.314, allocations: 0 / 0.585 GB, free: 30.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.3141, allocations: 5.312 kB / 0.585 GB, free: 30.84 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.003743/0.3178, allocations: 1.648 MB / 0.5866 GB, free: 30.02 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.3178, allocations: 8.375 kB / 0.5867 GB, free: 30.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002343/0.3202, allocations: 448.3 kB / 0.5871 GB, free: 29.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007043/0.3209, allocations: 0.5972 MB / 0.5877 GB, free: 29.51 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001756/0.3211, allocations: 208.1 kB / 0.5879 GB, free: 29.33 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.053e-05/0.3212, allocations: 59.02 kB / 0.5879 GB, free: 29.31 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/0.3225, allocations: 0.8114 MB / 0.5887 GB, free: 29.01 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.3226, allocations: 0 / 0.5887 GB, free: 29.01 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.018e-05/0.3226, allocations: 21.56 kB / 0.5887 GB, free: 28.99 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.3226, allocations: 16.58 kB / 0.5887 GB, free: 28.99 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001377/0.324, allocations: 0.7586 MB / 0.5895 GB, free: 28.75 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00356/0.3276, allocations: 2.725 MB / 0.5922 GB, free: 27.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001279/0.3289, allocations: 1.086 MB / 0.5932 GB, free: 26.34 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008708/0.3298, allocations: 0.537 MB / 0.5937 GB, free: 26.13 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.924e-05/0.3299, allocations: 12.64 kB / 0.5937 GB, free: 26.12 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001099/0.331, allocations: 0.6368 MB / 0.5944 GB, free: 25.88 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 2.585e-06/0.331, allocations: 4 kB / 0.5944 GB, free: 25.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.01695/0.3479, allocations: 5.586 MB / 0.5998 GB, free: 24.86 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.348, allocations: 92.75 kB / 0.5999 GB, free: 24.76 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000992/0.349, allocations: 0.7022 MB / 0.6006 GB, free: 24.45 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001329/0.3492, allocations: 37 kB / 0.6006 GB, free: 24.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002918/0.3495, allocations: 384 kB / 0.601 GB, free: 24.11 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002831/0.3498, allocations: 231.2 kB / 0.6012 GB, free: 23.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.444e-05/0.3498, allocations: 10.06 kB / 0.6012 GB, free: 23.92 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.93e-05/0.3499, allocations: 331.9 kB / 0.6016 GB, free: 23.6 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009067/0.3508, allocations: 454 kB / 0.602 GB, free: 23.46 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008917/0.3517, allocations: 0.5536 MB / 0.6025 GB, free: 23.2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008759/0.3526, allocations: 477.9 kB / 0.603 GB, free: 23.02 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.3526, allocations: 2.453 kB / 0.603 GB, free: 23.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008249/0.3609, allocations: 3.146 MB / 0.6061 GB, free: 22.35 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/0.3609, allocations: 6.312 kB / 0.6061 GB, free: 22.35 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.3609, allocations: 7.406 kB / 0.6061 GB, free: 22.35 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003848/0.3648, allocations: 1.28 MB / 0.6073 GB, free: 22.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000452/0.3653, allocations: 105.5 kB / 0.6074 GB, free: 22.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01367/0.3789, allocations: 6.896 MB / 0.6142 GB, free: 18.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000952/0.3799, allocations: 142.9 kB / 0.6143 GB, free: 18.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.855e-05/0.38, allocations: 27.34 kB / 0.6143 GB, free: 18.79 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.0002984/0.3803, allocations: 195 kB / 0.6145 GB, free: 18.62 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.3804, allocations: 94.11 kB / 0.6146 GB, free: 18.57 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00814/0.3886, allocations: 3.191 MB / 0.6177 GB, free: 17.2 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.485e-06/0.3886, allocations: 8 kB / 0.6177 GB, free: 17.19 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3886, allocations: 4.75 kB / 0.6177 GB, free: 17.18 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/0.3886, allocations: 6.859 kB / 0.6177 GB, free: 17.18 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008215/0.3968, allocations: 4.4 MB / 0.622 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.261e-06/0.3969, allocations: 0 / 0.622 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003717/0.3973, allocations: 87.89 kB / 0.6221 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003202/0.4005, allocations: 1.269 MB / 0.6233 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-05/0.4005, allocations: 12 kB / 0.6234 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01037/0.4109, allocations: 6.015 MB / 0.6292 GB, free: 5.305 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.411, allocations: 4 kB / 0.6292 GB, free: 5.301 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008357/0.4193, allocations: 3.829 MB / 0.633 GB, free: 1.445 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002563/0.4196, allocations: 179.9 kB / 0.6331 GB, free: 1.25 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.4197, allocations: 12 kB / 0.6332 GB, free: 1.238 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006825/0.4204, allocations: 103.9 kB / 0.6333 GB, free: 1.137 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003819/0.4208, allocations: 152.3 kB / 0.6334 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.743e-05/0.4209, allocations: 16 kB / 0.6334 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004992/0.4214, allocations: 499 kB / 0.6339 GB, free: 500 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4214, allocations: 0 / 0.6339 GB, free: 500 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008752/0.4223, allocations: 295.7 kB / 0.6342 GB, free: 204 kB / 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.0001441/0.4224, allocations: 115.2 kB / 0.6343 GB, free: 80 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003887/0.4263, allocations: 1.675 MB / 0.6359 GB, free: 14.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4263, allocations: 0 / 0.6359 GB, free: 14.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002771/0.4291, allocations: 1.177 MB / 0.6371 GB, free: 13.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005861/0.4297, allocations: 83.3 kB / 0.6372 GB, free: 13.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002949/0.4327, allocations: 1.881 MB / 0.639 GB, free: 11.22 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004688/0.4332, allocations: 0.9748 MB / 0.6399 GB, free: 10.21 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002436/0.4334, allocations: 65.14 kB / 0.64 GB, free: 10.15 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.4336, allocations: 51.42 kB / 0.6401 GB, free: 10.1 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4336, allocations: 3.938 kB / 0.6401 GB, free: 10.09 MB / 446.1 MB Notification: Performance of Templates: time 0.02135/0.4549, allocations: 14.36 MB / 0.6541 GB, free: 11.74 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)