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.001074/0.001074, allocations: 110.9 kB / 16.37 MB, free: 6.469 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.307/1.307, allocations: 222.9 MB / 240 MB, free: 4.57 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.001325/0.001325, allocations: 188.4 kB / 290.3 MB, free: 2.293 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4903/0.4903, allocations: 78.53 MB / 419 MB, free: 3.184 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 83.86 kB / 498.9 MB, free: 5.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1149, allocations: 68.17 MB / 0.5538 GB, free: 1.492 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.1908/0.3058, allocations: 5.239 MB / 0.5589 GB, free: 36.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002348/0.3081, allocations: 1.403 MB / 0.5603 GB, free: 36.27 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003256/0.3085, allocations: 6.625 kB / 0.5603 GB, free: 36.27 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003765/0.3089, allocations: 160.4 kB / 0.5604 GB, free: 36.27 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005618/0.3095, allocations: 332.3 kB / 0.5607 GB, free: 36.22 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.3105, allocations: 0.6377 MB / 0.5614 GB, free: 36.09 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007614/0.3113, allocations: 1.063 MB / 0.5624 GB, free: 36.04 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002997/0.3116, allocations: 230.2 kB / 0.5626 GB, free: 36 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003621/0.312, allocations: 440 kB / 0.563 GB, free: 35.9 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000496/0.3125, allocations: 0.5263 MB / 0.5635 GB, free: 35.77 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.014e-05/0.3126, allocations: 79.31 kB / 0.5636 GB, free: 35.77 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002128/0.3128, allocations: 138.4 kB / 0.5638 GB, free: 35.77 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.313, allocations: 204.5 kB / 0.564 GB, free: 35.72 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002783/0.3132, allocations: 470.6 kB / 0.5644 GB, free: 35.56 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007012/0.3139, allocations: 1.081 MB / 0.5655 GB, free: 35.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.314, allocations: 4.5 kB / 0.5655 GB, free: 35.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.314, allocations: 0 / 0.5655 GB, free: 35.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.314, allocations: 2.469 kB / 0.5655 GB, free: 35.32 MB / 430.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.00423/0.3182, allocations: 1.755 MB / 0.5672 GB, free: 34.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.951e-05/0.3183, allocations: 9.5 kB / 0.5672 GB, free: 34.59 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002462/0.3207, allocations: 443.6 kB / 0.5676 GB, free: 34.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007947/0.3215, allocations: 0.6341 MB / 0.5682 GB, free: 34.19 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001748/0.3217, allocations: 200 kB / 0.5684 GB, free: 34.04 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.032e-05/0.3218, allocations: 53.41 kB / 0.5685 GB, free: 34.04 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.323, allocations: 0.7731 MB / 0.5692 GB, free: 33.97 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.3231, allocations: 3.938 kB / 0.5692 GB, free: 33.96 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.765e-05/0.3231, allocations: 22 kB / 0.5692 GB, free: 33.96 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.3232, allocations: 17.75 kB / 0.5693 GB, free: 33.96 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001371/0.3245, allocations: 0.6986 MB / 0.5699 GB, free: 33.96 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003682/0.3282, allocations: 2.666 MB / 0.5726 GB, free: 32.99 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001311/0.3295, allocations: 1.036 MB / 0.5736 GB, free: 32.46 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008039/0.3304, allocations: 491.5 kB / 0.574 GB, free: 32.44 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.529e-05/0.3305, allocations: 7.125 kB / 0.574 GB, free: 32.44 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009619/0.3314, allocations: 0.5926 MB / 0.5746 GB, free: 32.37 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 1.914e-06/0.3314, allocations: 3.969 kB / 0.5746 GB, free: 32.37 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.01634/0.3478, allocations: 4.606 MB / 0.5791 GB, free: 32.02 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/0.3478, allocations: 88.45 kB / 0.5792 GB, free: 31.92 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006765/0.3485, allocations: 0.7088 MB / 0.5799 GB, free: 31.77 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.258e-05/0.3486, allocations: 33.7 kB / 0.5799 GB, free: 31.73 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.3487, allocations: 383.4 kB / 0.5803 GB, free: 31.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/0.3489, allocations: 222.5 kB / 0.5805 GB, free: 31.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001926/0.3491, allocations: 109 kB / 0.5806 GB, free: 31.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.517e-05/0.3491, allocations: 327.7 kB / 0.5809 GB, free: 30.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008037/0.35, allocations: 404.9 kB / 0.5813 GB, free: 30.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008911/0.3509, allocations: 0.5068 MB / 0.5818 GB, free: 30.49 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001658/0.3525, allocations: 0.9237 MB / 0.5827 GB, free: 30.03 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.3525, allocations: 1.594 kB / 0.5827 GB, free: 30.03 MB / 430.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.007584/0.3601, allocations: 2.585 MB / 0.5852 GB, free: 29.42 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.3602, allocations: 7.719 kB / 0.5852 GB, free: 29.42 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.3602, allocations: 7.156 kB / 0.5852 GB, free: 29.42 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003654/0.3638, allocations: 1.115 MB / 0.5863 GB, free: 29.22 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000406/0.3643, allocations: 106.1 kB / 0.5864 GB, free: 29.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01405/0.3783, allocations: 6.772 MB / 0.593 GB, free: 25.76 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009395/0.3793, allocations: 113.6 kB / 0.5932 GB, free: 25.72 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.224e-05/0.3794, allocations: 23.61 kB / 0.5932 GB, free: 25.72 MB / 430.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.0002875/0.3796, allocations: 202.7 kB / 0.5934 GB, free: 25.54 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/0.3798, allocations: 86.75 kB / 0.5935 GB, free: 25.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007921/0.3877, allocations: 2.626 MB / 0.596 GB, free: 24.86 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.607e-06/0.3877, allocations: 7.656 kB / 0.596 GB, free: 24.86 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.3877, allocations: 5.281 kB / 0.596 GB, free: 24.86 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/0.3878, allocations: 4.312 kB / 0.596 GB, free: 24.86 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009677/0.3974, allocations: 3.833 MB / 0.5998 GB, free: 23.37 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.817e-06/0.3975, allocations: 0.625 kB / 0.5998 GB, free: 23.37 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004269/0.3979, allocations: 80.73 kB / 0.5999 GB, free: 23.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0038/0.4017, allocations: 1.078 MB / 0.6009 GB, free: 23.16 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-05/0.4018, allocations: 13.72 kB / 0.6009 GB, free: 23.15 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01272/0.4146, allocations: 6.009 MB / 0.6068 GB, free: 19.98 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4146, allocations: 8.078 kB / 0.6068 GB, free: 19.97 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009073/0.4237, allocations: 3.217 MB / 0.6099 GB, free: 18.62 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002575/0.424, allocations: 181.3 kB / 0.6101 GB, free: 18.45 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.4241, allocations: 15.36 kB / 0.6101 GB, free: 18.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007415/0.4248, allocations: 73.8 kB / 0.6102 GB, free: 18.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004201/0.4253, allocations: 146.2 kB / 0.6103 GB, free: 18.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.567e-05/0.4253, allocations: 16.62 kB / 0.6104 GB, free: 18.32 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005743/0.4259, allocations: 0.495 MB / 0.6108 GB, free: 18.04 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4259, allocations: 3.938 kB / 0.6108 GB, free: 18.03 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008861/0.4268, allocations: 296.7 kB / 0.6111 GB, free: 17.99 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.000159/0.427, allocations: 114 kB / 0.6112 GB, free: 17.89 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003714/0.4307, allocations: 1.532 MB / 0.6127 GB, free: 17.09 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4307, allocations: 1.375 kB / 0.6127 GB, free: 17.09 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002567/0.4333, allocations: 1.068 MB / 0.6138 GB, free: 16.5 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005188/0.4338, allocations: 78.2 kB / 0.6138 GB, free: 16.45 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002373/0.4362, allocations: 1.604 MB / 0.6154 GB, free: 14.86 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.4365, allocations: 0.9748 MB / 0.6164 GB, free: 13.86 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001763/0.4366, allocations: 62.78 kB / 0.6164 GB, free: 13.79 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.4368, allocations: 55.42 kB / 0.6165 GB, free: 13.74 MB / 430.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4368, allocations: 0 / 0.6165 GB, free: 13.74 MB / 430.1 MB Notification: Performance of Templates: time 0.02004/0.4568, allocations: 16.89 MB / 0.633 GB, free: 13.06 MB / 446.1 MB 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 -s gbode -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe 2>&1)