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: "" <> buildModelFMU(OpenIPSL.Tests.FACTS.STATCOM_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_FACTS_STATCOM_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.FACTS.STATCOM_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_FACTS_STATCOM_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008753/0.0008753, allocations: 91.84 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.181/1.181, allocations: 223.3 MB / 239.3 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.0009715/0.0009715, allocations: 172.6 kB / 290.6 MB, free: 2.199 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4022/0.4022, allocations: 78.55 MB / 420.3 MB, free: 4.234 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003426/0.0003425, allocations: 12 kB / 0.4887 GB, free: 5.949 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1051, allocations: 69.36 MB / 0.5565 GB, free: 0.543 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.1873/0.2925, allocations: 5.104 MB / 0.5615 GB, free: 36.49 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001934/0.2944, allocations: 1.43 MB / 0.5629 GB, free: 35.9 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000247/0.2947, allocations: 8.219 kB / 0.5629 GB, free: 35.9 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002748/0.295, allocations: 122.5 kB / 0.563 GB, free: 35.86 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000505/0.2955, allocations: 279.8 kB / 0.5633 GB, free: 35.71 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009689/0.2965, allocations: 0.587 MB / 0.5638 GB, free: 35.55 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006371/0.2971, allocations: 1.006 MB / 0.5648 GB, free: 35.3 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002635/0.2974, allocations: 199.7 kB / 0.565 GB, free: 35.25 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002783/0.2977, allocations: 391.2 kB / 0.5654 GB, free: 35.13 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004151/0.2981, allocations: 489.7 kB / 0.5658 GB, free: 34.99 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.944e-05/0.2982, allocations: 40.03 kB / 0.5659 GB, free: 34.99 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001836/0.2984, allocations: 103.4 kB / 0.566 GB, free: 34.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.2985, allocations: 171.8 kB / 0.5661 GB, free: 34.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002478/0.2987, allocations: 447 kB / 0.5666 GB, free: 34.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005922/0.2993, allocations: 1.018 MB / 0.5676 GB, free: 34.47 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2993, allocations: 0.9844 kB / 0.5676 GB, free: 34.47 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2993, allocations: 0 / 0.5676 GB, free: 34.47 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.2994, allocations: 0 / 0.5676 GB, free: 34.47 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.003821/0.3032, allocations: 1.635 MB / 0.5692 GB, free: 33.76 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.3032, allocations: 8.375 kB / 0.5692 GB, free: 33.76 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.404e-05/0.3033, allocations: 99.12 kB / 0.5693 GB, free: 33.72 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002268/0.3056, allocations: 448.8 kB / 0.5697 GB, free: 33.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006047/0.3062, allocations: 0.6295 MB / 0.5703 GB, free: 33.32 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001734/0.3064, allocations: 207.7 kB / 0.5705 GB, free: 33.16 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.543e-05/0.3065, allocations: 53.03 kB / 0.5705 GB, free: 33.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/0.3078, allocations: 0.8258 MB / 0.5714 GB, free: 33.09 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.3078, allocations: 1.359 kB / 0.5714 GB, free: 33.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.935e-05/0.3079, allocations: 29.5 kB / 0.5714 GB, free: 33.08 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.3079, allocations: 11.69 kB / 0.5714 GB, free: 33.08 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001315/0.3092, allocations: 0.7542 MB / 0.5721 GB, free: 33.08 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003347/0.3125, allocations: 2.737 MB / 0.5748 GB, free: 32.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001264/0.3138, allocations: 1.09 MB / 0.5759 GB, free: 31.53 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008354/0.3147, allocations: 0.5242 MB / 0.5764 GB, free: 31.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.966e-05/0.3147, allocations: 12.25 kB / 0.5764 GB, free: 31.5 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001114/0.3159, allocations: 0.6434 MB / 0.577 GB, free: 31.41 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 1.713e-06/0.3159, allocations: 2.906 kB / 0.577 GB, free: 31.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.01729/0.3332, allocations: 5.612 MB / 0.5825 GB, free: 30.93 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.3332, allocations: 85.14 kB / 0.5826 GB, free: 30.84 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007422/0.334, allocations: 0.7141 MB / 0.5833 GB, free: 30.7 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.185e-05/0.334, allocations: 39.8 kB / 0.5833 GB, free: 30.67 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/0.3342, allocations: 378.2 kB / 0.5837 GB, free: 30.53 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001609/0.3344, allocations: 224.7 kB / 0.5839 GB, free: 30.38 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.876e-05/0.3345, allocations: 55.8 kB / 0.5839 GB, free: 30.36 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.844e-05/0.3345, allocations: 328.7 kB / 0.5843 GB, free: 30.06 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008888/0.3354, allocations: 459.3 kB / 0.5847 GB, free: 29.95 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009185/0.3363, allocations: 0.5554 MB / 0.5852 GB, free: 29.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001741/0.3381, allocations: 1.018 MB / 0.5862 GB, free: 29.23 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.3381, allocations: 1.062 kB / 0.5862 GB, free: 29.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008557/0.3467, allocations: 3.156 MB / 0.5893 GB, free: 28.55 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.3467, allocations: 16.38 kB / 0.5893 GB, free: 28.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.3467, allocations: 3.156 kB / 0.5893 GB, free: 28.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003908/0.3506, allocations: 1.302 MB / 0.5906 GB, free: 28.33 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003722/0.351, allocations: 107.1 kB / 0.5907 GB, free: 28.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01382/0.3648, allocations: 6.862 MB / 0.5974 GB, free: 25.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008144/0.3657, allocations: 134.4 kB / 0.5975 GB, free: 25.06 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.213e-05/0.3657, allocations: 27.17 kB / 0.5976 GB, free: 25.05 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.0002472/0.366, allocations: 207.3 kB / 0.5978 GB, free: 24.88 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.3661, allocations: 90.62 kB / 0.5979 GB, free: 24.83 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00914/0.3752, allocations: 3.192 MB / 0.601 GB, free: 24.13 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/0.3753, allocations: 7.578 kB / 0.601 GB, free: 24.13 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.3753, allocations: 5.125 kB / 0.601 GB, free: 24.12 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/0.3753, allocations: 4.359 kB / 0.601 GB, free: 24.12 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009973/0.3853, allocations: 4.403 MB / 0.6053 GB, free: 22.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.3853, allocations: 0.6562 kB / 0.6053 GB, free: 22.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000367/0.3856, allocations: 87.42 kB / 0.6054 GB, free: 22.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003869/0.3895, allocations: 1.263 MB / 0.6066 GB, free: 22.34 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.108e-05/0.3896, allocations: 16.92 kB / 0.6066 GB, free: 22.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01185/0.4014, allocations: 6.036 MB / 0.6125 GB, free: 19.2 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4015, allocations: 1.688 kB / 0.6125 GB, free: 19.2 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009059/0.4105, allocations: 3.845 MB / 0.6163 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/0.4107, allocations: 175.8 kB / 0.6164 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.025e-05/0.4108, allocations: 15.94 kB / 0.6165 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007176/0.4115, allocations: 105.2 kB / 0.6166 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002919/0.4118, allocations: 145.2 kB / 0.6167 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.193e-05/0.4119, allocations: 20 kB / 0.6167 GB, free: 15.35 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004531/0.4123, allocations: 0.4951 MB / 0.6172 GB, free: 14.86 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4123, allocations: 0 / 0.6172 GB, free: 14.86 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007416/0.4131, allocations: 295.7 kB / 0.6175 GB, free: 14.57 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.009023/0.4221, allocations: 4.402 MB / 0.6218 GB, free: 10.13 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003618/0.4257, allocations: 1.695 MB / 0.6234 GB, free: 8.422 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4257, allocations: 0 / 0.6234 GB, free: 8.422 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002564/0.4283, allocations: 1.177 MB / 0.6246 GB, free: 7.242 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005493/0.4289, allocations: 80.02 kB / 0.6247 GB, free: 7.164 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02314/0.452, allocations: 12.37 MB / 0.6367 GB, free: 10.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004294/0.4525, allocations: 0.9709 MB / 0.6377 GB, free: 9.551 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000202/0.4527, allocations: 66.5 kB / 0.6378 GB, free: 9.484 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003486/0.453, allocations: 311.3 kB / 0.638 GB, free: 9.18 MB / 446.1 MB Notification: Performance of SimCode: time 2.7e-07/0.453, allocations: 3.938 kB / 0.6381 GB, free: 9.176 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03334/0.4864, allocations: 21.88 MB / 0.6594 GB, free: 3.625 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001874/0.4866, allocations: 203.5 kB / 0.6596 GB, free: 3.367 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.951/2.437, allocations: 0 / 0.6596 GB, free: 3.367 MB / 462.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_FACTS_STATCOM_Test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_FACTS_STATCOM_Test.fmu > OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe 2>&1)