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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.004766/0.004766, allocations: 170.5 kB / 15.11 MB, free: 6.039 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.291/1.291, allocations: 223.2 MB / 239 MB, free: 1.777 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.0009305/0.0009304, allocations: 96.34 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4666/0.4666, allocations: 79.43 MB / 420.8 MB, free: 43.65 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003948/0.0003948, allocations: 8 kB / 0.489 GB, free: 2.047 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3696/0.37, allocations: 69.5 MB / 0.5569 GB, free: 39.24 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1231/0.4931, allocations: 97.58 MB / 0.6522 GB, free: 7.996 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002111/0.4934, allocations: 74.05 kB / 0.6523 GB, free: 7.926 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04996/0.5434, allocations: 18.73 MB / 0.6706 GB, free: 5.09 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.5434, allocations: 224 / 0.6706 GB, free: 5.09 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.904e-05/0.5434, allocations: 19.94 kB / 0.6706 GB, free: 5.07 MB / 474.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.003997/0.5475, allocations: 1.444 MB / 0.672 GB, free: 3.57 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.5475, allocations: 15.91 kB / 0.672 GB, free: 3.555 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001792/0.5493, allocations: 322.5 kB / 0.6723 GB, free: 3.238 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/0.5505, allocations: 0.5782 MB / 0.6729 GB, free: 2.621 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002873/0.5508, allocations: 209.8 kB / 0.6731 GB, free: 2.387 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/0.5509, allocations: 59.95 kB / 0.6731 GB, free: 2.328 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001593/0.5526, allocations: 0.811 MB / 0.6739 GB, free: 1.504 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.5526, allocations: 0 / 0.6739 GB, free: 1.504 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-05/0.5527, allocations: 23.94 kB / 0.6739 GB, free: 1.48 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.5527, allocations: 16 kB / 0.674 GB, free: 1.465 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001605/0.5543, allocations: 0.7547 MB / 0.6747 GB, free: 0.707 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004731/0.559, allocations: 2.734 MB / 0.6774 GB, free: 13.81 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001642/0.5607, allocations: 1.089 MB / 0.6784 GB, free: 12.61 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.69e-05/0.5608, allocations: 16.53 kB / 0.6784 GB, free: 12.59 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00126/0.562, allocations: 0.6349 MB / 0.6791 GB, free: 11.94 MB / 490.7 MB Notification: Performance of pre-optimization done (n=66): time 1.883e-06/0.5621, allocations: 0 / 0.6791 GB, free: 11.94 MB / 490.7 MB Notification: Performance of matching and sorting (n=66): time 0.01781/0.5799, allocations: 5.172 MB / 0.6841 GB, free: 6.734 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.274e-05/0.58, allocations: 89.61 kB / 0.6842 GB, free: 6.629 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009743/0.5809, allocations: 0.6097 MB / 0.6848 GB, free: 6.008 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.932e-05/0.5811, allocations: 37.7 kB / 0.6848 GB, free: 5.965 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002924/0.5814, allocations: 380.8 kB / 0.6852 GB, free: 5.59 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002747/0.5816, allocations: 236.6 kB / 0.6854 GB, free: 5.355 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.342e-05/0.5817, allocations: 8 kB / 0.6854 GB, free: 5.348 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.5818, allocations: 334 kB / 0.6857 GB, free: 5.016 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009821/0.5828, allocations: 449.1 kB / 0.6862 GB, free: 4.578 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/0.5838, allocations: 0.545 MB / 0.6867 GB, free: 3.992 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009796/0.5848, allocations: 490 kB / 0.6872 GB, free: 3.512 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.5849, allocations: 0 / 0.6872 GB, free: 3.512 MB / 490.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.009255/0.5941, allocations: 3.152 MB / 0.6903 GB, free: 356 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/0.5942, allocations: 12.31 kB / 0.6903 GB, free: 344 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.5942, allocations: 0 / 0.6903 GB, free: 344 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004286/0.5985, allocations: 1.294 MB / 0.6915 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005312/0.599, allocations: 99.88 kB / 0.6916 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01597/0.615, allocations: 7.189 MB / 0.6986 GB, free: 7.617 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/0.6161, allocations: 135.5 kB / 0.6988 GB, free: 7.484 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.953e-05/0.6162, allocations: 31.98 kB / 0.6988 GB, free: 7.453 MB / 0.4948 GB 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 {17 11} Notification: Performance of prepare postOptimizeDAE: time 0.000366/0.6166, allocations: 190.8 kB / 0.699 GB, free: 7.258 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.6167, allocations: 86.88 kB / 0.6991 GB, free: 7.172 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008897/0.6256, allocations: 3.154 MB / 0.7021 GB, free: 4.004 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.6257, allocations: 8 kB / 0.7022 GB, free: 3.996 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.6257, allocations: 0 / 0.7022 GB, free: 3.996 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.6257, allocations: 3.984 kB / 0.7022 GB, free: 3.992 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01034/0.636, allocations: 4.396 MB / 0.7065 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.431e-06/0.6361, allocations: 3.938 kB / 0.7065 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004174/0.6365, allocations: 83.89 kB / 0.7065 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003905/0.6404, allocations: 1.273 MB / 0.7078 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.459e-05/0.6405, allocations: 15.98 kB / 0.7078 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01323/0.6537, allocations: 6.315 MB / 0.714 GB, free: 7.633 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.6538, allocations: 4 kB / 0.714 GB, free: 7.629 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01006/0.6638, allocations: 3.842 MB / 0.7177 GB, free: 3.762 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003365/0.6642, allocations: 175.9 kB / 0.7179 GB, free: 3.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.6643, allocations: 16 kB / 0.7179 GB, free: 3.555 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007635/0.6651, allocations: 107.8 kB / 0.718 GB, free: 3.449 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003956/0.6655, allocations: 152.2 kB / 0.7182 GB, free: 3.297 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-05/0.6656, allocations: 16 kB / 0.7182 GB, free: 3.281 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006418/0.6662, allocations: 0.4951 MB / 0.7186 GB, free: 2.789 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6662, allocations: 0 / 0.7186 GB, free: 2.789 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009389/0.6672, allocations: 303.7 kB / 0.7189 GB, free: 2.492 MB / 0.5105 GB 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 {18 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002051/0.6674, allocations: 119.1 kB / 0.7191 GB, free: 2.367 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004082/0.6715, allocations: 1.687 MB / 0.7207 GB, free: 0.668 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.6715, allocations: 0 / 0.7207 GB, free: 0.668 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002961/0.6745, allocations: 1.19 MB / 0.7219 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005204/0.675, allocations: 55.31 kB / 0.7219 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003085/0.6781, allocations: 1.897 MB / 0.7238 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005401/0.6786, allocations: 0.9976 MB / 0.7247 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002337/0.6789, allocations: 48.56 kB / 0.7248 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/0.679, allocations: 39.42 kB / 0.7248 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of SimCode: time 6.71e-07/0.679, allocations: 0 / 0.7248 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of Templates: time 0.02044/0.6995, allocations: 14.3 MB / 0.7388 GB, free: 14.1 MB / 0.5417 GB 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)