Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_OpenIPSL.Tests.FACTS.STATCOM_Test") translateModel(OpenIPSL.Tests.FACTS.STATCOM_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.0007808/0.0007806, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.388/1.388, allocations: 223.3 MB / 239.4 MB, free: 5.531 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.0009931/0.0009932, allocations: 176.5 kB / 290.6 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.538/0.538, allocations: 91.93 MB / 433.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003813/0.0003814, allocations: 20.38 kB / 0.5048 GB, free: 7.312 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.3814, allocations: 72.45 MB / 0.5755 GB, free: 37.3 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.00418/0.3856, allocations: 5.13 MB / 0.5805 GB, free: 33.7 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002706/0.3883, allocations: 1.427 MB / 0.5819 GB, free: 32.68 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003833/0.3887, allocations: 8.625 kB / 0.5819 GB, free: 32.68 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003728/0.3891, allocations: 130 kB / 0.582 GB, free: 32.63 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006332/0.3898, allocations: 279.9 kB / 0.5823 GB, free: 32.44 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.3909, allocations: 0.5852 MB / 0.5829 GB, free: 32.11 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008141/0.3917, allocations: 1.013 MB / 0.5839 GB, free: 31.6 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003179/0.3921, allocations: 200.2 kB / 0.5841 GB, free: 31.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003339/0.3924, allocations: 388 kB / 0.5844 GB, free: 31.35 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004997/0.3929, allocations: 497.2 kB / 0.5849 GB, free: 31.12 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.653e-05/0.393, allocations: 36.53 kB / 0.5849 GB, free: 31.12 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000236/0.3933, allocations: 95.08 kB / 0.585 GB, free: 31.11 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.3934, allocations: 167.4 kB / 0.5852 GB, free: 31.01 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002791/0.3937, allocations: 448.2 kB / 0.5856 GB, free: 30.71 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000704/0.3944, allocations: 1.02 MB / 0.5866 GB, free: 30.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3944, allocations: 0.7812 kB / 0.5866 GB, free: 30.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3944, allocations: 3.938 kB / 0.5866 GB, free: 30.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.537e-06/0.3944, allocations: 3.719 kB / 0.5866 GB, free: 30.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.004357/0.3988, allocations: 1.631 MB / 0.5882 GB, free: 29.52 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.3988, allocations: 11.88 kB / 0.5882 GB, free: 29.52 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002521/0.4014, allocations: 444.3 kB / 0.5887 GB, free: 29.42 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008333/0.4022, allocations: 0.6384 MB / 0.5893 GB, free: 28.96 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000213/0.4024, allocations: 204.5 kB / 0.5895 GB, free: 28.79 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.4026, allocations: 52.72 kB / 0.5895 GB, free: 28.77 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001609/0.4042, allocations: 0.8185 MB / 0.5903 GB, free: 28.46 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.4042, allocations: 1.031 kB / 0.5903 GB, free: 28.46 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.681e-05/0.4043, allocations: 23.69 kB / 0.5903 GB, free: 28.45 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.4043, allocations: 16.62 kB / 0.5904 GB, free: 28.44 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001658/0.406, allocations: 0.7663 MB / 0.5911 GB, free: 28.21 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004409/0.4104, allocations: 2.732 MB / 0.5938 GB, free: 26.53 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001551/0.4119, allocations: 1.084 MB / 0.5948 GB, free: 25.78 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00107/0.413, allocations: 0.5297 MB / 0.5954 GB, free: 25.58 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.573e-05/0.4131, allocations: 11.42 kB / 0.5954 GB, free: 25.57 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001338/0.4144, allocations: 0.6472 MB / 0.596 GB, free: 25.33 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 3.206e-06/0.4145, allocations: 3.938 kB / 0.596 GB, free: 25.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.02101/0.4355, allocations: 5.614 MB / 0.6015 GB, free: 24.3 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/0.4356, allocations: 85.81 kB / 0.6016 GB, free: 24.2 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/0.4368, allocations: 0.7127 MB / 0.6023 GB, free: 23.89 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000162/0.437, allocations: 36.7 kB / 0.6023 GB, free: 23.85 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002871/0.4373, allocations: 384.5 kB / 0.6027 GB, free: 23.55 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002662/0.4376, allocations: 227.2 kB / 0.6029 GB, free: 23.37 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.4377, allocations: 49.84 kB / 0.6029 GB, free: 23.34 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.814e-05/0.4378, allocations: 336.5 kB / 0.6032 GB, free: 23.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001025/0.4388, allocations: 456 kB / 0.6037 GB, free: 22.88 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/0.4399, allocations: 0.5562 MB / 0.6042 GB, free: 22.61 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002002/0.4419, allocations: 1.019 MB / 0.6052 GB, free: 22.15 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.4419, allocations: 0 / 0.6052 GB, free: 22.15 MB / 430.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.01023/0.4521, allocations: 3.157 MB / 0.6083 GB, free: 21.47 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/0.4522, allocations: 9.938 kB / 0.6083 GB, free: 21.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.4522, allocations: 7.312 kB / 0.6083 GB, free: 21.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004662/0.4569, allocations: 1.305 MB / 0.6096 GB, free: 21.24 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005493/0.4575, allocations: 104.3 kB / 0.6097 GB, free: 21.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01673/0.4742, allocations: 6.873 MB / 0.6164 GB, free: 17.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/0.4755, allocations: 139.1 kB / 0.6165 GB, free: 17.94 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.368e-05/0.4756, allocations: 23.17 kB / 0.6166 GB, free: 17.94 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.0004124/0.476, allocations: 199.4 kB / 0.6168 GB, free: 17.77 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001709/0.4762, allocations: 94.06 kB / 0.6168 GB, free: 17.71 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009788/0.486, allocations: 3.205 MB / 0.62 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/0.486, allocations: 8 kB / 0.62 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.486, allocations: 0 / 0.62 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/0.486, allocations: 3.984 kB / 0.62 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009751/0.4958, allocations: 4.408 MB / 0.6243 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.157e-05/0.4958, allocations: 4 kB / 0.6243 GB, free: 11.17 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004653/0.4963, allocations: 83.89 kB / 0.6244 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003797/0.5001, allocations: 1.261 MB / 0.6256 GB, free: 9.824 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.98e-05/0.5002, allocations: 15.98 kB / 0.6256 GB, free: 9.809 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01193/0.5122, allocations: 6.019 MB / 0.6315 GB, free: 3.652 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.5122, allocations: 0 / 0.6315 GB, free: 3.652 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009908/0.5221, allocations: 3.844 MB / 0.6353 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003442/0.5225, allocations: 175.8 kB / 0.6354 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.5226, allocations: 16 kB / 0.6354 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008409/0.5235, allocations: 111.8 kB / 0.6355 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004618/0.5239, allocations: 140.3 kB / 0.6357 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-05/0.524, allocations: 16 kB / 0.6357 GB, free: 15.31 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006282/0.5246, allocations: 0.4951 MB / 0.6362 GB, free: 14.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5246, allocations: 0 / 0.6362 GB, free: 14.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009511/0.5256, allocations: 291.8 kB / 0.6365 GB, free: 14.54 MB / 446.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.0001852/0.5258, allocations: 119.1 kB / 0.6366 GB, free: 14.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004542/0.5303, allocations: 1.7 MB / 0.6382 GB, free: 12.69 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.5304, allocations: 8 kB / 0.6382 GB, free: 12.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003294/0.5337, allocations: 1.18 MB / 0.6394 GB, free: 11.49 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008088/0.5345, allocations: 79.3 kB / 0.6395 GB, free: 11.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003227/0.5377, allocations: 1.978 MB / 0.6414 GB, free: 9.414 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005089/0.5383, allocations: 0.9746 MB / 0.6423 GB, free: 8.414 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000254/0.5385, allocations: 65.14 kB / 0.6424 GB, free: 8.348 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.5387, allocations: 55.42 kB / 0.6425 GB, free: 8.293 MB / 446.1 MB Notification: Performance of SimCode: time 5.31e-07/0.5387, allocations: 0 / 0.6425 GB, free: 8.293 MB / 446.1 MB Notification: Performance of Templates: time 0.02358/0.5623, allocations: 14.78 MB / 0.6569 GB, free: 9.527 MB / 462.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe 2>&1)