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: "" <> buildModelFMU(OpenIPSL.Tests.FACTS.STATCOM_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_FACTS_STATCOM_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.FACTS.STATCOM_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_FACTS_STATCOM_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08619/0.08619, allocations: 12.6 MB / 28.1 MB, free: 260 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 111.5 kB / 31.7 MB, free: 3.488 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.378/1.378, allocations: 205.1 MB / 240.3 MB, free: 12.44 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.001565/0.001565, allocations: 188.5 kB / 290.5 MB, free: 11.03 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4425/0.4425, allocations: 78.51 MB / 419.2 MB, free: 10.83 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.003/0.003, allocations: 135.8 kB / 499.9 MB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.3066, allocations: 68.12 MB / 0.5547 GB, free: 21.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.00502/0.3116, allocations: 5.275 MB / 0.5598 GB, free: 15.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002434/0.3141, allocations: 1.369 MB / 0.5612 GB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003732/0.3145, allocations: 8 kB / 0.5612 GB, free: 14.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003807/0.3149, allocations: 166.5 kB / 0.5613 GB, free: 14.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000601/0.3155, allocations: 321.5 kB / 0.5616 GB, free: 14.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.3167, allocations: 0.6423 MB / 0.5623 GB, free: 13.49 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006639/0.3173, allocations: 1.054 MB / 0.5633 GB, free: 12.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002757/0.3176, allocations: 234.5 kB / 0.5635 GB, free: 12.19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003164/0.3179, allocations: 434.1 kB / 0.5639 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004792/0.3184, allocations: 0.5289 MB / 0.5645 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.936e-05/0.3185, allocations: 76 kB / 0.5645 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002498/0.3188, allocations: 143.9 kB / 0.5647 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001323/0.3189, allocations: 203.1 kB / 0.5649 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003014/0.3192, allocations: 469.2 kB / 0.5653 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007884/0.32, allocations: 1.07 MB / 0.5663 GB, free: 9.281 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.32, allocations: 4 kB / 0.5664 GB, free: 9.277 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.3201, allocations: 4 kB / 0.5664 GB, free: 9.273 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.934e-05/0.3201, allocations: 3.938 kB / 0.5664 GB, free: 9.27 MB / 382.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.00443/0.3245, allocations: 1.752 MB / 0.5681 GB, free: 7.465 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.3246, allocations: 15.98 kB / 0.5681 GB, free: 7.449 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.976e-05/0.3247, allocations: 98.69 kB / 0.5682 GB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002376/0.3271, allocations: 446.5 kB / 0.5686 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000694/0.3278, allocations: 0.6272 MB / 0.5692 GB, free: 6.238 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001874/0.328, allocations: 197.8 kB / 0.5694 GB, free: 6.012 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.785e-05/0.3281, allocations: 52 kB / 0.5695 GB, free: 5.961 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001255/0.3293, allocations: 0.7719 MB / 0.5702 GB, free: 5.176 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.3293, allocations: 0 / 0.5702 GB, free: 5.176 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.171e-05/0.3294, allocations: 27.94 kB / 0.5702 GB, free: 5.148 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/0.3294, allocations: 16 kB / 0.5703 GB, free: 5.133 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001325/0.3308, allocations: 0.6961 MB / 0.5709 GB, free: 4.438 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003772/0.3345, allocations: 2.687 MB / 0.5736 GB, free: 1.598 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001335/0.3359, allocations: 1.043 MB / 0.5746 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000846/0.3368, allocations: 483.2 kB / 0.575 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.1e-05/0.3368, allocations: 12.55 kB / 0.575 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001273/0.3381, allocations: 0.588 MB / 0.5756 GB, free: 15.35 MB / 398.1 MB Notification: Performance of pre-optimization done (n=66): time 2.154e-06/0.3381, allocations: 3.938 kB / 0.5756 GB, free: 15.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.01887/0.357, allocations: 4.608 MB / 0.5801 GB, free: 10.71 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.847e-05/0.3571, allocations: 81.67 kB / 0.5802 GB, free: 10.61 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.3581, allocations: 0.708 MB / 0.5809 GB, free: 9.887 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.848e-05/0.3582, allocations: 41.64 kB / 0.5809 GB, free: 9.84 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002792/0.3585, allocations: 380.8 kB / 0.5813 GB, free: 9.465 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002637/0.3588, allocations: 236.6 kB / 0.5815 GB, free: 9.23 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000216/0.359, allocations: 102.3 kB / 0.5816 GB, free: 9.125 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.3591, allocations: 330 kB / 0.5819 GB, free: 8.797 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009117/0.3601, allocations: 405.1 kB / 0.5823 GB, free: 8.402 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009836/0.3611, allocations: 0.5058 MB / 0.5828 GB, free: 7.855 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001935/0.363, allocations: 0.9121 MB / 0.5837 GB, free: 6.906 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/0.363, allocations: 8 kB / 0.5837 GB, free: 6.898 MB / 398.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008796/0.3718, allocations: 2.59 MB / 0.5862 GB, free: 4.293 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.138e-05/0.3719, allocations: 7.938 kB / 0.5863 GB, free: 4.285 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.3719, allocations: 7.984 kB / 0.5863 GB, free: 4.277 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004162/0.3761, allocations: 1.128 MB / 0.5874 GB, free: 3.148 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004903/0.3766, allocations: 99.83 kB / 0.5875 GB, free: 3.051 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01581/0.3924, allocations: 6.763 MB / 0.5941 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/0.3935, allocations: 115.5 kB / 0.5942 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.818e-05/0.3936, allocations: 27.98 kB / 0.5942 GB, free: 12 MB / 414.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.0003401/0.3939, allocations: 201.6 kB / 0.5944 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.3941, allocations: 86.97 kB / 0.5945 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008721/0.4028, allocations: 2.634 MB / 0.597 GB, free: 9.055 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.554e-05/0.4028, allocations: 11.94 kB / 0.5971 GB, free: 9.043 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4028, allocations: 0 / 0.5971 GB, free: 9.043 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-05/0.4029, allocations: 3.984 kB / 0.5971 GB, free: 9.039 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01021/0.4131, allocations: 3.83 MB / 0.6008 GB, free: 5.082 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/0.4131, allocations: 0 / 0.6008 GB, free: 5.082 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004271/0.4135, allocations: 79.89 kB / 0.6009 GB, free: 5.004 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003879/0.4174, allocations: 1.074 MB / 0.6019 GB, free: 3.926 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.332e-05/0.4176, allocations: 15.98 kB / 0.6019 GB, free: 3.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01373/0.4313, allocations: 6.028 MB / 0.6078 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.4313, allocations: 4 kB / 0.6078 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01033/0.4417, allocations: 3.219 MB / 0.611 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003818/0.4421, allocations: 179.8 kB / 0.6111 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002175/0.4423, allocations: 8 kB / 0.6112 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009326/0.4433, allocations: 87.91 kB / 0.6112 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005019/0.4438, allocations: 140.4 kB / 0.6114 GB, free: 10.06 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.359e-05/0.4439, allocations: 20 kB / 0.6114 GB, free: 10.04 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007598/0.4446, allocations: 0.4912 MB / 0.6119 GB, free: 9.555 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4447, allocations: 4 kB / 0.6119 GB, free: 9.551 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00109/0.4458, allocations: 287.8 kB / 0.6121 GB, free: 9.27 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.01035/0.4561, allocations: 3.795 MB / 0.6159 GB, free: 5.438 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004871/0.461, allocations: 1.556 MB / 0.6174 GB, free: 3.871 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.4611, allocations: 0 / 0.6174 GB, free: 3.871 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003203/0.4643, allocations: 1.057 MB / 0.6184 GB, free: 2.809 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009304/0.4652, allocations: 75.31 kB / 0.6185 GB, free: 2.738 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02736/0.4926, allocations: 10.82 MB / 0.629 GB, free: 7.637 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007457/0.4934, allocations: 0.9786 MB / 0.63 GB, free: 6.633 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003331/0.4937, allocations: 61.14 kB / 0.6301 GB, free: 6.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004883/0.4942, allocations: 315.3 kB / 0.6304 GB, free: 6.262 MB / 446.1 MB Notification: Performance of SimCode: time 1.172e-06/0.4943, allocations: 0 / 0.6304 GB, free: 6.262 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05879/0.5531, allocations: 24.22 MB / 0.654 GB, free: 14.09 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.93, allocations: 8 kB / 0.654 GB, free: 14.08 MB / 478.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_FACTS_STATCOM_Test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_FACTS_STATCOM_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe 2>&1)