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.1255/0.1255, allocations: 12.6 MB / 28.1 MB, free: 0.832 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009704/0.0009706, allocations: 107.5 kB / 31.69 MB, free: 3.965 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.367/1.367, allocations: 205.1 MB / 240.3 MB, free: 12.43 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.001598/0.001598, allocations: 184.5 kB / 290.5 MB, free: 13.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.46/0.46, allocations: 78.5 MB / 419.2 MB, free: 11.37 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.002864/0.002864, allocations: 139.8 kB / 499.8 MB, free: 10.86 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3491, allocations: 68.11 MB / 0.5546 GB, free: 32.71 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.00605/0.3552, allocations: 5.281 MB / 0.5597 GB, free: 28.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00388/0.3591, allocations: 1.363 MB / 0.561 GB, free: 27.85 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009884/0.3602, allocations: 11.91 kB / 0.5611 GB, free: 27.85 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005081/0.3607, allocations: 163.1 kB / 0.5612 GB, free: 27.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008718/0.3616, allocations: 335.8 kB / 0.5615 GB, free: 27.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001471/0.363, allocations: 0.6353 MB / 0.5622 GB, free: 26.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001162/0.3642, allocations: 1.059 MB / 0.5632 GB, free: 26.3 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003925/0.3646, allocations: 230.4 kB / 0.5634 GB, free: 26.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005222/0.3651, allocations: 444.4 kB / 0.5638 GB, free: 25.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006595/0.3658, allocations: 0.5218 MB / 0.5643 GB, free: 25.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001523/0.366, allocations: 76.28 kB / 0.5644 GB, free: 25.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004354/0.3664, allocations: 145.3 kB / 0.5646 GB, free: 25.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001939/0.3666, allocations: 204.5 kB / 0.5647 GB, free: 25.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004548/0.3671, allocations: 472.4 kB / 0.5652 GB, free: 25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001276/0.3684, allocations: 1.067 MB / 0.5662 GB, free: 24.2 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.3684, allocations: 0 / 0.5662 GB, free: 24.2 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3684, allocations: 0 / 0.5662 GB, free: 24.2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.483e-05/0.3684, allocations: 1.125 kB / 0.5662 GB, free: 24.2 MB / 398.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.00523/0.3737, allocations: 1.768 MB / 0.568 GB, free: 23.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.3737, allocations: 11.98 kB / 0.568 GB, free: 23.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0027/0.3764, allocations: 449.1 kB / 0.5684 GB, free: 22.83 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.3774, allocations: 0.6201 MB / 0.569 GB, free: 22.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002421/0.3777, allocations: 199.3 kB / 0.5692 GB, free: 22.11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.3778, allocations: 58.17 kB / 0.5693 GB, free: 22.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.3794, allocations: 0.7729 MB / 0.57 GB, free: 21.63 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.3794, allocations: 0 / 0.57 GB, free: 21.63 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.707e-05/0.3795, allocations: 20.53 kB / 0.57 GB, free: 21.62 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.073e-05/0.3795, allocations: 16.53 kB / 0.5701 GB, free: 21.61 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001497/0.381, allocations: 0.7036 MB / 0.5707 GB, free: 21.28 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004466/0.3855, allocations: 2.682 MB / 0.5734 GB, free: 19.1 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001505/0.387, allocations: 1.032 MB / 0.5744 GB, free: 18.28 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000973/0.388, allocations: 489.3 kB / 0.5748 GB, free: 18.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.951e-05/0.3881, allocations: 19.48 kB / 0.5748 GB, free: 18.01 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001254/0.3894, allocations: 0.5895 MB / 0.5754 GB, free: 17.65 MB / 398.1 MB Notification: Performance of pre-optimization done (n=66): time 2.535e-06/0.3894, allocations: 0 / 0.5754 GB, free: 17.65 MB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.01736/0.4067, allocations: 4.601 MB / 0.5799 GB, free: 13.09 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.4068, allocations: 85.66 kB / 0.58 GB, free: 12.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009075/0.4077, allocations: 0.7119 MB / 0.5807 GB, free: 12.26 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.923e-05/0.4079, allocations: 37.69 kB / 0.5807 GB, free: 12.22 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001952/0.4081, allocations: 380.8 kB / 0.5811 GB, free: 11.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002148/0.4083, allocations: 232.6 kB / 0.5813 GB, free: 11.61 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001893/0.4085, allocations: 106.4 kB / 0.5814 GB, free: 11.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 5.852e-05/0.4085, allocations: 330 kB / 0.5817 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007999/0.4094, allocations: 409 kB / 0.5821 GB, free: 10.78 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008329/0.4102, allocations: 0.502 MB / 0.5826 GB, free: 10.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001619/0.4118, allocations: 0.9198 MB / 0.5835 GB, free: 9.277 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.4118, allocations: 0 / 0.5835 GB, free: 9.277 MB / 398.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.007915/0.4198, allocations: 2.586 MB / 0.586 GB, free: 6.676 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.4198, allocations: 4 kB / 0.586 GB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.4198, allocations: 11.92 kB / 0.5861 GB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00378/0.4236, allocations: 1.124 MB / 0.5871 GB, free: 5.535 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004817/0.4241, allocations: 99.88 kB / 0.5872 GB, free: 5.438 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01509/0.4392, allocations: 6.768 MB / 0.5939 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/0.4404, allocations: 115.5 kB / 0.594 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.897e-05/0.4405, allocations: 24 kB / 0.594 GB, free: 14.38 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.0003616/0.4408, allocations: 209.6 kB / 0.5942 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/0.441, allocations: 82.97 kB / 0.5943 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008886/0.4499, allocations: 2.63 MB / 0.5968 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/0.4499, allocations: 8 kB / 0.5968 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.4499, allocations: 7.938 kB / 0.5968 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.749e-05/0.45, allocations: 7.969 kB / 0.5969 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01059/0.4606, allocations: 3.826 MB / 0.6006 GB, free: 7.469 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/0.4606, allocations: 4 kB / 0.6006 GB, free: 7.465 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000471/0.4611, allocations: 79.89 kB / 0.6007 GB, free: 7.387 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004067/0.4652, allocations: 1.074 MB / 0.6017 GB, free: 6.309 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001064/0.4653, allocations: 19.98 kB / 0.6017 GB, free: 6.289 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01415/0.4795, allocations: 6.016 MB / 0.6076 GB, free: 132 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.4795, allocations: 0 / 0.6076 GB, free: 132 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01023/0.4897, allocations: 3.223 MB / 0.6108 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003965/0.4902, allocations: 179.8 kB / 0.6109 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.4903, allocations: 15.98 kB / 0.611 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008141/0.4911, allocations: 71.92 kB / 0.611 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004491/0.4916, allocations: 144.4 kB / 0.6112 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.187e-05/0.4916, allocations: 27.92 kB / 0.6112 GB, free: 12.43 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006195/0.4923, allocations: 0.4912 MB / 0.6117 GB, free: 11.94 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4923, allocations: 0 / 0.6117 GB, free: 11.94 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001042/0.4933, allocations: 295.7 kB / 0.6119 GB, free: 11.65 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.0002524/0.4936, allocations: 111.1 kB / 0.6121 GB, free: 11.53 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004563/0.4982, allocations: 1.56 MB / 0.6136 GB, free: 9.957 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.4982, allocations: 0 / 0.6136 GB, free: 9.957 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00304/0.5012, allocations: 1.064 MB / 0.6146 GB, free: 8.887 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006629/0.5019, allocations: 87.36 kB / 0.6147 GB, free: 8.805 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003211/0.5051, allocations: 1.613 MB / 0.6163 GB, free: 7.172 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005151/0.5057, allocations: 0.9709 MB / 0.6172 GB, free: 6.172 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002358/0.5059, allocations: 65.14 kB / 0.6173 GB, free: 6.105 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.5061, allocations: 55.42 kB / 0.6173 GB, free: 6.051 MB / 430.1 MB Notification: Performance of SimCode: time 5.62e-07/0.5061, allocations: 0 / 0.6173 GB, free: 6.051 MB / 430.1 MB Notification: Performance of Templates: time 0.02673/0.5328, allocations: 16.88 MB / 0.6338 GB, free: 5.184 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 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe 2>&1)