Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL.Tests.FACTS.STATCOM_Test") translateModel(OpenIPSL.Tests.FACTS.STATCOM_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.001182/0.001188, allocations: 104 kB / 16.41 MB, free: 6.504 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.458/1.458, allocations: 222.9 MB / 240.1 MB, free: 4.367 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.00161/0.00161, allocations: 188.5 kB / 290.4 MB, free: 2.102 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4693/0.4693, allocations: 78.53 MB / 419.1 MB, free: 3.156 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 72.12 kB / 0.5542 GB, free: 1.008 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3885/0.3903, allocations: 68.18 MB / 0.6208 GB, free: 9.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.005174/0.3955, allocations: 5.226 MB / 0.6259 GB, free: 4.977 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002912/0.3985, allocations: 1.407 MB / 0.6273 GB, free: 3.566 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000847/0.3994, allocations: 8 kB / 0.6273 GB, free: 3.559 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000654/0.4, allocations: 170.5 kB / 0.6275 GB, free: 3.391 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001244/0.4013, allocations: 329.5 kB / 0.6278 GB, free: 3.066 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001265/0.4026, allocations: 0.6299 MB / 0.6284 GB, free: 2.441 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009642/0.4036, allocations: 1.062 MB / 0.6294 GB, free: 1.375 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003265/0.4039, allocations: 231.7 kB / 0.6297 GB, free: 1.137 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003446/0.4043, allocations: 446 kB / 0.6301 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005004/0.4048, allocations: 0.5211 MB / 0.6306 GB, free: 180 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.981e-05/0.4049, allocations: 76 kB / 0.6307 GB, free: 104 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002787/0.4052, allocations: 140 kB / 0.6308 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001746/0.4054, allocations: 206.9 kB / 0.631 GB, free: 15.76 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000379/0.4058, allocations: 473.2 kB / 0.6314 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001112/0.4069, allocations: 1.092 MB / 0.6325 GB, free: 14.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.4069, allocations: 0 / 0.6325 GB, free: 14.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.4069, allocations: 0 / 0.6325 GB, free: 14.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.4069, allocations: 0 / 0.6325 GB, free: 14.21 MB / 446.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.00509/0.412, allocations: 1.752 MB / 0.6342 GB, free: 12.4 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.4121, allocations: 8.031 kB / 0.6342 GB, free: 12.39 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002689/0.4148, allocations: 446.7 kB / 0.6347 GB, free: 11.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.4158, allocations: 0.6349 MB / 0.6353 GB, free: 11.28 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002495/0.4161, allocations: 201.8 kB / 0.6355 GB, free: 11.05 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.4162, allocations: 52 kB / 0.6355 GB, free: 11 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001589/0.4178, allocations: 0.7719 MB / 0.6363 GB, free: 10.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.4178, allocations: 4 kB / 0.6363 GB, free: 10.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.941e-05/0.4179, allocations: 24 kB / 0.6363 GB, free: 10.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.4179, allocations: 15.94 kB / 0.6363 GB, free: 10.17 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001524/0.4194, allocations: 0.6961 MB / 0.637 GB, free: 9.469 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004596/0.424, allocations: 2.672 MB / 0.6396 GB, free: 6.645 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001623/0.4257, allocations: 1.034 MB / 0.6406 GB, free: 5.496 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001014/0.4267, allocations: 495.1 kB / 0.6411 GB, free: 5.004 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.011e-05/0.4268, allocations: 12.55 kB / 0.6411 GB, free: 4.992 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001211/0.428, allocations: 0.5919 MB / 0.6417 GB, free: 4.383 MB / 446.1 MB Notification: Performance of pre-optimization done (n=66): time 2.404e-06/0.428, allocations: 3.938 kB / 0.6417 GB, free: 4.379 MB / 446.1 MB Notification: Performance of matching and sorting (n=66): time 0.01885/0.4469, allocations: 4.6 MB / 0.6462 GB, free: 15.74 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.547e-05/0.447, allocations: 85.67 kB / 0.6463 GB, free: 15.64 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/0.4482, allocations: 0.712 MB / 0.647 GB, free: 14.92 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001283/0.4484, allocations: 37.7 kB / 0.647 GB, free: 14.88 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003114/0.4487, allocations: 376.8 kB / 0.6473 GB, free: 14.5 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003398/0.449, allocations: 232.7 kB / 0.6476 GB, free: 14.27 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002587/0.4493, allocations: 102.2 kB / 0.6477 GB, free: 14.16 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.4495, allocations: 326 kB / 0.648 GB, free: 13.84 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009814/0.4504, allocations: 409.1 kB / 0.6484 GB, free: 13.44 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00105/0.4515, allocations: 0.5058 MB / 0.6489 GB, free: 12.9 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002022/0.4535, allocations: 0.916 MB / 0.6498 GB, free: 11.94 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.4536, allocations: 0 / 0.6498 GB, free: 11.94 MB / 462.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.009333/0.4629, allocations: 2.59 MB / 0.6523 GB, free: 9.34 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.511e-05/0.463, allocations: 8.312 kB / 0.6523 GB, free: 9.332 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/0.463, allocations: 7.938 kB / 0.6523 GB, free: 9.324 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004372/0.4674, allocations: 1.115 MB / 0.6534 GB, free: 8.207 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005305/0.4679, allocations: 99.81 kB / 0.6535 GB, free: 8.109 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01737/0.4853, allocations: 6.78 MB / 0.6601 GB, free: 1.18 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/0.4865, allocations: 111.5 kB / 0.6602 GB, free: 1.07 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001419/0.4867, allocations: 27.98 kB / 0.6602 GB, free: 1.043 MB / 462.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 ($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.0005073/0.4872, allocations: 201.6 kB / 0.6604 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003039/0.4875, allocations: 86.97 kB / 0.6605 GB, free: 0.75 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009322/0.4968, allocations: 2.623 MB / 0.6631 GB, free: 14.1 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.268e-05/0.4969, allocations: 8 kB / 0.6631 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.4969, allocations: 7.938 kB / 0.6631 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.347e-05/0.497, allocations: 7.984 kB / 0.6631 GB, free: 14.08 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01119/0.5082, allocations: 3.828 MB / 0.6668 GB, free: 10.13 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.521e-05/0.5082, allocations: 0 / 0.6668 GB, free: 10.13 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005379/0.5088, allocations: 75.89 kB / 0.6669 GB, free: 10.05 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004094/0.5129, allocations: 1.082 MB / 0.668 GB, free: 8.969 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001415/0.5131, allocations: 15.98 kB / 0.668 GB, free: 8.953 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01489/0.528, allocations: 6.004 MB / 0.6738 GB, free: 2.805 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.528, allocations: 4 kB / 0.6738 GB, free: 2.801 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01043/0.5384, allocations: 3.228 MB / 0.677 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003492/0.5388, allocations: 179.9 kB / 0.6772 GB, free: 15.35 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002741/0.5391, allocations: 8 kB / 0.6772 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000933/0.5401, allocations: 75.91 kB / 0.6773 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005171/0.5406, allocations: 144.4 kB / 0.6774 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.791e-05/0.5407, allocations: 24 kB / 0.6774 GB, free: 15.11 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008373/0.5416, allocations: 0.4951 MB / 0.6779 GB, free: 14.62 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5416, allocations: 0 / 0.6779 GB, free: 14.62 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001218/0.5428, allocations: 291.7 kB / 0.6782 GB, free: 14.33 MB / 494.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 (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.0002572/0.5431, allocations: 111.2 kB / 0.6783 GB, free: 14.21 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00445/0.5475, allocations: 1.537 MB / 0.6798 GB, free: 12.66 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.5476, allocations: 0 / 0.6798 GB, free: 12.66 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003191/0.5508, allocations: 1.057 MB / 0.6808 GB, free: 11.59 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008919/0.5517, allocations: 81.34 kB / 0.6809 GB, free: 11.52 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003748/0.5554, allocations: 1.636 MB / 0.6825 GB, free: 9.848 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006877/0.5562, allocations: 0.9748 MB / 0.6834 GB, free: 8.844 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002609/0.5564, allocations: 55.42 kB / 0.6835 GB, free: 8.789 MB / 494.1 MB Notification: Performance of SimCode: time 7.01e-07/0.5565, allocations: 0 / 0.6835 GB, free: 8.789 MB / 494.1 MB Notification: Performance of Templates: time 0.02402/0.5805, allocations: 14.28 MB / 0.6974 GB, free: 10.5 MB / 0.4981 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.sim & ./OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe 2>&1)