Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.00136/0.00136, allocations: 114.3 kB / 18.94 MB, free: 2.789 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.418/1.418, allocations: 230.6 MB / 252.6 MB, free: 8.332 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.001565/0.001565, allocations: 212.1 kB / 309.2 MB, free: 3.168 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4724/0.4724, allocations: 79.74 MB / 445.4 MB, free: 14.86 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Tests_FACTS_STATCOM_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.FACTS.STATCOM_Test,fileNamePrefix="OpenIPSL_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.002515/0.002515, allocations: 91.8 kB / 0.5929 GB, free: 14 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1305, allocations: 73.3 MB / 0.6645 GB, free: 4.602 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.006396/0.1369, allocations: 5.305 MB / 0.6697 GB, free: 15.27 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002979/0.1398, allocations: 1.462 MB / 0.6711 GB, free: 13.81 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003982/0.1402, allocations: 7.938 kB / 0.6711 GB, free: 13.8 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004226/0.1407, allocations: 158.6 kB / 0.6712 GB, free: 13.64 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008174/0.1415, allocations: 369.4 kB / 0.6716 GB, free: 13.28 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001437/0.1429, allocations: 0.5989 MB / 0.6722 GB, free: 12.68 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001337/0.1442, allocations: 1.066 MB / 0.6732 GB, free: 11.61 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003378/0.1446, allocations: 160.5 kB / 0.6734 GB, free: 11.45 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006456/0.1452, allocations: 454.1 kB / 0.6738 GB, free: 11 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007412/0.146, allocations: 0.5366 MB / 0.6743 GB, free: 10.46 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001341/0.1461, allocations: 76 kB / 0.6744 GB, free: 10.39 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002957/0.1464, allocations: 140 kB / 0.6745 GB, free: 10.25 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001851/0.1466, allocations: 199.1 kB / 0.6747 GB, free: 10.05 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004246/0.147, allocations: 477.2 kB / 0.6752 GB, free: 9.586 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001337/0.1483, allocations: 1.085 MB / 0.6762 GB, free: 8.496 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1483, allocations: 0 / 0.6762 GB, free: 8.496 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1483, allocations: 3.938 kB / 0.6763 GB, free: 8.492 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.135e-05/0.1484, allocations: 0 / 0.6763 GB, free: 8.492 MB / 478.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.005316/0.1537, allocations: 1.819 MB / 0.678 GB, free: 6.629 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.1537, allocations: 11.98 kB / 0.678 GB, free: 6.617 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001336/0.1539, allocations: 102.7 kB / 0.6781 GB, free: 6.508 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002671/0.1565, allocations: 447.1 kB / 0.6786 GB, free: 6.07 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/0.1577, allocations: 0.5585 MB / 0.6791 GB, free: 5.48 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003168/0.158, allocations: 282.9 kB / 0.6794 GB, free: 5.152 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.1581, allocations: 55.95 kB / 0.6794 GB, free: 5.098 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001636/0.1598, allocations: 0.7719 MB / 0.6802 GB, free: 4.312 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.1598, allocations: 4 kB / 0.6802 GB, free: 4.309 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.356e-05/0.1598, allocations: 23.94 kB / 0.6802 GB, free: 4.285 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/0.1599, allocations: 12 kB / 0.6802 GB, free: 4.273 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001615/0.1615, allocations: 0.6961 MB / 0.6809 GB, free: 3.578 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0049/0.1664, allocations: 2.64 MB / 0.6835 GB, free: 0.793 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001463/0.1678, allocations: 0.6055 MB / 0.6841 GB, free: 168 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001005/0.1688, allocations: 441.8 kB / 0.6845 GB, free: 15.73 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.582e-05/0.1689, allocations: 8.656 kB / 0.6845 GB, free: 15.72 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00125/0.1702, allocations: 0.5973 MB / 0.6851 GB, free: 15.11 MB / 494.1 MB Notification: Performance of pre-optimization done (n=66): time 2.174e-06/0.1702, allocations: 0 / 0.6851 GB, free: 15.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=66): time 0.0192/0.1894, allocations: 4.509 MB / 0.6895 GB, free: 10.58 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.869e-05/0.1894, allocations: 89.8 kB / 0.6896 GB, free: 10.47 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/0.1905, allocations: 0.7119 MB / 0.6903 GB, free: 9.75 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001071/0.1906, allocations: 37.7 kB / 0.6903 GB, free: 9.707 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00032/0.1909, allocations: 385.2 kB / 0.6907 GB, free: 9.324 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002865/0.1912, allocations: 241.9 kB / 0.6909 GB, free: 9.086 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002243/0.1914, allocations: 102.3 kB / 0.691 GB, free: 8.98 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.1915, allocations: 326 kB / 0.6913 GB, free: 8.656 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009774/0.1925, allocations: 409.1 kB / 0.6917 GB, free: 8.258 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/0.1936, allocations: 0.5137 MB / 0.6922 GB, free: 7.703 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002038/0.1956, allocations: 0.9139 MB / 0.6931 GB, free: 6.75 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.1956, allocations: 4 kB / 0.6931 GB, free: 6.746 MB / 494.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.009146/0.2048, allocations: 2.573 MB / 0.6956 GB, free: 4.16 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.808e-05/0.2048, allocations: 7.938 kB / 0.6956 GB, free: 4.152 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.2048, allocations: 4 kB / 0.6956 GB, free: 4.148 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004217/0.209, allocations: 1.116 MB / 0.6967 GB, free: 3.031 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005118/0.2095, allocations: 103.8 kB / 0.6968 GB, free: 2.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.244/0.4535, allocations: 6.658 MB / 0.7033 GB, free: 32.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009819/0.4545, allocations: 114.3 kB / 0.7034 GB, free: 32.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.345e-05/0.4546, allocations: 28.12 kB / 0.7035 GB, free: 32.62 MB / 494.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.0003339/0.4549, allocations: 195 kB / 0.7036 GB, free: 32.51 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.4551, allocations: 96.55 kB / 0.7037 GB, free: 32.51 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008924/0.464, allocations: 2.613 MB / 0.7063 GB, free: 32.43 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-05/0.464, allocations: 7.922 kB / 0.7063 GB, free: 32.43 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.464, allocations: 0 / 0.7063 GB, free: 32.43 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.123e-05/0.464, allocations: 6.203 kB / 0.7063 GB, free: 32.43 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01085/0.4749, allocations: 3.78 MB / 0.71 GB, free: 31.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/0.4749, allocations: 4.406 kB / 0.71 GB, free: 31.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004913/0.4754, allocations: 83.45 kB / 0.7101 GB, free: 31.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004073/0.4794, allocations: 1.068 MB / 0.7111 GB, free: 31.73 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001688/0.4796, allocations: 19.83 kB / 0.7111 GB, free: 31.71 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01384/0.4935, allocations: 5.915 MB / 0.7169 GB, free: 28.69 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.4935, allocations: 3.938 kB / 0.7169 GB, free: 28.69 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009461/0.5029, allocations: 3.208 MB / 0.72 GB, free: 27.74 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003/0.5032, allocations: 105.6 kB / 0.7201 GB, free: 27.68 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/0.5033, allocations: 14.62 kB / 0.7202 GB, free: 27.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007538/0.5041, allocations: 75.41 kB / 0.7202 GB, free: 27.66 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00043/0.5045, allocations: 148 kB / 0.7204 GB, free: 27.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.973e-05/0.5046, allocations: 21.5 kB / 0.7204 GB, free: 27.61 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005713/0.5051, allocations: 0.4923 MB / 0.7209 GB, free: 27.39 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5051, allocations: 3.938 kB / 0.7209 GB, free: 27.39 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009227/0.5061, allocations: 297.4 kB / 0.7212 GB, free: 27.34 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.009484/0.5156, allocations: 3.767 MB / 0.7248 GB, free: 25.85 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004043/0.5196, allocations: 1.484 MB / 0.7263 GB, free: 25.32 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.5196, allocations: 0 / 0.7263 GB, free: 25.32 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002938/0.5225, allocations: 1.027 MB / 0.7273 GB, free: 24.88 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006938/0.5232, allocations: 78.98 kB / 0.7274 GB, free: 24.82 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02366/0.5469, allocations: 10.48 MB / 0.7376 GB, free: 18.77 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.5472, allocations: 0.972 MB / 0.7386 GB, free: 17.95 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002389/0.5475, allocations: 68.08 kB / 0.7386 GB, free: 17.92 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003284/0.5478, allocations: 314.6 kB / 0.7389 GB, free: 17.65 MB / 494.1 MB Notification: Performance of SimCode: time 1.292e-06/0.5478, allocations: 0 / 0.7389 GB, free: 17.65 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05907/0.6069, allocations: 25.47 MB / 0.7638 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.43/16.03, allocations: 9.594 kB / 0.7638 GB, free: 8.523 MB / 0.4981 GB " [Timeout remaining time 644] (rm -f OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_FACTS_STATCOM_Test_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_FACTS_STATCOM_Test.fmu > OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.298104293178767] Failed to read output from testmodel.py, exit status != 0: 16.165027379989624 16.191920181 16.038712518 Calling exit ...