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/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+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 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 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08314/0.08314, allocations: 12.61 MB / 28.86 MB, free: 244 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 115.4 kB / 32.46 MB, free: 3.395 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.464/1.464, allocations: 205.1 MB / 241 MB, free: 12.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 195.3 kB / 291.3 MB, free: 10.97 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4431/0.4431, allocations: 78.51 MB / 419.9 MB, free: 10.78 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002587/0.002587, allocations: 131.8 kB / 0.4895 GB, free: 9.441 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3364, allocations: 68.12 MB / 0.556 GB, free: 21.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.008325/0.3448, allocations: 5.286 MB / 0.5611 GB, free: 15.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004411/0.3493, allocations: 1.373 MB / 0.5625 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009683/0.3503, allocations: 8 kB / 0.5625 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008268/0.3512, allocations: 162.5 kB / 0.5627 GB, free: 14.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001758/0.353, allocations: 337.5 kB / 0.563 GB, free: 14.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002408/0.3554, allocations: 0.6379 MB / 0.5636 GB, free: 13.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001769/0.3572, allocations: 1.062 MB / 0.5646 GB, free: 12.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000546/0.3578, allocations: 223.7 kB / 0.5648 GB, free: 12.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007278/0.3585, allocations: 450 kB / 0.5653 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009874/0.3595, allocations: 0.5211 MB / 0.5658 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002235/0.3598, allocations: 76 kB / 0.5659 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004818/0.3603, allocations: 143.9 kB / 0.566 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002421/0.3606, allocations: 203.1 kB / 0.5662 GB, free: 10.78 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006233/0.3612, allocations: 473.2 kB / 0.5666 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00149/0.3627, allocations: 1.08 MB / 0.5677 GB, free: 9.238 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.3627, allocations: 4 kB / 0.5677 GB, free: 9.234 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.3628, allocations: 0 / 0.5677 GB, free: 9.234 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.555e-05/0.3628, allocations: 0 / 0.5677 GB, free: 9.234 MB / 382.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.0089/0.3717, allocations: 1.768 MB / 0.5694 GB, free: 7.414 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.798e-05/0.3718, allocations: 11.98 kB / 0.5694 GB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005705/0.3775, allocations: 442.6 kB / 0.5699 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002021/0.3796, allocations: 0.6389 MB / 0.5705 GB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000359/0.38, allocations: 197.8 kB / 0.5707 GB, free: 6.062 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002252/0.3802, allocations: 55.91 kB / 0.5707 GB, free: 6.008 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002668/0.3829, allocations: 0.7681 MB / 0.5715 GB, free: 5.227 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.489e-05/0.383, allocations: 0 / 0.5715 GB, free: 5.227 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/0.3831, allocations: 20 kB / 0.5715 GB, free: 5.207 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.917e-05/0.3831, allocations: 15.94 kB / 0.5715 GB, free: 5.191 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002389/0.3855, allocations: 0.7 MB / 0.5722 GB, free: 4.492 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007406/0.393, allocations: 2.664 MB / 0.5748 GB, free: 1.676 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002449/0.3954, allocations: 1.04 MB / 0.5758 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001643/0.3971, allocations: 487.2 kB / 0.5763 GB, free: 44 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000115/0.3973, allocations: 8.562 kB / 0.5763 GB, free: 36 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002306/0.3996, allocations: 0.5959 MB / 0.5769 GB, free: 15.42 MB / 398.1 MB Notification: Performance of pre-optimization done (n=66): time 6.802e-06/0.3996, allocations: 0 / 0.5769 GB, free: 15.42 MB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.03184/0.4315, allocations: 4.604 MB / 0.5814 GB, free: 10.79 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.441e-05/0.4316, allocations: 81.67 kB / 0.5814 GB, free: 10.68 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001654/0.4333, allocations: 0.7119 MB / 0.5821 GB, free: 9.961 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001976/0.4335, allocations: 33.7 kB / 0.5822 GB, free: 9.922 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004499/0.434, allocations: 384.8 kB / 0.5825 GB, free: 9.543 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004233/0.4344, allocations: 224.6 kB / 0.5827 GB, free: 9.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003861/0.4348, allocations: 110.3 kB / 0.5829 GB, free: 9.207 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.435, allocations: 326 kB / 0.5832 GB, free: 8.883 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001699/0.4367, allocations: 405.1 kB / 0.5835 GB, free: 8.488 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001827/0.4386, allocations: 0.5058 MB / 0.584 GB, free: 7.941 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003497/0.4421, allocations: 0.9198 MB / 0.5849 GB, free: 6.984 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/0.4421, allocations: 0 / 0.5849 GB, free: 6.984 MB / 398.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0154/0.4576, allocations: 2.594 MB / 0.5875 GB, free: 4.375 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.655e-05/0.4576, allocations: 4 kB / 0.5875 GB, free: 4.371 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-05/0.4577, allocations: 7.938 kB / 0.5875 GB, free: 4.363 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00721/0.4649, allocations: 1.124 MB / 0.5886 GB, free: 3.238 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007567/0.4657, allocations: 95.88 kB / 0.5887 GB, free: 3.145 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02236/0.4881, allocations: 6.764 MB / 0.5953 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/0.4892, allocations: 111.5 kB / 0.5954 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001301/0.4894, allocations: 31.97 kB / 0.5954 GB, free: 12.09 MB / 414.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.0004219/0.4898, allocations: 206.6 kB / 0.5956 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002297/0.4901, allocations: 82.97 kB / 0.5957 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008467/0.4985, allocations: 2.626 MB / 0.5983 GB, free: 9.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/0.4986, allocations: 11.94 kB / 0.5983 GB, free: 9.148 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4986, allocations: 7.875 kB / 0.5983 GB, free: 9.141 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/0.4986, allocations: 3.984 kB / 0.5983 GB, free: 9.137 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01015/0.5088, allocations: 3.828 MB / 0.602 GB, free: 5.184 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.519e-05/0.5089, allocations: 7.984 kB / 0.602 GB, free: 5.176 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000464/0.5093, allocations: 75.89 kB / 0.6021 GB, free: 5.102 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00378/0.5131, allocations: 1.074 MB / 0.6031 GB, free: 4.023 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001114/0.5133, allocations: 20 kB / 0.6032 GB, free: 4.004 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01371/0.527, allocations: 6.004 MB / 0.609 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.527, allocations: 0 / 0.609 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009488/0.5365, allocations: 3.224 MB / 0.6122 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000361/0.5369, allocations: 183.8 kB / 0.6124 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000203/0.5371, allocations: 12 kB / 0.6124 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008564/0.538, allocations: 75.92 kB / 0.6124 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005139/0.5385, allocations: 148.3 kB / 0.6126 GB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.292e-05/0.5386, allocations: 16 kB / 0.6126 GB, free: 10.16 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007488/0.5394, allocations: 0.4951 MB / 0.6131 GB, free: 9.664 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.5394, allocations: 4 kB / 0.6131 GB, free: 9.66 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001014/0.5404, allocations: 291.8 kB / 0.6134 GB, free: 9.375 MB / 430.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.0002116/0.5406, allocations: 111.1 kB / 0.6135 GB, free: 9.254 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004189/0.5448, allocations: 1.54 MB / 0.615 GB, free: 7.699 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.5449, allocations: 0 / 0.615 GB, free: 7.699 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002981/0.5478, allocations: 1.068 MB / 0.616 GB, free: 6.625 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007645/0.5486, allocations: 75.31 kB / 0.6161 GB, free: 6.555 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003713/0.5523, allocations: 1.593 MB / 0.6176 GB, free: 4.938 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007755/0.5531, allocations: 0.9748 MB / 0.6186 GB, free: 3.934 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002817/0.5534, allocations: 65.12 kB / 0.6187 GB, free: 3.867 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001715/0.5536, allocations: 55.42 kB / 0.6187 GB, free: 3.812 MB / 430.1 MB Notification: Performance of SimCode: time 1.062e-06/0.5536, allocations: 4 kB / 0.6187 GB, free: 3.809 MB / 430.1 MB Notification: Performance of Templates: time 0.02984/0.5835, allocations: 16.88 MB / 0.6352 GB, free: 2.934 MB / 446.1 MB 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 -s cvode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe 2>&1)