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.08894/0.08894, allocations: 12.36 MB / 31.98 MB, free: 6.523 MB / 26.2 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.001271/0.001271, allocations: 110.4 kB / 38.03 MB, free: 1.207 MB / 26.2 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.413/1.413, allocations: 207.6 MB / 251.6 MB, free: 7.445 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.002005/0.002005, allocations: 204.5 kB / 306.9 MB, free: 0.543 MB / 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.3338/0.3338, allocations: 79.72 MB / 441.7 MB, free: 12.53 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.FACTS.STATCOM_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_FACTS_STATCOM_Test",fmuType="cs",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.003967/0.003967, allocations: 148.9 kB / 0.5883 GB, free: 9.602 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1393, allocations: 71.97 MB / 0.6585 GB, free: 1.57 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.2642/0.4035, allocations: 5.318 MB / 0.6637 GB, free: 8.273 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002814/0.4063, allocations: 1.382 MB / 0.6651 GB, free: 7.691 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004277/0.4068, allocations: 8.25 kB / 0.6651 GB, free: 7.691 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004363/0.4072, allocations: 165.9 kB / 0.6653 GB, free: 7.605 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007433/0.4079, allocations: 369.9 kB / 0.6656 GB, free: 7.422 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001229/0.4092, allocations: 0.5925 MB / 0.6662 GB, free: 7.273 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001039/0.4102, allocations: 1.059 MB / 0.6672 GB, free: 6.922 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002702/0.4105, allocations: 155.7 kB / 0.6674 GB, free: 6.832 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000454/0.4109, allocations: 454.5 kB / 0.6678 GB, free: 6.613 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005661/0.4115, allocations: 0.5426 MB / 0.6683 GB, free: 6.348 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001086/0.4116, allocations: 76.97 kB / 0.6684 GB, free: 6.348 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000278/0.4119, allocations: 144.7 kB / 0.6685 GB, free: 6.324 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001321/0.412, allocations: 199.4 kB / 0.6687 GB, free: 6.191 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003085/0.4123, allocations: 466.9 kB / 0.6692 GB, free: 5.887 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001051/0.4134, allocations: 1.09 MB / 0.6702 GB, free: 5.395 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.4134, allocations: 0 / 0.6702 GB, free: 5.395 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4134, allocations: 0 / 0.6702 GB, free: 5.395 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.328e-05/0.4134, allocations: 0 / 0.6702 GB, free: 5.395 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.004935/0.4183, allocations: 1.81 MB / 0.672 GB, free: 4.492 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.4184, allocations: 13.28 kB / 0.672 GB, free: 4.492 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.317e-05/0.4184, allocations: 12.56 kB / 0.672 GB, free: 4.492 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.88e-05/0.4185, allocations: 98.47 kB / 0.6721 GB, free: 4.418 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002507/0.421, allocations: 455 kB / 0.6726 GB, free: 4.309 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000979/0.422, allocations: 0.5702 MB / 0.6731 GB, free: 3.906 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002151/0.4222, allocations: 278.2 kB / 0.6734 GB, free: 3.633 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.031e-05/0.4223, allocations: 50.36 kB / 0.6734 GB, free: 3.617 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/0.4237, allocations: 0.7699 MB / 0.6742 GB, free: 3.316 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.4238, allocations: 4 kB / 0.6742 GB, free: 3.312 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.432e-05/0.4238, allocations: 23.77 kB / 0.6742 GB, free: 3.293 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.4238, allocations: 14.78 kB / 0.6742 GB, free: 3.293 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001433/0.4253, allocations: 0.7001 MB / 0.6749 GB, free: 3.07 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004069/0.4293, allocations: 2.636 MB / 0.6775 GB, free: 1.441 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001262/0.4306, allocations: 0.6031 MB / 0.6781 GB, free: 1.195 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008629/0.4315, allocations: 442.8 kB / 0.6785 GB, free: 1.031 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.779e-05/0.4315, allocations: 15.47 kB / 0.6785 GB, free: 1.023 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001134/0.4327, allocations: 0.5936 MB / 0.6791 GB, free: 0.7852 MB / 462.1 MB Notification: Performance of pre-optimization done (n=66): time 2.014e-06/0.4327, allocations: 1.219 kB / 0.6791 GB, free: 0.7852 MB / 462.1 MB Notification: Performance of matching and sorting (n=66): time 0.01856/0.4512, allocations: 4.507 MB / 0.6835 GB, free: 15.97 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.967e-05/0.4513, allocations: 89.22 kB / 0.6836 GB, free: 15.88 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/0.4524, allocations: 0.7121 MB / 0.6843 GB, free: 15.57 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.202e-05/0.4525, allocations: 38.02 kB / 0.6843 GB, free: 15.53 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003383/0.4528, allocations: 386.4 kB / 0.6847 GB, free: 15.21 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002748/0.4531, allocations: 242.4 kB / 0.6849 GB, free: 15 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002312/0.4533, allocations: 107.6 kB / 0.685 GB, free: 14.93 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.4535, allocations: 330.8 kB / 0.6853 GB, free: 14.61 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001042/0.4545, allocations: 407.2 kB / 0.6857 GB, free: 14.41 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001192/0.4557, allocations: 0.5081 MB / 0.6862 GB, free: 14.08 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002033/0.4578, allocations: 0.9218 MB / 0.6871 GB, free: 13.55 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.4578, allocations: 0 / 0.6871 GB, free: 13.55 MB / 478.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.009028/0.4668, allocations: 2.571 MB / 0.6896 GB, free: 12.28 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.4668, allocations: 10.12 kB / 0.6896 GB, free: 12.27 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.4668, allocations: 7.531 kB / 0.6896 GB, free: 12.27 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004225/0.4711, allocations: 1.117 MB / 0.6907 GB, free: 11.78 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004981/0.4716, allocations: 97.59 kB / 0.6908 GB, free: 11.75 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01673/0.4883, allocations: 6.678 MB / 0.6973 GB, free: 7.461 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/0.4894, allocations: 110.7 kB / 0.6974 GB, free: 7.402 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-05/0.4895, allocations: 29.61 kB / 0.6975 GB, free: 7.391 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.0003682/0.4898, allocations: 198.5 kB / 0.6977 GB, free: 7.219 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/0.49, allocations: 89.53 kB / 0.6978 GB, free: 7.172 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009031/0.499, allocations: 2.607 MB / 0.7003 GB, free: 5.828 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/0.4991, allocations: 11.41 kB / 0.7003 GB, free: 5.824 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.4991, allocations: 3.938 kB / 0.7003 GB, free: 5.824 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.628e-05/0.4991, allocations: 5.016 kB / 0.7003 GB, free: 5.82 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01054/0.5096, allocations: 3.783 MB / 0.704 GB, free: 3.418 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/0.5096, allocations: 3.938 kB / 0.704 GB, free: 3.414 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005092/0.5101, allocations: 75.61 kB / 0.7041 GB, free: 3.398 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004159/0.5143, allocations: 1.086 MB / 0.7051 GB, free: 2.906 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001089/0.5144, allocations: 11.81 kB / 0.7052 GB, free: 2.898 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01455/0.529, allocations: 5.91 MB / 0.7109 GB, free: 13.63 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.529, allocations: 0 / 0.7109 GB, free: 13.63 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01058/0.5395, allocations: 3.208 MB / 0.7141 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000428/0.54, allocations: 103.3 kB / 0.7142 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/0.5401, allocations: 8 kB / 0.7142 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008068/0.5409, allocations: 79.91 kB / 0.7142 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000473/0.5414, allocations: 148.4 kB / 0.7144 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.197e-05/0.5414, allocations: 23.98 kB / 0.7144 GB, free: 10.05 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007181/0.5422, allocations: 0.4951 MB / 0.7149 GB, free: 9.559 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5422, allocations: 0 / 0.7149 GB, free: 9.559 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009889/0.5431, allocations: 299.7 kB / 0.7152 GB, free: 9.266 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.01075/0.5539, allocations: 3.772 MB / 0.7189 GB, free: 5.461 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004489/0.5584, allocations: 1.492 MB / 0.7203 GB, free: 3.953 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.5584, allocations: 0 / 0.7203 GB, free: 3.953 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003155/0.5615, allocations: 1.023 MB / 0.7213 GB, free: 2.926 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007542/0.5623, allocations: 83.38 kB / 0.7214 GB, free: 2.84 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02671/0.589, allocations: 10.48 MB / 0.7316 GB, free: 8.172 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006185/0.5896, allocations: 0.9708 MB / 0.7326 GB, free: 7.172 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.0002912/0.5899, allocations: 67.06 kB / 0.7326 GB, free: 7.109 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004454/0.5903, allocations: 319.3 kB / 0.7329 GB, free: 6.797 MB / 0.4982 GB Notification: Performance of SimCode: time 1.232e-06/0.5903, allocations: 0 / 0.7329 GB, free: 6.797 MB / 0.4982 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05992/0.6503, allocations: 25.51 MB / 0.7579 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.84/15.49, allocations: 8.25 kB / 0.7579 GB, free: 13.32 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: 18.867906569037586] Failed to read output from testmodel.py, exit status != 0: 15.67622720100917 15.699946805 15.283174291 Calling exit ...