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.1118/0.1118, allocations: 12.59 MB / 28.22 MB, free: 1.074 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.001061/0.001061, allocations: 111.4 kB / 31.84 MB, free: 4.012 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.456/1.456, allocations: 205.1 MB / 240.4 MB, free: 12.36 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.001456/0.001456, allocations: 180.5 kB / 290.7 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4997/0.4997, allocations: 78.51 MB / 419.3 MB, free: 11.24 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.00253/0.00253, allocations: 134.3 kB / 0.5558 GB, free: 28.42 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1289, allocations: 68.14 MB / 0.6224 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.006531/0.1355, allocations: 5.272 MB / 0.6275 GB, free: 10.15 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003107/0.1386, allocations: 1.369 MB / 0.6288 GB, free: 8.773 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003779/0.139, allocations: 11.94 kB / 0.6289 GB, free: 8.762 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004601/0.1396, allocations: 158.6 kB / 0.629 GB, free: 8.605 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007601/0.1403, allocations: 337.4 kB / 0.6293 GB, free: 8.273 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001336/0.1417, allocations: 0.6464 MB / 0.63 GB, free: 7.629 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001006/0.1427, allocations: 1.05 MB / 0.631 GB, free: 6.574 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003617/0.1431, allocations: 251.6 kB / 0.6312 GB, free: 6.312 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004386/0.1435, allocations: 434.1 kB / 0.6316 GB, free: 5.887 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006526/0.1442, allocations: 0.5288 MB / 0.6322 GB, free: 5.355 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001266/0.1443, allocations: 76 kB / 0.6322 GB, free: 5.281 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000299/0.1446, allocations: 140 kB / 0.6324 GB, free: 5.145 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001736/0.1448, allocations: 207 kB / 0.6326 GB, free: 4.941 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003784/0.1452, allocations: 469.2 kB / 0.633 GB, free: 4.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001099/0.1463, allocations: 1.089 MB / 0.6341 GB, free: 3.387 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1463, allocations: 0 / 0.6341 GB, free: 3.387 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1463, allocations: 0 / 0.6341 GB, free: 3.387 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.29e-05/0.1463, allocations: 4 kB / 0.6341 GB, free: 3.383 MB / 446.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.004819/0.1512, allocations: 1.791 MB / 0.6358 GB, free: 1.535 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.1512, allocations: 11.98 kB / 0.6358 GB, free: 1.523 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002654/0.1539, allocations: 451.3 kB / 0.6363 GB, free: 1.082 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009368/0.1548, allocations: 0.6318 MB / 0.6369 GB, free: 416 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002361/0.1551, allocations: 197.8 kB / 0.6371 GB, free: 184 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.977e-05/0.1552, allocations: 52 kB / 0.6371 GB, free: 132 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001534/0.1567, allocations: 0.7719 MB / 0.6379 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.1567, allocations: 0 / 0.6379 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.666e-05/0.1568, allocations: 23.98 kB / 0.6379 GB, free: 15.32 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.608e-05/0.1568, allocations: 19.94 kB / 0.6379 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001535/0.1584, allocations: 0.6961 MB / 0.6386 GB, free: 14.61 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004315/0.1627, allocations: 2.676 MB / 0.6412 GB, free: 11.77 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001568/0.1643, allocations: 1.04 MB / 0.6422 GB, free: 10.62 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009925/0.1653, allocations: 483.2 kB / 0.6427 GB, free: 10.15 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.403e-05/0.1654, allocations: 12.55 kB / 0.6427 GB, free: 10.14 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001188/0.1666, allocations: 0.5919 MB / 0.6433 GB, free: 9.523 MB / 462.1 MB Notification: Performance of pre-optimization done (n=66): time 3.646e-06/0.1666, allocations: 0 / 0.6433 GB, free: 9.523 MB / 462.1 MB Notification: Performance of matching and sorting (n=66): time 0.01859/0.1852, allocations: 4.601 MB / 0.6478 GB, free: 4.891 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.227e-05/0.1853, allocations: 89.66 kB / 0.6479 GB, free: 4.785 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.1863, allocations: 0.708 MB / 0.6485 GB, free: 4.07 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.121e-05/0.1864, allocations: 37.7 kB / 0.6486 GB, free: 4.027 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002982/0.1867, allocations: 389.2 kB / 0.649 GB, free: 3.641 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002595/0.187, allocations: 249.8 kB / 0.6492 GB, free: 3.395 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002332/0.1872, allocations: 106.3 kB / 0.6493 GB, free: 3.281 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.1874, allocations: 330 kB / 0.6496 GB, free: 2.953 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009481/0.1883, allocations: 405.1 kB / 0.65 GB, free: 2.559 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009732/0.1893, allocations: 0.5014 MB / 0.6505 GB, free: 2.02 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001978/0.1913, allocations: 0.9198 MB / 0.6514 GB, free: 1.059 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.1913, allocations: 8 kB / 0.6514 GB, free: 1.051 MB / 462.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008616/0.1999, allocations: 2.59 MB / 0.6539 GB, free: 14.45 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.748e-05/0.2, allocations: 4 kB / 0.6539 GB, free: 14.45 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.2, allocations: 7.938 kB / 0.6539 GB, free: 14.44 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004196/0.2042, allocations: 1.128 MB / 0.655 GB, free: 13.31 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004634/0.2047, allocations: 99.81 kB / 0.6551 GB, free: 13.21 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01601/0.2207, allocations: 6.774 MB / 0.6617 GB, free: 6.281 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/0.2218, allocations: 107.6 kB / 0.6618 GB, free: 6.176 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.488e-05/0.2219, allocations: 24 kB / 0.6619 GB, free: 6.152 MB / 478.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.0003606/0.2222, allocations: 211.1 kB / 0.6621 GB, free: 5.938 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001436/0.2224, allocations: 95.39 kB / 0.6622 GB, free: 5.844 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008704/0.2311, allocations: 2.623 MB / 0.6647 GB, free: 3.211 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/0.2311, allocations: 8 kB / 0.6647 GB, free: 3.203 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.2312, allocations: 3.938 kB / 0.6647 GB, free: 3.199 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.821e-05/0.2312, allocations: 3.984 kB / 0.6647 GB, free: 3.195 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01014/0.2413, allocations: 3.836 MB / 0.6685 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.2414, allocations: 0 / 0.6685 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004228/0.2418, allocations: 79.89 kB / 0.6686 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003901/0.2457, allocations: 1.07 MB / 0.6696 GB, free: 14.08 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.823e-05/0.2458, allocations: 12 kB / 0.6696 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01358/0.2594, allocations: 6.026 MB / 0.6755 GB, free: 7.898 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.2594, allocations: 4 kB / 0.6755 GB, free: 7.895 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009693/0.2691, allocations: 3.225 MB / 0.6787 GB, free: 4.648 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000261/0.2694, allocations: 180.4 kB / 0.6788 GB, free: 4.453 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.2695, allocations: 8 kB / 0.6788 GB, free: 4.445 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007637/0.2703, allocations: 83.91 kB / 0.6789 GB, free: 4.363 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004135/0.2707, allocations: 144.4 kB / 0.6791 GB, free: 4.223 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.875e-05/0.2708, allocations: 23.98 kB / 0.6791 GB, free: 4.199 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006118/0.2714, allocations: 499 kB / 0.6795 GB, free: 3.719 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2714, allocations: 8 kB / 0.6796 GB, free: 3.711 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008654/0.2723, allocations: 295.7 kB / 0.6798 GB, free: 3.422 MB / 494.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.0002034/0.2725, allocations: 115.2 kB / 0.6799 GB, free: 3.297 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004135/0.2766, allocations: 1.533 MB / 0.6814 GB, free: 1.75 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2766, allocations: 0 / 0.6814 GB, free: 1.75 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002907/0.2796, allocations: 1.068 MB / 0.6825 GB, free: 0.668 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005413/0.2801, allocations: 79.3 kB / 0.6826 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003072/0.2832, allocations: 1.627 MB / 0.6842 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005222/0.2837, allocations: 0.9748 MB / 0.6851 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002132/0.2839, allocations: 61.14 kB / 0.6852 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001564/0.2841, allocations: 55.44 kB / 0.6852 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of SimCode: time 3.4e-07/0.2841, allocations: 0 / 0.6852 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of Templates: time 0.02569/0.3098, allocations: 17.05 MB / 0.7019 GB, free: 12.77 MB / 0.5137 GB 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)