Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.conf.json 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.0013/0.0013, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.433/1.433, allocations: 230.6 MB / 252.7 MB, free: 8.086 MB / 206.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.001583/0.001583, allocations: 221.7 kB / 309.2 MB, free: 2.922 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.5792/0.5792, allocations: 107.3 MB / 473 MB, free: 4.43 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.FACTS.STATCOM_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_FACTS_STATCOM_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.FACTS.STATCOM_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_FACTS_STATCOM_Test",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 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.002605/0.002605, allocations: 83.88 kB / 0.6332 GB, free: 4.988 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3965/0.3991, allocations: 80.16 MB / 0.7115 GB, free: 4.191 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.005264/0.4043, allocations: 4.716 MB / 0.7161 GB, free: 1.004 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002487/0.4068, allocations: 1.402 MB / 0.7175 GB, free: 28 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003089/0.4071, allocations: 5.312 kB / 0.7175 GB, free: 28 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004241/0.4075, allocations: 161.3 kB / 0.7176 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007817/0.4083, allocations: 360.3 kB / 0.718 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001419/0.4097, allocations: 0.5769 MB / 0.7185 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001131/0.4109, allocations: 1.063 MB / 0.7196 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003046/0.4112, allocations: 153.5 kB / 0.7197 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005761/0.4118, allocations: 459.4 kB / 0.7202 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006547/0.4124, allocations: 496.4 kB / 0.7206 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.4125, allocations: 75 kB / 0.7207 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002785/0.4128, allocations: 137.7 kB / 0.7208 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001891/0.413, allocations: 205.1 kB / 0.721 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003546/0.4133, allocations: 384.1 kB / 0.7214 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001161/0.4145, allocations: 1.097 MB / 0.7225 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.4145, allocations: 1.719 kB / 0.7225 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.472e-06/0.4145, allocations: 4 kB / 0.7225 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.804e-05/0.4145, allocations: 0 / 0.7225 GB, free: 13.44 MB / 0.4981 GB 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.005179/0.4197, allocations: 1.813 MB / 0.7242 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.4197, allocations: 10.81 kB / 0.7243 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001317/0.4199, allocations: 97.7 kB / 0.7243 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002654/0.4225, allocations: 447.7 kB / 0.7248 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/0.4237, allocations: 0.581 MB / 0.7253 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003065/0.424, allocations: 278.1 kB / 0.7256 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.4241, allocations: 49.5 kB / 0.7257 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001636/0.4257, allocations: 0.7699 MB / 0.7264 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.4257, allocations: 2.938 kB / 0.7264 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.345e-05/0.4258, allocations: 24.06 kB / 0.7264 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.4258, allocations: 14.91 kB / 0.7264 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001691/0.4275, allocations: 0.6965 MB / 0.7271 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004938/0.4325, allocations: 1.968 MB / 0.729 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001511/0.434, allocations: 0.6009 MB / 0.7296 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001017/0.435, allocations: 438.4 kB / 0.73 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.5e-05/0.4351, allocations: 13.19 kB / 0.7301 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001397/0.4365, allocations: 0.5999 MB / 0.7306 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=66): time 2.736e-06/0.4365, allocations: 0 / 0.7306 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66): time 0.02005/0.4565, allocations: 4.514 MB / 0.7351 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.406e-05/0.4566, allocations: 84.45 kB / 0.7351 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/0.4577, allocations: 0.7098 MB / 0.7358 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.678e-05/0.4578, allocations: 40.14 kB / 0.7359 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003437/0.4581, allocations: 380.5 kB / 0.7362 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002956/0.4584, allocations: 247.1 kB / 0.7365 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002319/0.4586, allocations: 103.7 kB / 0.7366 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.4588, allocations: 330.8 kB / 0.7369 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000985/0.4598, allocations: 404.3 kB / 0.7373 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/0.4609, allocations: 0.5114 MB / 0.7378 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002047/0.4629, allocations: 0.9188 MB / 0.7387 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.4629, allocations: 0 / 0.7387 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.009273/0.4722, allocations: 2.571 MB / 0.7412 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/0.4722, allocations: 11.81 kB / 0.7412 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.4722, allocations: 3.781 kB / 0.7412 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004372/0.4766, allocations: 1.126 MB / 0.7423 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000519/0.4771, allocations: 89.92 kB / 0.7424 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01711/0.4942, allocations: 6.525 MB / 0.7487 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/0.4953, allocations: 118.5 kB / 0.7489 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.14e-05/0.4954, allocations: 25.53 kB / 0.7489 GB, free: 14.98 MB / 0.5137 GB 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.0003762/0.4958, allocations: 198.3 kB / 0.7491 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/0.4959, allocations: 94.16 kB / 0.7492 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009319/0.5052, allocations: 2.612 MB / 0.7517 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.5053, allocations: 11.09 kB / 0.7517 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.5053, allocations: 0 / 0.7517 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/0.5053, allocations: 5.203 kB / 0.7517 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01077/0.516, allocations: 3.327 MB / 0.755 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/0.516, allocations: 0 / 0.755 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004505/0.5165, allocations: 79.89 kB / 0.7551 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00417/0.5207, allocations: 1.074 MB / 0.7561 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.395e-05/0.5207, allocations: 19.98 kB / 0.7561 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01465/0.5354, allocations: 5.77 MB / 0.7618 GB, free: 3.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.5354, allocations: 0 / 0.7618 GB, free: 3.18 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01076/0.5462, allocations: 3.223 MB / 0.7649 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000442/0.5466, allocations: 103.2 kB / 0.765 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000146/0.5467, allocations: 12 kB / 0.765 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008179/0.5476, allocations: 79.91 kB / 0.7651 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004897/0.548, allocations: 148.4 kB / 0.7652 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.336e-05/0.5481, allocations: 23.98 kB / 0.7653 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007122/0.5488, allocations: 0.4912 MB / 0.7657 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5488, allocations: 0 / 0.7657 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009838/0.5498, allocations: 291.8 kB / 0.766 GB, free: 14.8 MB / 0.5294 GB 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.5606, allocations: 3.764 MB / 0.7697 GB, free: 11 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004579/0.5651, allocations: 1.495 MB / 0.7711 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.5651, allocations: 0 / 0.7711 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00314/0.5683, allocations: 1.022 MB / 0.7721 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000741/0.569, allocations: 86.88 kB / 0.7722 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02725/0.5963, allocations: 10.48 MB / 0.7825 GB, free: 13.69 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004124/0.5967, allocations: 383.2 kB / 0.7828 GB, free: 13.29 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003029/0.597, allocations: 73.12 kB / 0.7829 GB, free: 13.22 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004518/0.5974, allocations: 319.3 kB / 0.7832 GB, free: 12.91 MB / 0.545 GB Notification: Performance of SimCode: time 1.132e-06/0.5974, allocations: 0 / 0.7832 GB, free: 12.91 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06748/0.6649, allocations: 26.03 MB / 0.8086 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.5/14.16, allocations: 2.5 kB / 0.8086 GB, free: 3.035 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_FACTS_STATCOM_Test_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_FACTS_STATCOM_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.503578898962587] Failed to read output from testmodel.py, exit status != 0: 14.29760356200859 14.325752882 13.906411016 Calling exit ...