Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.FACTS.STATCOM_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.FACTS.STATCOM_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_FACTS_STATCOM_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.FACTS.STATCOM_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_FACTS_STATCOM_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001659/0.001659, allocations: 180.3 kB / 15.45 MB, free: 6.23 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 223.3 MB / 239.5 MB, free: 1.609 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009699/0.0009701, allocations: 105 kB / 290.7 MB, free: 13.8 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.47/0.47, allocations: 78.62 MB / 420.4 MB, free: 44.16 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003785/0.0003786, allocations: 16 kB / 0.4889 GB, free: 2.445 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4096/0.41, allocations: 69.34 MB / 0.5566 GB, free: 39.04 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.005424/0.4155, allocations: 5.106 MB / 0.5616 GB, free: 37.05 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003449/0.419, allocations: 1.428 MB / 0.563 GB, free: 36.45 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005743/0.4196, allocations: 11.25 kB / 0.563 GB, free: 36.45 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004461/0.42, allocations: 131 kB / 0.5631 GB, free: 36.4 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008029/0.4209, allocations: 279.7 kB / 0.5634 GB, free: 36.26 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001413/0.4223, allocations: 0.5929 MB / 0.5639 GB, free: 36.09 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001205/0.4235, allocations: 1.007 MB / 0.5649 GB, free: 35.83 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004079/0.4239, allocations: 201.8 kB / 0.5651 GB, free: 35.78 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005903/0.4245, allocations: 385.3 kB / 0.5655 GB, free: 35.66 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007505/0.4253, allocations: 494.5 kB / 0.566 GB, free: 35.52 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001048/0.4254, allocations: 39.25 kB / 0.566 GB, free: 35.52 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003393/0.4257, allocations: 103.8 kB / 0.5661 GB, free: 35.51 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002074/0.4259, allocations: 163.9 kB / 0.5663 GB, free: 35.45 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004268/0.4264, allocations: 448.3 kB / 0.5667 GB, free: 35.19 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009276/0.4273, allocations: 1.018 MB / 0.5677 GB, free: 34.8 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4273, allocations: 8 kB / 0.5677 GB, free: 34.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4273, allocations: 0 / 0.5677 GB, free: 34.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.4274, allocations: 0 / 0.5677 GB, free: 34.8 MB / 426.7 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.004502/0.4319, allocations: 1.634 MB / 0.5693 GB, free: 33.98 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.4319, allocations: 8.531 kB / 0.5693 GB, free: 33.98 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000124/0.432, allocations: 98.75 kB / 0.5694 GB, free: 33.9 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002324/0.4344, allocations: 445.2 kB / 0.5698 GB, free: 33.81 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008536/0.4352, allocations: 0.6317 MB / 0.5704 GB, free: 33.35 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002058/0.4355, allocations: 212.4 kB / 0.5706 GB, free: 33.17 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.072e-05/0.4356, allocations: 48.66 kB / 0.5707 GB, free: 33.16 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001377/0.4369, allocations: 0.8187 MB / 0.5715 GB, free: 32.85 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.437, allocations: 6.906 kB / 0.5715 GB, free: 32.84 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.836e-05/0.437, allocations: 23.06 kB / 0.5715 GB, free: 32.82 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.437, allocations: 11.91 kB / 0.5715 GB, free: 32.82 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001395/0.4384, allocations: 0.7665 MB / 0.5723 GB, free: 32.59 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004054/0.4425, allocations: 2.722 MB / 0.5749 GB, free: 30.93 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/0.444, allocations: 1.095 MB / 0.576 GB, free: 30.16 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008871/0.4449, allocations: 0.5288 MB / 0.5765 GB, free: 29.97 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.924e-05/0.445, allocations: 14.05 kB / 0.5765 GB, free: 29.96 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001103/0.4461, allocations: 0.6448 MB / 0.5771 GB, free: 29.71 MB / 426.7 MB Notification: Performance of pre-optimization done (n=66): time 2.234e-06/0.4461, allocations: 0 / 0.5771 GB, free: 29.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=66): time 0.01723/0.4633, allocations: 5.611 MB / 0.5826 GB, free: 28.69 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.4634, allocations: 86.45 kB / 0.5827 GB, free: 28.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008852/0.4643, allocations: 0.7098 MB / 0.5834 GB, free: 28.29 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.286e-05/0.4644, allocations: 39.84 kB / 0.5834 GB, free: 28.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002055/0.4646, allocations: 384.3 kB / 0.5838 GB, free: 27.95 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002047/0.4648, allocations: 222.7 kB / 0.584 GB, free: 27.77 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.053e-05/0.4649, allocations: 52.36 kB / 0.5841 GB, free: 27.73 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.297e-05/0.465, allocations: 339 kB / 0.5844 GB, free: 27.41 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008249/0.4658, allocations: 451.8 kB / 0.5848 GB, free: 27.28 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008709/0.4667, allocations: 0.5603 MB / 0.5854 GB, free: 27.01 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001717/0.4684, allocations: 1.015 MB / 0.5864 GB, free: 26.55 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.4684, allocations: 0 / 0.5864 GB, free: 26.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008312/0.4768, allocations: 3.157 MB / 0.5894 GB, free: 25.88 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/0.4768, allocations: 12.41 kB / 0.5895 GB, free: 25.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.4768, allocations: 2.875 kB / 0.5895 GB, free: 25.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004181/0.481, allocations: 1.308 MB / 0.5907 GB, free: 25.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004852/0.4815, allocations: 108.7 kB / 0.5908 GB, free: 25.63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01451/0.496, allocations: 6.865 MB / 0.5975 GB, free: 22.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/0.4972, allocations: 139.4 kB / 0.5977 GB, free: 22.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.219e-05/0.4973, allocations: 20.34 kB / 0.5977 GB, free: 22.35 MB / 426.7 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.0003754/0.4977, allocations: 210 kB / 0.5979 GB, free: 22.17 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/0.4978, allocations: 89.62 kB / 0.598 GB, free: 22.12 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009709/0.5075, allocations: 3.198 MB / 0.6011 GB, free: 21.42 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.76e-05/0.5076, allocations: 7.438 kB / 0.6011 GB, free: 21.42 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.5076, allocations: 4 kB / 0.6011 GB, free: 21.41 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.517e-05/0.5076, allocations: 4.969 kB / 0.6011 GB, free: 21.41 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01113/0.5188, allocations: 4.403 MB / 0.6054 GB, free: 19.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/0.5188, allocations: 1.594 kB / 0.6054 GB, free: 19.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004303/0.5193, allocations: 85.3 kB / 0.6055 GB, free: 19.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004208/0.5235, allocations: 1.259 MB / 0.6067 GB, free: 19.63 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.687e-05/0.5236, allocations: 16.86 kB / 0.6067 GB, free: 19.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01214/0.5357, allocations: 6.021 MB / 0.6126 GB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.5357, allocations: 0.75 kB / 0.6126 GB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009157/0.5449, allocations: 3.847 MB / 0.6164 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003976/0.5454, allocations: 175.9 kB / 0.6166 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002012/0.5456, allocations: 19.92 kB / 0.6166 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008134/0.5464, allocations: 111.9 kB / 0.6167 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004728/0.5469, allocations: 140.3 kB / 0.6168 GB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.709e-05/0.5469, allocations: 16 kB / 0.6168 GB, free: 11.65 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006232/0.5476, allocations: 0.4951 MB / 0.6173 GB, free: 11.16 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.5476, allocations: 3.938 kB / 0.6173 GB, free: 11.15 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001178/0.5488, allocations: 295.7 kB / 0.6176 GB, free: 10.86 MB / 426.7 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.009125/0.5579, allocations: 4.405 MB / 0.6219 GB, free: 6.422 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003943/0.5619, allocations: 1.696 MB / 0.6236 GB, free: 4.711 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.5619, allocations: 0 / 0.6236 GB, free: 4.711 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002787/0.5647, allocations: 1.18 MB / 0.6247 GB, free: 3.52 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.5658, allocations: 80.7 kB / 0.6248 GB, free: 3.441 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02708/0.5929, allocations: 12.35 MB / 0.6368 GB, free: 6.816 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006757/0.5936, allocations: 0.9747 MB / 0.6378 GB, free: 5.812 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003635/0.594, allocations: 65.14 kB / 0.6379 GB, free: 5.746 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004834/0.5945, allocations: 315.3 kB / 0.6382 GB, free: 5.438 MB / 442.7 MB Notification: Performance of SimCode: time 8.62e-07/0.5945, allocations: 0 / 0.6382 GB, free: 5.438 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04539/0.6399, allocations: 21.89 MB / 0.6595 GB, free: 15.7 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001961/0.6402, allocations: 211.2 kB / 0.6597 GB, free: 15.45 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.627/3.267, allocations: 4.062 kB / 0.6597 GB, free: 15.45 MB / 474.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.FACTS.STATCOM_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_FACTS_STATCOM_Test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_FACTS_STATCOM_Test.fmu > OpenIPSL_release_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe 2>&1)