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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08134/0.08134, allocations: 12.36 MB / 31.19 MB, free: 8 kB / 19.63 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 117 kB / 37.24 MB, free: 1.238 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 207.6 MB / 250.8 MB, free: 7.387 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 204.4 kB / 306.1 MB, free: 492 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3373/0.3373, allocations: 79.73 MB / 440.9 MB, free: 12.46 MB / 318.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.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.1.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004322/0.004322, allocations: 147.8 kB / 0.5875 GB, free: 7.656 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.356, allocations: 71.95 MB / 0.6578 GB, free: 2.652 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.005606/0.3616, allocations: 5.323 MB / 0.663 GB, free: 14.8 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003081/0.3647, allocations: 1.391 MB / 0.6643 GB, free: 13.8 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004815/0.3652, allocations: 7.562 kB / 0.6643 GB, free: 13.8 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004629/0.3656, allocations: 169.4 kB / 0.6645 GB, free: 13.71 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009248/0.3666, allocations: 367.8 kB / 0.6648 GB, free: 13.45 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001536/0.3681, allocations: 0.5947 MB / 0.6654 GB, free: 13.12 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001395/0.3695, allocations: 1.054 MB / 0.6665 GB, free: 12.59 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003357/0.3698, allocations: 163.7 kB / 0.6666 GB, free: 12.49 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006085/0.3704, allocations: 453.2 kB / 0.667 GB, free: 12.27 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008022/0.3712, allocations: 0.5357 MB / 0.6676 GB, free: 12.01 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001276/0.3714, allocations: 76.78 kB / 0.6676 GB, free: 12.01 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000325/0.3717, allocations: 145.2 kB / 0.6678 GB, free: 11.99 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002138/0.3719, allocations: 207.4 kB / 0.668 GB, free: 11.85 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000465/0.3724, allocations: 462.7 kB / 0.6684 GB, free: 11.55 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001461/0.3738, allocations: 1.093 MB / 0.6695 GB, free: 11.05 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3738, allocations: 0 / 0.6695 GB, free: 11.05 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3738, allocations: 0 / 0.6695 GB, free: 11.05 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.794e-05/0.3739, allocations: 1.281 kB / 0.6695 GB, free: 11.05 MB / 462.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.00563/0.3795, allocations: 1.807 MB / 0.6712 GB, free: 10.14 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.3795, allocations: 10.5 kB / 0.6713 GB, free: 10.14 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001501/0.3797, allocations: 98.14 kB / 0.6714 GB, free: 10.07 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002764/0.3825, allocations: 451.3 kB / 0.6718 GB, free: 9.914 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.3838, allocations: 0.5702 MB / 0.6723 GB, free: 9.441 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003306/0.3841, allocations: 281.6 kB / 0.6726 GB, free: 9.156 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.3842, allocations: 54.08 kB / 0.6727 GB, free: 9.137 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00165/0.3859, allocations: 0.7688 MB / 0.6734 GB, free: 8.684 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.3859, allocations: 4 kB / 0.6734 GB, free: 8.68 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.121e-05/0.3859, allocations: 24.31 kB / 0.6734 GB, free: 8.66 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.386, allocations: 17.09 kB / 0.6735 GB, free: 8.656 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001617/0.3876, allocations: 0.7027 MB / 0.6741 GB, free: 8.32 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005104/0.3927, allocations: 2.633 MB / 0.6767 GB, free: 6.176 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001437/0.3941, allocations: 0.605 MB / 0.6773 GB, free: 5.852 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009688/0.3951, allocations: 440.2 kB / 0.6777 GB, free: 5.633 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.573e-05/0.3952, allocations: 24.5 kB / 0.6777 GB, free: 5.613 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001257/0.3964, allocations: 0.594 MB / 0.6783 GB, free: 5.25 MB / 462.1 MB Notification: Performance of pre-optimization done (n=66): time 2.635e-06/0.3964, allocations: 0 / 0.6783 GB, free: 5.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=66): time 0.01911/0.4156, allocations: 4.5 MB / 0.6827 GB, free: 3.062 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.867e-05/0.4156, allocations: 84.77 kB / 0.6828 GB, free: 2.969 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001279/0.4169, allocations: 0.7133 MB / 0.6835 GB, free: 2.562 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000139/0.417, allocations: 35.89 kB / 0.6835 GB, free: 2.523 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000345/0.4174, allocations: 384.2 kB / 0.6839 GB, free: 2.184 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003829/0.4178, allocations: 243 kB / 0.6841 GB, free: 1.973 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002766/0.4181, allocations: 111.8 kB / 0.6842 GB, free: 1.898 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.4182, allocations: 326.5 kB / 0.6845 GB, free: 1.578 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009888/0.4192, allocations: 408.5 kB / 0.6849 GB, free: 1.379 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001097/0.4203, allocations: 0.5119 MB / 0.6854 GB, free: 1.047 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002023/0.4223, allocations: 0.9199 MB / 0.6863 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.4223, allocations: 1.062 kB / 0.6863 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.009134/0.4315, allocations: 2.567 MB / 0.6888 GB, free: 15.25 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.4315, allocations: 9.594 kB / 0.6889 GB, free: 15.24 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.4315, allocations: 3.344 kB / 0.6889 GB, free: 15.24 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00441/0.4359, allocations: 1.13 MB / 0.69 GB, free: 14.74 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005383/0.4364, allocations: 98.97 kB / 0.6901 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01696/0.4534, allocations: 6.673 MB / 0.6966 GB, free: 10.26 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001179/0.4546, allocations: 115.5 kB / 0.6967 GB, free: 10.14 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001376/0.4547, allocations: 27.98 kB / 0.6967 GB, free: 10.12 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.0005134/0.4552, allocations: 201.6 kB / 0.6969 GB, free: 9.91 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000306/0.4555, allocations: 91.44 kB / 0.697 GB, free: 9.82 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009154/0.4647, allocations: 2.609 MB / 0.6995 GB, free: 7.188 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.649e-05/0.4647, allocations: 11.94 kB / 0.6995 GB, free: 7.176 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.4647, allocations: 0 / 0.6995 GB, free: 7.176 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.42e-05/0.4647, allocations: 3.984 kB / 0.6995 GB, free: 7.172 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0113/0.476, allocations: 3.779 MB / 0.7032 GB, free: 3.277 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/0.476, allocations: 0 / 0.7032 GB, free: 3.277 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004575/0.4765, allocations: 79.89 kB / 0.7033 GB, free: 3.199 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004055/0.4805, allocations: 1.082 MB / 0.7044 GB, free: 2.113 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.32e-05/0.4806, allocations: 16 kB / 0.7044 GB, free: 2.098 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0148/0.4954, allocations: 5.906 MB / 0.7102 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.4954, allocations: 4 kB / 0.7102 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01042/0.5059, allocations: 3.204 MB / 0.7133 GB, free: 8.84 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004108/0.5063, allocations: 103.3 kB / 0.7134 GB, free: 8.738 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002476/0.5065, allocations: 12 kB / 0.7134 GB, free: 8.727 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009231/0.5074, allocations: 75.91 kB / 0.7135 GB, free: 8.652 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004775/0.5079, allocations: 152.4 kB / 0.7136 GB, free: 8.504 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.696e-05/0.508, allocations: 16 kB / 0.7136 GB, free: 8.488 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007977/0.5088, allocations: 0.4951 MB / 0.7141 GB, free: 8 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5088, allocations: 0 / 0.7141 GB, free: 8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001113/0.5099, allocations: 299.7 kB / 0.7144 GB, free: 7.707 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.01084/0.5207, allocations: 3.78 MB / 0.7181 GB, free: 3.891 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004602/0.5253, allocations: 1.484 MB / 0.7195 GB, free: 2.391 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.5253, allocations: 0 / 0.7195 GB, free: 2.391 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003247/0.5286, allocations: 1.026 MB / 0.7205 GB, free: 1.355 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000885/0.5295, allocations: 79.3 kB / 0.7206 GB, free: 1.273 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02854/0.558, allocations: 10.48 MB / 0.7309 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008319/0.5588, allocations: 0.9747 MB / 0.7318 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000321/0.5592, allocations: 69.12 kB / 0.7319 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005643/0.5597, allocations: 319.3 kB / 0.7322 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of SimCode: time 1.152e-06/0.5597, allocations: 0 / 0.7322 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07052/0.6303, allocations: 25.47 MB / 0.7571 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.47/16.1, allocations: 8.312 kB / 0.7571 GB, free: 11.74 MB / 0.5294 GB " [Timeout remaining time 644] (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 --stepSize=0.004 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.297038024058565] Failed to read output from testmodel.py, exit status != 0: 16.239909861935303 16.257453527 15.880289242 Calling exit ...