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.001616/0.001616, allocations: 174.3 kB / 16.07 MB, free: 5.727 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.59/1.59, allocations: 222.9 MB / 239.7 MB, free: 10.21 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007959/0.0007959, allocations: 97.52 kB / 290.5 MB, free: 11.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4437/0.4437, allocations: 78.42 MB / 419.6 MB, free: 9.777 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003695/0.0003696, allocations: 16.31 kB / 499.1 MB, free: 10.7 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3185, allocations: 68.74 MB / 0.5545 GB, free: 20.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.004701/0.3232, allocations: 5.534 MB / 0.5599 GB, free: 14.69 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003059/0.3263, allocations: 1.45 MB / 0.5613 GB, free: 13.23 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004399/0.3268, allocations: 8 kB / 0.5613 GB, free: 13.23 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004004/0.3272, allocations: 127.1 kB / 0.5614 GB, free: 13.1 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005924/0.3278, allocations: 278.1 kB / 0.5617 GB, free: 12.83 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.3289, allocations: 0.5946 MB / 0.5623 GB, free: 12.24 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006086/0.3296, allocations: 1.007 MB / 0.5633 GB, free: 11.23 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002531/0.3298, allocations: 200.1 kB / 0.5635 GB, free: 11.02 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002678/0.3301, allocations: 394 kB / 0.5638 GB, free: 10.63 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004218/0.3305, allocations: 497.5 kB / 0.5643 GB, free: 10.14 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.335e-05/0.3306, allocations: 36 kB / 0.5644 GB, free: 10.11 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001984/0.3308, allocations: 95.97 kB / 0.5644 GB, free: 10.02 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.903e-05/0.3309, allocations: 167.1 kB / 0.5646 GB, free: 9.852 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002292/0.3312, allocations: 421.2 kB / 0.565 GB, free: 9.438 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004691/0.3316, allocations: 0.8006 MB / 0.5658 GB, free: 8.637 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3316, allocations: 0 / 0.5658 GB, free: 8.637 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3317, allocations: 0 / 0.5658 GB, free: 8.637 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.3317, allocations: 0 / 0.5658 GB, free: 8.637 MB / 378.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.003916/0.3356, allocations: 1.585 MB / 0.5673 GB, free: 7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.3356, allocations: 12.03 kB / 0.5673 GB, free: 6.988 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002419/0.3381, allocations: 442.6 kB / 0.5678 GB, free: 6.555 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000742/0.3388, allocations: 0.6311 MB / 0.5684 GB, free: 5.883 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001776/0.339, allocations: 201.8 kB / 0.5686 GB, free: 5.656 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.445e-05/0.3391, allocations: 55.94 kB / 0.5686 GB, free: 5.602 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.3403, allocations: 0.7642 MB / 0.5694 GB, free: 4.824 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.3404, allocations: 0 / 0.5694 GB, free: 4.824 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.154e-05/0.3404, allocations: 35.94 kB / 0.5694 GB, free: 4.789 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.3405, allocations: 15.94 kB / 0.5694 GB, free: 4.773 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001266/0.3417, allocations: 0.6961 MB / 0.5701 GB, free: 4.078 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003657/0.3454, allocations: 2.679 MB / 0.5727 GB, free: 1.242 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.3467, allocations: 1.05 MB / 0.5737 GB, free: 80 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009555/0.3476, allocations: 495.2 kB / 0.5742 GB, free: 15.59 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.336e-05/0.3477, allocations: 8.547 kB / 0.5742 GB, free: 15.58 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001212/0.349, allocations: 0.5881 MB / 0.5748 GB, free: 14.97 MB / 394.7 MB Notification: Performance of pre-optimization done (n=66): time 2.435e-06/0.349, allocations: 0 / 0.5748 GB, free: 14.97 MB / 394.7 MB Notification: Performance of matching and sorting (n=66): time 0.01796/0.3669, allocations: 4.6 MB / 0.5793 GB, free: 10.34 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/0.367, allocations: 89.61 kB / 0.5794 GB, free: 10.23 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009414/0.368, allocations: 0.7118 MB / 0.5801 GB, free: 9.508 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.124e-05/0.3681, allocations: 41.73 kB / 0.5801 GB, free: 9.461 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002683/0.3684, allocations: 384.7 kB / 0.5805 GB, free: 9.082 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002241/0.3686, allocations: 220.7 kB / 0.5807 GB, free: 8.863 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.907e-05/0.3687, allocations: 53.69 kB / 0.5807 GB, free: 8.805 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.3688, allocations: 330 kB / 0.5811 GB, free: 8.477 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008689/0.3697, allocations: 405.1 kB / 0.5814 GB, free: 8.082 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009654/0.3706, allocations: 0.5059 MB / 0.5819 GB, free: 7.539 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001779/0.3724, allocations: 0.9159 MB / 0.5828 GB, free: 6.586 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.3725, allocations: 8 kB / 0.5828 GB, free: 6.578 MB / 394.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00834/0.3808, allocations: 2.59 MB / 0.5854 GB, free: 3.973 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.3809, allocations: 8 kB / 0.5854 GB, free: 3.965 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.3809, allocations: 7.938 kB / 0.5854 GB, free: 3.957 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003975/0.3848, allocations: 1.121 MB / 0.5865 GB, free: 2.836 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000433/0.3853, allocations: 95.89 kB / 0.5866 GB, free: 2.742 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01457/0.3999, allocations: 6.234 MB / 0.5927 GB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001204/0.4011, allocations: 115.6 kB / 0.5928 GB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00014/0.4013, allocations: 20 kB / 0.5928 GB, free: 12.23 MB / 410.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.0005575/0.4019, allocations: 197.7 kB / 0.593 GB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000303/0.4022, allocations: 94.86 kB / 0.5931 GB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008708/0.4109, allocations: 2.627 MB / 0.5956 GB, free: 9.285 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.4109, allocations: 4 kB / 0.5956 GB, free: 9.281 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.4109, allocations: 4 kB / 0.5956 GB, free: 9.277 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.411, allocations: 7.984 kB / 0.5956 GB, free: 9.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01019/0.4212, allocations: 3.83 MB / 0.5994 GB, free: 5.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/0.4212, allocations: 0 / 0.5994 GB, free: 5.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004033/0.4216, allocations: 83.89 kB / 0.5995 GB, free: 5.238 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003769/0.4254, allocations: 1.078 MB / 0.6005 GB, free: 4.156 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7e-05/0.4255, allocations: 12 kB / 0.6005 GB, free: 4.145 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0126/0.4381, allocations: 5.482 MB / 0.6059 GB, free: 14.53 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.4381, allocations: 0 / 0.6059 GB, free: 14.53 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009696/0.4478, allocations: 3.219 MB / 0.609 GB, free: 11.28 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003604/0.4483, allocations: 179.9 kB / 0.6092 GB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001919/0.4485, allocations: 12 kB / 0.6092 GB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008353/0.4493, allocations: 79.84 kB / 0.6093 GB, free: 11 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004932/0.4498, allocations: 144.3 kB / 0.6094 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.734e-05/0.4499, allocations: 19.98 kB / 0.6094 GB, free: 10.84 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007617/0.4507, allocations: 0.4912 MB / 0.6099 GB, free: 10.35 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4507, allocations: 0 / 0.6099 GB, free: 10.35 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001165/0.4518, allocations: 299.7 kB / 0.6102 GB, free: 10.05 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.0002257/0.4521, allocations: 115.1 kB / 0.6103 GB, free: 9.934 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004131/0.4562, allocations: 1.509 MB / 0.6118 GB, free: 8.414 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.4563, allocations: 0 / 0.6118 GB, free: 8.414 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002882/0.4591, allocations: 1.024 MB / 0.6128 GB, free: 7.383 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008596/0.46, allocations: 83.19 kB / 0.6129 GB, free: 7.301 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003694/0.4637, allocations: 1.93 MB / 0.6148 GB, free: 5.336 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006729/0.4644, allocations: 0.9825 MB / 0.6157 GB, free: 4.328 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002179/0.4646, allocations: 51.44 kB / 0.6158 GB, free: 4.281 MB / 426.7 MB Notification: Performance of SimCode: time 6.82e-07/0.4647, allocations: 0 / 0.6158 GB, free: 4.281 MB / 426.7 MB Notification: Performance of Templates: time 0.02098/0.4856, allocations: 14.13 MB / 0.6296 GB, free: 6.133 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)