Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.FACTS.STATCOM_Test.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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_release_OpenIPSL.Tests.FACTS.STATCOM_Test") translateModel(OpenIPSL.Tests.FACTS.STATCOM_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.FACTS.STATCOM_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008431/0.0008432, allocations: 180.5 kB / 15.45 MB, free: 6.23 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.237/1.237, allocations: 223.3 MB / 239.5 MB, free: 1.605 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007549/0.000755, allocations: 103 kB / 290.7 MB, free: 13.8 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4929/0.4929, allocations: 78.62 MB / 420.4 MB, free: 44.11 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003333/0.0003333, allocations: 11.94 kB / 0.4888 GB, free: 2.559 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.314, allocations: 69.34 MB / 0.5565 GB, free: 39.12 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.004108/0.3182, allocations: 5.103 MB / 0.5615 GB, free: 37.09 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002055/0.3202, allocations: 1.431 MB / 0.5629 GB, free: 36.5 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002619/0.3205, allocations: 8.594 kB / 0.5629 GB, free: 36.5 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003041/0.3208, allocations: 126 kB / 0.563 GB, free: 36.46 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005274/0.3214, allocations: 281 kB / 0.5633 GB, free: 36.31 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.3225, allocations: 0.5887 MB / 0.5638 GB, free: 36.14 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009846/0.3235, allocations: 1.009 MB / 0.5648 GB, free: 35.88 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003965/0.3239, allocations: 200.3 kB / 0.565 GB, free: 35.84 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005816/0.3245, allocations: 393.7 kB / 0.5654 GB, free: 35.71 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007117/0.3252, allocations: 490.2 kB / 0.5659 GB, free: 35.57 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.3253, allocations: 39.28 kB / 0.5659 GB, free: 35.57 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002822/0.3256, allocations: 97.92 kB / 0.566 GB, free: 35.57 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001951/0.3258, allocations: 165.2 kB / 0.5662 GB, free: 35.51 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004276/0.3262, allocations: 452.2 kB / 0.5666 GB, free: 35.26 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008216/0.3271, allocations: 1.021 MB / 0.5676 GB, free: 34.88 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.3271, allocations: 0 / 0.5676 GB, free: 34.88 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3271, allocations: 0 / 0.5676 GB, free: 34.88 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.3271, allocations: 1 kB / 0.5676 GB, free: 34.88 MB / 426.7 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.004075/0.3312, allocations: 1.631 MB / 0.5692 GB, free: 34.05 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.3312, allocations: 12.06 kB / 0.5692 GB, free: 34.05 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002333/0.3336, allocations: 453.5 kB / 0.5696 GB, free: 33.95 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007477/0.3343, allocations: 0.6299 MB / 0.5702 GB, free: 33.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001821/0.3345, allocations: 207.7 kB / 0.5704 GB, free: 33.32 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.102e-05/0.3346, allocations: 53.34 kB / 0.5705 GB, free: 33.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/0.3359, allocations: 0.8258 MB / 0.5713 GB, free: 32.99 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.3359, allocations: 0 / 0.5713 GB, free: 32.99 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.914e-05/0.336, allocations: 21.56 kB / 0.5713 GB, free: 32.97 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.336, allocations: 19.78 kB / 0.5713 GB, free: 32.96 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001341/0.3373, allocations: 0.7609 MB / 0.5721 GB, free: 32.74 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003638/0.341, allocations: 2.729 MB / 0.5747 GB, free: 31.07 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001267/0.3423, allocations: 1.091 MB / 0.5758 GB, free: 30.31 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008352/0.3431, allocations: 0.5312 MB / 0.5763 GB, free: 30.11 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.558e-05/0.3432, allocations: 8.969 kB / 0.5763 GB, free: 30.11 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001065/0.3443, allocations: 0.6451 MB / 0.577 GB, free: 29.86 MB / 426.7 MB Notification: Performance of pre-optimization done (n=66): time 2.024e-06/0.3443, allocations: 0 / 0.577 GB, free: 29.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=66): time 0.01655/0.3608, allocations: 5.615 MB / 0.5824 GB, free: 28.83 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.3609, allocations: 92.81 kB / 0.5825 GB, free: 28.73 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008187/0.3618, allocations: 0.7102 MB / 0.5832 GB, free: 28.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.558e-05/0.3618, allocations: 43.66 kB / 0.5833 GB, free: 28.38 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001847/0.362, allocations: 378.8 kB / 0.5836 GB, free: 28.08 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001741/0.3622, allocations: 223.5 kB / 0.5838 GB, free: 27.91 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.5e-05/0.3623, allocations: 55.17 kB / 0.5839 GB, free: 27.87 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.211e-05/0.3623, allocations: 330.3 kB / 0.5842 GB, free: 27.55 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008066/0.3631, allocations: 456.2 kB / 0.5846 GB, free: 27.41 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008319/0.364, allocations: 0.5601 MB / 0.5852 GB, free: 27.15 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001625/0.3656, allocations: 1.017 MB / 0.5862 GB, free: 26.69 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.3656, allocations: 0 / 0.5862 GB, free: 26.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.007807/0.3735, allocations: 3.16 MB / 0.5893 GB, free: 26.01 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.3735, allocations: 6.344 kB / 0.5893 GB, free: 26.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.3735, allocations: 7 kB / 0.5893 GB, free: 26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003844/0.3774, allocations: 1.306 MB / 0.5906 GB, free: 25.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004386/0.3778, allocations: 102.9 kB / 0.5907 GB, free: 25.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01378/0.3916, allocations: 6.867 MB / 0.5974 GB, free: 22.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000901/0.3925, allocations: 135.7 kB / 0.5975 GB, free: 22.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.349e-05/0.3926, allocations: 25.66 kB / 0.5975 GB, free: 22.49 MB / 426.7 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.0003118/0.3929, allocations: 206.9 kB / 0.5977 GB, free: 22.31 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/0.3931, allocations: 89 kB / 0.5978 GB, free: 22.27 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00861/0.4017, allocations: 3.195 MB / 0.6009 GB, free: 21.56 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/0.4017, allocations: 12.12 kB / 0.6009 GB, free: 21.56 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.4018, allocations: 0 / 0.6009 GB, free: 21.56 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.438e-05/0.4018, allocations: 8.531 kB / 0.6009 GB, free: 21.55 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01071/0.4125, allocations: 4.4 MB / 0.6052 GB, free: 20 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.246e-06/0.4125, allocations: 4 kB / 0.6052 GB, free: 20 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004317/0.413, allocations: 85.92 kB / 0.6053 GB, free: 19.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004046/0.417, allocations: 1.259 MB / 0.6066 GB, free: 19.77 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.203e-05/0.4171, allocations: 13.12 kB / 0.6066 GB, free: 19.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01225/0.4294, allocations: 6.032 MB / 0.6125 GB, free: 15.78 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.4294, allocations: 0 / 0.6125 GB, free: 15.78 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008938/0.4384, allocations: 3.849 MB / 0.6162 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000286/0.4387, allocations: 171.9 kB / 0.6164 GB, free: 12.08 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000143/0.4388, allocations: 16 kB / 0.6164 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007156/0.4396, allocations: 115.8 kB / 0.6165 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00039/0.44, allocations: 140.3 kB / 0.6166 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.624e-05/0.44, allocations: 16 kB / 0.6167 GB, free: 11.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005072/0.4405, allocations: 0.4951 MB / 0.6171 GB, free: 11.31 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4405, allocations: 0 / 0.6171 GB, free: 11.31 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008593/0.4414, allocations: 295.7 kB / 0.6174 GB, free: 11.02 MB / 426.7 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.0001463/0.4416, allocations: 115.1 kB / 0.6175 GB, free: 10.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003583/0.4452, allocations: 1.688 MB / 0.6192 GB, free: 9.195 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.4452, allocations: 8.125 kB / 0.6192 GB, free: 9.188 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002477/0.4477, allocations: 1.172 MB / 0.6203 GB, free: 8.008 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005913/0.4483, allocations: 80.64 kB / 0.6204 GB, free: 7.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002547/0.4508, allocations: 1.988 MB / 0.6223 GB, free: 5.914 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.4511, allocations: 0.9747 MB / 0.6233 GB, free: 4.914 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002132/0.4514, allocations: 65.14 kB / 0.6234 GB, free: 4.848 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.4515, allocations: 51.36 kB / 0.6234 GB, free: 4.801 MB / 426.7 MB Notification: Performance of SimCode: time 6.01e-07/0.4515, allocations: 4 kB / 0.6234 GB, free: 4.797 MB / 426.7 MB Notification: Performance of Templates: time 0.02157/0.4731, allocations: 14.78 MB / 0.6378 GB, free: 6.039 MB / 442.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.FACTS.STATCOM_Test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.FACTS.STATCOM_Test.sim & ./OpenIPSL_release_OpenIPSL.Tests.FACTS.STATCOM_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe 2>&1)