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/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/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/package.mo): time 0.0867/0.0867, allocations: 12.2 MB / 27.32 MB, free: 1.41 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.00114/0.00114, allocations: 104.8 kB / 30.82 MB, free: 4.703 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.358/1.358, allocations: 205.1 MB / 239.3 MB, free: 13.66 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.001622/0.001622, allocations: 188.5 kB / 289.5 MB, free: 14.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4128/0.4128, allocations: 78.5 MB / 418 MB, free: 12.04 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.002702/0.002702, allocations: 136.8 kB / 498.3 MB, free: 11.89 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3259, allocations: 68.02 MB / 0.5531 GB, free: 32.72 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.006094/0.332, allocations: 5.578 MB / 0.5585 GB, free: 28.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003444/0.3355, allocations: 1.414 MB / 0.5599 GB, free: 27.64 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007137/0.3363, allocations: 8.25 kB / 0.5599 GB, free: 27.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005113/0.3368, allocations: 130.2 kB / 0.56 GB, free: 27.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008836/0.3377, allocations: 278.9 kB / 0.5603 GB, free: 27.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001453/0.3392, allocations: 0.5925 MB / 0.5609 GB, free: 27.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001679/0.3409, allocations: 0.9993 MB / 0.5619 GB, free: 26.55 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004666/0.3413, allocations: 216.8 kB / 0.5621 GB, free: 26.44 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007057/0.3421, allocations: 406.6 kB / 0.5624 GB, free: 26.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000653/0.3427, allocations: 0.5087 MB / 0.5629 GB, free: 25.86 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001133/0.3428, allocations: 47.16 kB / 0.563 GB, free: 25.86 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003605/0.3432, allocations: 108.3 kB / 0.5631 GB, free: 25.83 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001603/0.3434, allocations: 179.5 kB / 0.5633 GB, free: 25.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003867/0.3438, allocations: 434.8 kB / 0.5637 GB, free: 25.37 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009996/0.3448, allocations: 1.046 MB / 0.5647 GB, free: 24.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3448, allocations: 0 / 0.5647 GB, free: 24.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3448, allocations: 0 / 0.5647 GB, free: 24.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.3448, allocations: 0 / 0.5647 GB, free: 24.59 MB / 398.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.005103/0.3499, allocations: 1.752 MB / 0.5664 GB, free: 23.42 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/0.35, allocations: 16.89 kB / 0.5664 GB, free: 23.41 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000116/0.3501, allocations: 100.8 kB / 0.5665 GB, free: 23.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002475/0.3526, allocations: 444 kB / 0.5669 GB, free: 23.14 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000987/0.3536, allocations: 0.6369 MB / 0.5676 GB, free: 22.6 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002182/0.3538, allocations: 198.5 kB / 0.5678 GB, free: 22.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.893e-05/0.3539, allocations: 53.75 kB / 0.5678 GB, free: 22.39 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/0.3554, allocations: 0.7731 MB / 0.5686 GB, free: 21.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.3554, allocations: 0 / 0.5686 GB, free: 21.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.24e-05/0.3555, allocations: 24.88 kB / 0.5686 GB, free: 21.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.626e-05/0.3555, allocations: 13.28 kB / 0.5686 GB, free: 21.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001416/0.357, allocations: 0.6953 MB / 0.5693 GB, free: 21.59 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004203/0.3612, allocations: 2.686 MB / 0.5719 GB, free: 19.4 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00137/0.3626, allocations: 1.038 MB / 0.5729 GB, free: 18.57 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008798/0.3635, allocations: 486.2 kB / 0.5734 GB, free: 18.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.558e-05/0.3636, allocations: 11.45 kB / 0.5734 GB, free: 18.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001201/0.3648, allocations: 0.5932 MB / 0.574 GB, free: 17.95 MB / 398.1 MB Notification: Performance of pre-optimization done (n=66): time 2.304e-06/0.3648, allocations: 0 / 0.574 GB, free: 17.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.01699/0.3818, allocations: 4.606 MB / 0.5785 GB, free: 13.86 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.3819, allocations: 85.67 kB / 0.5786 GB, free: 13.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009014/0.3828, allocations: 0.708 MB / 0.5792 GB, free: 13.03 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001213/0.3829, allocations: 37.7 kB / 0.5793 GB, free: 12.99 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001959/0.3831, allocations: 380.8 kB / 0.5796 GB, free: 12.61 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002134/0.3833, allocations: 232.6 kB / 0.5799 GB, free: 12.38 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001916/0.3835, allocations: 102.3 kB / 0.58 GB, free: 12.28 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 5.743e-05/0.3836, allocations: 330 kB / 0.5803 GB, free: 11.95 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007815/0.3844, allocations: 401.1 kB / 0.5807 GB, free: 11.56 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008131/0.3852, allocations: 0.5098 MB / 0.5812 GB, free: 11.01 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001542/0.3867, allocations: 0.9159 MB / 0.5821 GB, free: 10.06 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.3868, allocations: 4 kB / 0.5821 GB, free: 10.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.007732/0.3945, allocations: 2.586 MB / 0.5846 GB, free: 7.453 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/0.3946, allocations: 11.94 kB / 0.5846 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.3946, allocations: 4 kB / 0.5846 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003687/0.3983, allocations: 1.116 MB / 0.5857 GB, free: 6.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004459/0.3988, allocations: 103.8 kB / 0.5858 GB, free: 6.219 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01287/0.4116, allocations: 6.232 MB / 0.5919 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/0.4127, allocations: 111.6 kB / 0.592 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.974e-05/0.4128, allocations: 24 kB / 0.592 GB, free: 15.71 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.0003581/0.4132, allocations: 197.6 kB / 0.5922 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.4133, allocations: 102.9 kB / 0.5923 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008202/0.4215, allocations: 2.627 MB / 0.5949 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/0.4216, allocations: 8 kB / 0.5949 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.4216, allocations: 0 / 0.5949 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.787e-05/0.4216, allocations: 3.984 kB / 0.5949 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01011/0.4317, allocations: 3.83 MB / 0.5986 GB, free: 8.801 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.798e-06/0.4318, allocations: 0 / 0.5986 GB, free: 8.801 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004613/0.4323, allocations: 83.89 kB / 0.5987 GB, free: 8.719 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003867/0.4362, allocations: 1.078 MB / 0.5997 GB, free: 7.637 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001069/0.4363, allocations: 12 kB / 0.5997 GB, free: 7.625 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01292/0.4492, allocations: 5.483 MB / 0.6051 GB, free: 2.004 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.4493, allocations: 3.938 kB / 0.6051 GB, free: 2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009745/0.459, allocations: 3.219 MB / 0.6082 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004067/0.4595, allocations: 183.8 kB / 0.6084 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002646/0.4598, allocations: 19.94 kB / 0.6084 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009345/0.4607, allocations: 71.92 kB / 0.6085 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005251/0.4613, allocations: 144.2 kB / 0.6086 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.669e-05/0.4614, allocations: 23.98 kB / 0.6087 GB, free: 14.3 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007649/0.4621, allocations: 0.4951 MB / 0.6092 GB, free: 13.81 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4621, allocations: 0 / 0.6092 GB, free: 13.81 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001156/0.4633, allocations: 291.8 kB / 0.6094 GB, free: 13.52 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.0101/0.4734, allocations: 3.788 MB / 0.6131 GB, free: 9.691 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004493/0.478, allocations: 1.501 MB / 0.6146 GB, free: 8.18 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.478, allocations: 4.125 kB / 0.6146 GB, free: 8.176 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003179/0.4812, allocations: 1.032 MB / 0.6156 GB, free: 7.137 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.4823, allocations: 82.86 kB / 0.6157 GB, free: 7.062 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02745/0.5098, allocations: 11.08 MB / 0.6265 GB, free: 11.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008022/0.5106, allocations: 0.9747 MB / 0.6275 GB, free: 10.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003923/0.511, allocations: 65.14 kB / 0.6275 GB, free: 10.63 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005465/0.5116, allocations: 319.3 kB / 0.6278 GB, free: 10.32 MB / 446.1 MB Notification: Performance of SimCode: time 8.01e-07/0.5116, allocations: 0 / 0.6278 GB, free: 10.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04521/0.5568, allocations: 22.31 MB / 0.6496 GB, free: 4.074 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000208/0.5571, allocations: 223.3 kB / 0.6498 GB, free: 3.809 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.337/2.894, allocations: 0 / 0.6498 GB, free: 3.809 MB / 462.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)