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.001576/0.001576, allocations: 100.3 kB / 19.73 MB, free: 2.133 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.421/1.421, allocations: 230.6 MB / 253.5 MB, free: 14.28 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.001462/0.001462, allocations: 207.6 kB / 310 MB, free: 3.059 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.5504/0.5504, allocations: 101.3 MB / 467.7 MB, free: 31.88 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.FACTS.STATCOM_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_FACTS_STATCOM_Test",fmuType="cs",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.002295/0.002295, allocations: 83.36 kB / 0.625 GB, free: 32.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1324, allocations: 78.61 MB / 0.7018 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.006468/0.1388, allocations: 4.711 MB / 0.7064 GB, free: 12.12 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003031/0.1418, allocations: 1.396 MB / 0.7078 GB, free: 10.72 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006253/0.1425, allocations: 8 kB / 0.7078 GB, free: 10.71 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005519/0.143, allocations: 158.6 kB / 0.7079 GB, free: 10.56 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001119/0.1441, allocations: 369.5 kB / 0.7083 GB, free: 10.2 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001504/0.1456, allocations: 0.578 MB / 0.7088 GB, free: 9.621 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001467/0.1471, allocations: 1.066 MB / 0.7099 GB, free: 8.551 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003071/0.1474, allocations: 156.7 kB / 0.71 GB, free: 8.387 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005708/0.148, allocations: 462 kB / 0.7105 GB, free: 7.934 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006559/0.1486, allocations: 0.5327 MB / 0.711 GB, free: 7.398 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.1488, allocations: 76 kB / 0.7111 GB, free: 7.324 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002783/0.149, allocations: 147.9 kB / 0.7112 GB, free: 7.18 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001828/0.1492, allocations: 203.1 kB / 0.7114 GB, free: 6.98 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003517/0.1496, allocations: 381.9 kB / 0.7118 GB, free: 6.605 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001143/0.1507, allocations: 1.093 MB / 0.7128 GB, free: 5.508 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1507, allocations: 0 / 0.7128 GB, free: 5.508 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1507, allocations: 4 kB / 0.7128 GB, free: 5.504 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.477e-05/0.1507, allocations: 4 kB / 0.7128 GB, free: 5.5 MB / 494.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.005003/0.1557, allocations: 1.818 MB / 0.7146 GB, free: 3.641 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.1558, allocations: 8.031 kB / 0.7146 GB, free: 3.633 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.54e-05/0.1558, allocations: 13.19 kB / 0.7146 GB, free: 3.621 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001255/0.1559, allocations: 102.7 kB / 0.7147 GB, free: 3.512 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002599/0.1585, allocations: 446.9 kB / 0.7152 GB, free: 3.074 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.1596, allocations: 0.5701 MB / 0.7157 GB, free: 2.473 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002887/0.1598, allocations: 278.9 kB / 0.716 GB, free: 2.148 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.16, allocations: 52 kB / 0.716 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001569/0.1615, allocations: 0.7681 MB / 0.7168 GB, free: 1.316 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.1615, allocations: 0 / 0.7168 GB, free: 1.316 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.036e-05/0.1616, allocations: 23.94 kB / 0.7168 GB, free: 1.293 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.1616, allocations: 12 kB / 0.7168 GB, free: 1.281 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001556/0.1632, allocations: 0.7039 MB / 0.7175 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00415/0.1673, allocations: 1.962 MB / 0.7194 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/0.1687, allocations: 0.6133 MB / 0.72 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009652/0.1697, allocations: 443.4 kB / 0.7204 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.849e-05/0.1698, allocations: 12.66 kB / 0.7205 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001195/0.171, allocations: 0.5896 MB / 0.721 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=66): time 2.274e-06/0.171, allocations: 0 / 0.721 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66): time 0.0186/0.1896, allocations: 4.501 MB / 0.7254 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.955e-05/0.1896, allocations: 89.7 kB / 0.7255 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.1906, allocations: 0.7157 MB / 0.7262 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001013/0.1907, allocations: 37.7 kB / 0.7262 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002971/0.191, allocations: 385.2 kB / 0.7266 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002618/0.1913, allocations: 237.9 kB / 0.7268 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000229/0.1915, allocations: 106.3 kB / 0.7269 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1917, allocations: 334 kB / 0.7273 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009355/0.1926, allocations: 405 kB / 0.7276 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001018/0.1936, allocations: 0.506 MB / 0.7281 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001876/0.1955, allocations: 0.9256 MB / 0.729 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.1955, allocations: 0 / 0.729 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008709/0.2042, allocations: 2.558 MB / 0.7315 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.2042, allocations: 11.94 kB / 0.7316 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.2042, allocations: 12.25 kB / 0.7316 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004153/0.2084, allocations: 1.128 MB / 0.7327 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004533/0.2089, allocations: 91.89 kB / 0.7328 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01599/0.2248, allocations: 6.531 MB / 0.7391 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009886/0.2258, allocations: 111.6 kB / 0.7392 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.871e-05/0.2259, allocations: 27.94 kB / 0.7393 GB, free: 9.91 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.0003354/0.2262, allocations: 193.8 kB / 0.7395 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.2264, allocations: 95.39 kB / 0.7395 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008628/0.235, allocations: 2.601 MB / 0.7421 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.235, allocations: 11.94 kB / 0.7421 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.235, allocations: 4 kB / 0.7421 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.235, allocations: 7.984 kB / 0.7421 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009799/0.2448, allocations: 3.329 MB / 0.7454 GB, free: 3.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.2448, allocations: 0 / 0.7454 GB, free: 3.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004251/0.2453, allocations: 75.89 kB / 0.7454 GB, free: 3.516 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003877/0.2492, allocations: 1.074 MB / 0.7465 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.372e-05/0.2492, allocations: 23.98 kB / 0.7465 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01357/0.2628, allocations: 5.777 MB / 0.7521 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.2628, allocations: 0 / 0.7521 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009808/0.2726, allocations: 3.212 MB / 0.7553 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002632/0.2729, allocations: 103.3 kB / 0.7554 GB, free: 9.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.273, allocations: 15.98 kB / 0.7554 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007883/0.2738, allocations: 79.91 kB / 0.7555 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004464/0.2742, allocations: 148.4 kB / 0.7556 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.668e-05/0.2743, allocations: 19.98 kB / 0.7556 GB, free: 8.922 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006441/0.2749, allocations: 0.4912 MB / 0.7561 GB, free: 8.438 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.2749, allocations: 0 / 0.7561 GB, free: 8.438 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009004/0.2758, allocations: 299.7 kB / 0.7564 GB, free: 8.145 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.01026/0.2861, allocations: 3.768 MB / 0.7601 GB, free: 4.34 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004304/0.2904, allocations: 1.499 MB / 0.7615 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.2904, allocations: 0 / 0.7615 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003/0.2934, allocations: 1.033 MB / 0.7625 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006927/0.2941, allocations: 75.3 kB / 0.7626 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02555/0.3196, allocations: 10.48 MB / 0.7729 GB, free: 7.02 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004027/0.32, allocations: 379.2 kB / 0.7732 GB, free: 6.617 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002534/0.3203, allocations: 69.14 kB / 0.7733 GB, free: 6.551 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000434/0.3207, allocations: 315.3 kB / 0.7736 GB, free: 6.242 MB / 0.545 GB Notification: Performance of SimCode: time 9.62e-07/0.3207, allocations: 0 / 0.7736 GB, free: 6.242 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05525/0.376, allocations: 25.48 MB / 0.7985 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.05/15.43, allocations: 9.469 kB / 0.7985 GB, free: 12.94 MB / 0.5762 GB " [Timeout remaining time 644] (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: 19.20705442398321] Failed to read output from testmodel.py, exit status != 0: 15.60213999194093 15.876951536 15.464465038 Calling exit ...