Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.FACTS.STATCOM_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test") translateModel(OpenIPSL.Tests.FACTS.STATCOM_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001224/0.001224, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.242/1.242, allocations: 205.2 MB / 218.5 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007874/0.0007875, allocations: 86.59 kB / 266.6 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06688/0.06688, allocations: 12.59 MB / 327.3 MB, free: 12.48 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2869/0.2869, allocations: 78.02 MB / 456.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.534e-05/2.537e-05, allocations: 8 kB / 0.5218 GB, free: 23.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09503/0.09507, allocations: 69.34 MB / 0.5895 GB, free: 2.488 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3446/0.4397, allocations: 98.46 MB / 0.6856 GB, free: 0.957 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001945/0.4399, allocations: 72.22 kB / 0.6857 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0496/0.4895, allocations: 17.91 MB / 0.7032 GB, free: 1.797 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4896, allocations: 0 / 0.7032 GB, free: 1.797 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.39e-05/0.4896, allocations: 15.94 kB / 0.7032 GB, free: 1.781 MB / 442.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.003105/0.4927, allocations: 1.265 MB / 0.7044 GB, free: 0.5508 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.4928, allocations: 15.98 kB / 0.7045 GB, free: 0.5352 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001693/0.4945, allocations: 323.2 kB / 0.7048 GB, free: 248 kB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009925/0.4955, allocations: 0.5814 MB / 0.7053 GB, free: 15.72 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002511/0.4957, allocations: 208.1 kB / 0.7055 GB, free: 15.5 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.4959, allocations: 57.81 kB / 0.7056 GB, free: 15.46 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.4969, allocations: 0.6463 MB / 0.7062 GB, free: 15.04 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.497, allocations: 0 / 0.7062 GB, free: 15.04 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.866e-05/0.497, allocations: 21.44 kB / 0.7062 GB, free: 15.03 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.4971, allocations: 12 kB / 0.7062 GB, free: 15.02 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009462/0.498, allocations: 0.5603 MB / 0.7068 GB, free: 14.66 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004386/0.5024, allocations: 2.735 MB / 0.7095 GB, free: 12.43 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/0.5035, allocations: 0.9308 MB / 0.7104 GB, free: 11.6 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005339/0.504, allocations: 374 kB / 0.7107 GB, free: 11.39 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.105e-05/0.5041, allocations: 8.547 kB / 0.7107 GB, free: 11.39 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007416/0.5049, allocations: 0.4893 MB / 0.7112 GB, free: 11.04 MB / 458.7 MB Notification: Performance of pre-optimization done (n=66): time 2.184e-06/0.5049, allocations: 0 / 0.7112 GB, free: 11.04 MB / 458.7 MB Notification: Performance of matching and sorting (n=66): time 0.008235/0.5131, allocations: 2.643 MB / 0.7138 GB, free: 8.742 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.5132, allocations: 81.67 kB / 0.7139 GB, free: 8.645 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007061/0.5139, allocations: 0.6062 MB / 0.7145 GB, free: 8.172 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.607e-05/0.514, allocations: 37.45 kB / 0.7145 GB, free: 8.137 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002049/0.5142, allocations: 393.1 kB / 0.7149 GB, free: 7.91 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001989/0.5144, allocations: 228.1 kB / 0.7151 GB, free: 7.715 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.507e-05/0.5145, allocations: 14.19 kB / 0.7151 GB, free: 7.711 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.7e-05/0.5146, allocations: 328.4 kB / 0.7154 GB, free: 7.395 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004748/0.5151, allocations: 294.9 kB / 0.7157 GB, free: 7.234 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005351/0.5156, allocations: 403.5 kB / 0.7161 GB, free: 6.941 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005092/0.5161, allocations: 323.4 kB / 0.7164 GB, free: 6.754 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.5161, allocations: 0 / 0.7164 GB, free: 6.754 MB / 458.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008406/0.5245, allocations: 2.731 MB / 0.7191 GB, free: 4.391 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.5246, allocations: 7.125 kB / 0.7191 GB, free: 4.387 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.5246, allocations: 4 kB / 0.7191 GB, free: 4.383 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003635/0.5282, allocations: 1.069 MB / 0.7201 GB, free: 3.465 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004387/0.5287, allocations: 107.5 kB / 0.7202 GB, free: 3.363 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01031/0.539, allocations: 5.4 MB / 0.7255 GB, free: 15.46 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009936/0.54, allocations: 148.9 kB / 0.7256 GB, free: 15.33 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.009e-05/0.5401, allocations: 22.5 kB / 0.7257 GB, free: 15.31 MB / 474.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 ($whenCondition1,$whenCondition2) * Number of discrete 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.0001642/0.5403, allocations: 140.3 kB / 0.7258 GB, free: 15.19 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001466/0.5404, allocations: 94.83 kB / 0.7259 GB, free: 15.09 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008127/0.5486, allocations: 2.722 MB / 0.7285 GB, free: 12.79 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.5486, allocations: 8 kB / 0.7285 GB, free: 12.78 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.5486, allocations: 0 / 0.7285 GB, free: 12.78 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.5486, allocations: 3.938 kB / 0.7286 GB, free: 12.78 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009458/0.5581, allocations: 3.969 MB / 0.7324 GB, free: 9.375 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.5581, allocations: 3.953 kB / 0.7324 GB, free: 9.371 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004341/0.5586, allocations: 87.27 kB / 0.7325 GB, free: 9.289 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003452/0.562, allocations: 1.044 MB / 0.7335 GB, free: 8.391 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.702e-05/0.5621, allocations: 21.48 kB / 0.7336 GB, free: 8.379 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0092/0.5713, allocations: 4.815 MB / 0.7383 GB, free: 4.848 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5714, allocations: 0 / 0.7383 GB, free: 4.848 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009456/0.5808, allocations: 3.256 MB / 0.7414 GB, free: 1.762 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002883/0.5812, allocations: 187.8 kB / 0.7416 GB, free: 1.559 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.5813, allocations: 12 kB / 0.7416 GB, free: 1.547 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008365/0.5821, allocations: 103.9 kB / 0.7417 GB, free: 1.445 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004259/0.5826, allocations: 148.3 kB / 0.7419 GB, free: 1.301 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-05/0.5826, allocations: 16 kB / 0.7419 GB, free: 1.285 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006088/0.5832, allocations: 487.2 kB / 0.7423 GB, free: 0.8125 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5833, allocations: 4 kB / 0.7423 GB, free: 0.8086 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008807/0.5841, allocations: 307.7 kB / 0.7426 GB, free: 0.5078 MB / 474.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 () * 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.0001942/0.5843, allocations: 119.1 kB / 0.7428 GB, free: 388 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003363/0.5877, allocations: 1.349 MB / 0.7441 GB, free: 15.02 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.5877, allocations: 128 / 0.7441 GB, free: 15.02 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002754/0.5905, allocations: 1.023 MB / 0.7451 GB, free: 13.98 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004016/0.5909, allocations: 63.25 kB / 0.7451 GB, free: 13.92 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002456/0.5934, allocations: 1.208 MB / 0.7463 GB, free: 12.69 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004727/0.5939, allocations: 0.9972 MB / 0.7473 GB, free: 11.66 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002305/0.5941, allocations: 52.55 kB / 0.7473 GB, free: 11.61 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/0.5943, allocations: 39.42 kB / 0.7474 GB, free: 11.57 MB / 490.7 MB Notification: Performance of SimCode: time 9.01e-07/0.5943, allocations: 0 / 0.7474 GB, free: 11.57 MB / 490.7 MB Notification: Performance of Templates: time 0.02129/0.6156, allocations: 14.27 MB / 0.7613 GB, free: 13.31 MB / 0.4948 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe 2>&1)