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.001326/0.001326, allocations: 119.1 kB / 16.37 MB, free: 6.004 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.347/1.347, allocations: 222.9 MB / 240 MB, free: 4.496 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.001386/0.001386, allocations: 180.3 kB / 290.3 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4592/0.4592, allocations: 78.52 MB / 419 MB, free: 3.203 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 79.86 kB / 498.9 MB, free: 5.664 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1371, allocations: 68.17 MB / 0.5538 GB, free: 1.457 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.2486/0.3857, allocations: 5.234 MB / 0.5589 GB, free: 36.59 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003093/0.3888, allocations: 1.404 MB / 0.5603 GB, free: 36.18 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003701/0.3892, allocations: 8.25 kB / 0.5603 GB, free: 36.18 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004346/0.3897, allocations: 162.7 kB / 0.5604 GB, free: 36.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006461/0.3904, allocations: 334.2 kB / 0.5607 GB, free: 36.13 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001255/0.3916, allocations: 0.6377 MB / 0.5614 GB, free: 36 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009361/0.3926, allocations: 1.062 MB / 0.5624 GB, free: 35.95 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003102/0.3929, allocations: 226.6 kB / 0.5626 GB, free: 35.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004076/0.3933, allocations: 440.9 kB / 0.563 GB, free: 35.81 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005168/0.3938, allocations: 0.5271 MB / 0.5635 GB, free: 35.68 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.394, allocations: 75.69 kB / 0.5636 GB, free: 35.68 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002453/0.3942, allocations: 145.2 kB / 0.5638 GB, free: 35.67 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.3944, allocations: 209.2 kB / 0.564 GB, free: 35.62 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003182/0.3947, allocations: 465.5 kB / 0.5644 GB, free: 35.47 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008878/0.3956, allocations: 1.08 MB / 0.5655 GB, free: 35.23 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.3956, allocations: 4.812 kB / 0.5655 GB, free: 35.23 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.3956, allocations: 0 / 0.5655 GB, free: 35.23 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.289e-05/0.3956, allocations: 0 / 0.5655 GB, free: 35.23 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.004288/0.3999, allocations: 1.756 MB / 0.5672 GB, free: 34.49 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.4, allocations: 8.875 kB / 0.5672 GB, free: 34.49 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002365/0.4023, allocations: 444 kB / 0.5676 GB, free: 34.43 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008898/0.4032, allocations: 0.6312 MB / 0.5682 GB, free: 34.1 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001943/0.4034, allocations: 200.8 kB / 0.5684 GB, free: 33.94 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-05/0.4035, allocations: 51.97 kB / 0.5685 GB, free: 33.94 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/0.4048, allocations: 0.7753 MB / 0.5692 GB, free: 33.87 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.4048, allocations: 5.812 kB / 0.5692 GB, free: 33.87 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.735e-05/0.4049, allocations: 20.16 kB / 0.5692 GB, free: 33.87 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.4049, allocations: 18.55 kB / 0.5693 GB, free: 33.87 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00126/0.4062, allocations: 0.7002 MB / 0.5699 GB, free: 33.86 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003728/0.4099, allocations: 2.659 MB / 0.5725 GB, free: 32.89 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001246/0.4112, allocations: 1.044 MB / 0.5736 GB, free: 32.37 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008207/0.412, allocations: 490.3 kB / 0.574 GB, free: 32.34 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.967e-05/0.4121, allocations: 12.95 kB / 0.574 GB, free: 32.34 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009794/0.4131, allocations: 0.59 MB / 0.5746 GB, free: 32.27 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 2.875e-06/0.4131, allocations: 1.031 kB / 0.5746 GB, free: 32.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.01612/0.4292, allocations: 4.603 MB / 0.5791 GB, free: 31.95 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.4293, allocations: 86.3 kB / 0.5792 GB, free: 31.85 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000931/0.4303, allocations: 0.7085 MB / 0.5799 GB, free: 31.72 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.883e-05/0.4304, allocations: 38.05 kB / 0.5799 GB, free: 31.69 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002408/0.4306, allocations: 381.1 kB / 0.5803 GB, free: 31.39 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002104/0.4308, allocations: 235.4 kB / 0.5805 GB, free: 31.21 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002069/0.431, allocations: 107.3 kB / 0.5806 GB, free: 31.15 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.357e-05/0.4311, allocations: 330.6 kB / 0.5809 GB, free: 30.83 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008144/0.4319, allocations: 405 kB / 0.5813 GB, free: 30.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000936/0.4329, allocations: 0.508 MB / 0.5818 GB, free: 30.44 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001722/0.4346, allocations: 0.9195 MB / 0.5827 GB, free: 29.98 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.4346, allocations: 1.375 kB / 0.5827 GB, free: 29.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008106/0.4427, allocations: 2.581 MB / 0.5852 GB, free: 29.38 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/0.4428, allocations: 6.875 kB / 0.5852 GB, free: 29.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.4428, allocations: 6.375 kB / 0.5852 GB, free: 29.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003812/0.4466, allocations: 1.131 MB / 0.5863 GB, free: 29.17 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005328/0.4472, allocations: 95.52 kB / 0.5864 GB, free: 29.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01519/0.4624, allocations: 6.774 MB / 0.5931 GB, free: 25.71 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/0.4635, allocations: 113.4 kB / 0.5932 GB, free: 25.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.937e-05/0.4636, allocations: 25.97 kB / 0.5932 GB, free: 25.67 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.0003603/0.464, allocations: 203 kB / 0.5934 GB, free: 25.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001735/0.4641, allocations: 85.62 kB / 0.5935 GB, free: 25.45 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008309/0.4725, allocations: 2.626 MB / 0.596 GB, free: 24.82 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/0.4725, allocations: 7.531 kB / 0.596 GB, free: 24.82 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.4725, allocations: 5.312 kB / 0.596 GB, free: 24.81 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/0.4725, allocations: 4.219 kB / 0.596 GB, free: 24.81 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009709/0.4822, allocations: 3.827 MB / 0.5998 GB, free: 23.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.437e-06/0.4823, allocations: 1.281 kB / 0.5998 GB, free: 23.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004385/0.4827, allocations: 79.94 kB / 0.5999 GB, free: 23.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003733/0.4864, allocations: 1.079 MB / 0.6009 GB, free: 23.11 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.414e-05/0.4866, allocations: 17.17 kB / 0.6009 GB, free: 23.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01281/0.4994, allocations: 6.001 MB / 0.6068 GB, free: 19.94 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.4994, allocations: 1.219 kB / 0.6068 GB, free: 19.94 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009041/0.5085, allocations: 3.225 MB / 0.6099 GB, free: 18.62 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003554/0.5088, allocations: 175.5 kB / 0.6101 GB, free: 18.46 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.509, allocations: 12.97 kB / 0.6101 GB, free: 18.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007117/0.5097, allocations: 80.06 kB / 0.6102 GB, free: 18.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004525/0.5101, allocations: 147.8 kB / 0.6103 GB, free: 18.33 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.385e-05/0.5102, allocations: 17.14 kB / 0.6104 GB, free: 18.32 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005871/0.5108, allocations: 0.4973 MB / 0.6108 GB, free: 18.04 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5108, allocations: 1.094 kB / 0.6108 GB, free: 18.04 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009769/0.5118, allocations: 296.2 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.0001759/0.512, allocations: 111.8 kB / 0.6112 GB, free: 17.89 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003746/0.5157, allocations: 1.534 MB / 0.6127 GB, free: 17.09 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.5157, allocations: 3.938 kB / 0.6127 GB, free: 17.09 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002656/0.5184, allocations: 1.071 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.0006865/0.5191, allocations: 74.44 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.002891/0.522, allocations: 1.6 MB / 0.6154 GB, free: 14.86 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.5224, allocations: 0.9748 MB / 0.6164 GB, free: 13.86 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002013/0.5226, allocations: 68.42 kB / 0.6164 GB, free: 13.79 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.5227, allocations: 55.42 kB / 0.6165 GB, free: 13.74 MB / 430.1 MB Notification: Performance of SimCode: time 7.52e-07/0.5227, allocations: 0 / 0.6165 GB, free: 13.74 MB / 430.1 MB Notification: Performance of Templates: time 0.02336/0.5461, allocations: 16.89 MB / 0.633 GB, free: 13.05 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 cvode -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe 2>&1)