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.007923/0.007923, allocations: 168.3 kB / 15.13 MB, free: 6.023 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.566/1.566, allocations: 223.3 MB / 239.1 MB, free: 1.699 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.0009792/0.0009792, allocations: 92.62 kB / 290.3 MB, free: 13.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5454/0.5454, allocations: 78.62 MB / 420 MB, free: 44.22 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004071/0.0004071, allocations: 12 kB / 500 MB, free: 2.828 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4436/0.444, allocations: 69.34 MB / 0.556 GB, free: 38.58 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.005065/0.4491, allocations: 4.813 MB / 0.5607 GB, free: 38.02 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003148/0.4523, allocations: 1.37 MB / 0.562 GB, free: 37.48 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005385/0.4529, allocations: 8.25 kB / 0.562 GB, free: 37.48 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004256/0.4533, allocations: 123.1 kB / 0.5621 GB, free: 37.42 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008747/0.4542, allocations: 290.6 kB / 0.5624 GB, free: 37.22 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001545/0.4558, allocations: 0.5229 MB / 0.5629 GB, free: 36.93 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00136/0.4571, allocations: 0.9575 MB / 0.5639 GB, free: 36.44 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004203/0.4576, allocations: 183 kB / 0.564 GB, free: 36.35 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005871/0.4582, allocations: 372 kB / 0.5644 GB, free: 36.19 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007112/0.4589, allocations: 483.4 kB / 0.5648 GB, free: 35.98 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.459, allocations: 42.81 kB / 0.5649 GB, free: 35.98 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003498/0.4593, allocations: 99.28 kB / 0.565 GB, free: 35.96 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001681/0.4595, allocations: 159.1 kB / 0.5651 GB, free: 35.86 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001746/0.4597, allocations: 173.6 kB / 0.5653 GB, free: 35.75 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008842/0.4606, allocations: 0.7868 MB / 0.5661 GB, free: 35.52 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.4606, allocations: 1.25 kB / 0.5661 GB, free: 35.52 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.4606, allocations: 3.938 kB / 0.5661 GB, free: 35.51 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.4606, allocations: 0 / 0.5661 GB, free: 35.51 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.004934/0.4656, allocations: 1.647 MB / 0.5677 GB, free: 34.69 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.4656, allocations: 11.81 kB / 0.5677 GB, free: 34.69 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001399/0.4658, allocations: 98.05 kB / 0.5678 GB, free: 34.61 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002567/0.4684, allocations: 449.6 kB / 0.5682 GB, free: 34.52 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.4694, allocations: 0.5924 MB / 0.5688 GB, free: 34.1 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002212/0.4696, allocations: 212 kB / 0.569 GB, free: 33.92 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-05/0.4697, allocations: 51.12 kB / 0.569 GB, free: 33.9 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/0.4713, allocations: 0.8135 MB / 0.5698 GB, free: 33.6 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.4713, allocations: 3.938 kB / 0.5698 GB, free: 33.59 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.576e-05/0.4714, allocations: 25.53 kB / 0.5699 GB, free: 33.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.4714, allocations: 15.61 kB / 0.5699 GB, free: 33.57 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00146/0.4729, allocations: 0.7544 MB / 0.5706 GB, free: 33.34 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004214/0.4771, allocations: 2.725 MB / 0.5733 GB, free: 31.68 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001416/0.4785, allocations: 1.085 MB / 0.5743 GB, free: 30.93 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001045/0.4796, allocations: 0.5249 MB / 0.5748 GB, free: 30.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.432e-05/0.4797, allocations: 15.73 kB / 0.5749 GB, free: 30.72 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001223/0.4809, allocations: 0.6402 MB / 0.5755 GB, free: 30.48 MB / 426.7 MB Notification: Performance of pre-optimization done (n=66): time 2.495e-06/0.4809, allocations: 0 / 0.5755 GB, free: 30.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=66): time 0.01939/0.5003, allocations: 5.585 MB / 0.5809 GB, free: 29.47 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.5004, allocations: 94.12 kB / 0.581 GB, free: 29.37 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009647/0.5014, allocations: 0.7045 MB / 0.5817 GB, free: 29.06 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000102/0.5015, allocations: 36.33 kB / 0.5818 GB, free: 29.02 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002257/0.5017, allocations: 382.4 kB / 0.5821 GB, free: 28.72 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002229/0.5019, allocations: 235.7 kB / 0.5823 GB, free: 28.53 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.342e-05/0.502, allocations: 11.78 kB / 0.5824 GB, free: 28.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.277e-05/0.5021, allocations: 337.6 kB / 0.5827 GB, free: 28.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009065/0.503, allocations: 447.7 kB / 0.5831 GB, free: 28.06 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000964/0.504, allocations: 0.5535 MB / 0.5836 GB, free: 27.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009274/0.5049, allocations: 478.5 kB / 0.5841 GB, free: 27.62 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.5049, allocations: 0 / 0.5841 GB, free: 27.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.009207/0.5141, allocations: 3.148 MB / 0.5872 GB, free: 26.95 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/0.5142, allocations: 5.562 kB / 0.5872 GB, free: 26.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.5142, allocations: 2.719 kB / 0.5872 GB, free: 26.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004177/0.5184, allocations: 1.288 MB / 0.5884 GB, free: 26.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004939/0.5189, allocations: 103.4 kB / 0.5885 GB, free: 26.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01559/0.5345, allocations: 6.892 MB / 0.5953 GB, free: 23.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/0.5358, allocations: 156.6 kB / 0.5954 GB, free: 23.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-05/0.5358, allocations: 21.94 kB / 0.5954 GB, free: 23.39 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 ($whenCondition1,$whenCondition2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {16 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003843/0.5362, allocations: 192 kB / 0.5956 GB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.5364, allocations: 89.81 kB / 0.5957 GB, free: 23.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009717/0.5461, allocations: 3.197 MB / 0.5988 GB, free: 22.47 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/0.5461, allocations: 6.312 kB / 0.5988 GB, free: 22.47 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.5462, allocations: 1.188 kB / 0.5988 GB, free: 22.47 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.514e-05/0.5462, allocations: 2.734 kB / 0.5988 GB, free: 22.47 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01191/0.5581, allocations: 4.398 MB / 0.6031 GB, free: 20.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/0.5581, allocations: 0 / 0.6031 GB, free: 20.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004737/0.5586, allocations: 91.27 kB / 0.6032 GB, free: 20.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004565/0.5632, allocations: 1.261 MB / 0.6045 GB, free: 20.68 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.78e-05/0.5633, allocations: 13.41 kB / 0.6045 GB, free: 20.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01353/0.5768, allocations: 6.017 MB / 0.6103 GB, free: 17.41 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.5769, allocations: 4 kB / 0.6103 GB, free: 17.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01005/0.5869, allocations: 3.835 MB / 0.6141 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003912/0.5874, allocations: 183.8 kB / 0.6143 GB, free: 13.76 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.5875, allocations: 12 kB / 0.6143 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007819/0.5883, allocations: 103.9 kB / 0.6144 GB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000393/0.5887, allocations: 144.3 kB / 0.6145 GB, free: 13.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.89e-05/0.5887, allocations: 16 kB / 0.6145 GB, free: 13.49 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000564/0.5893, allocations: 0.4912 MB / 0.615 GB, free: 13 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.5893, allocations: 0 / 0.615 GB, free: 13 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008817/0.5902, allocations: 299.7 kB / 0.6153 GB, free: 12.71 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {17 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.009844/0.6, allocations: 4.389 MB / 0.6196 GB, free: 8.285 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003929/0.604, allocations: 1.663 MB / 0.6212 GB, free: 6.617 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.604, allocations: 3.938 kB / 0.6212 GB, free: 6.613 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002879/0.6069, allocations: 1.184 MB / 0.6224 GB, free: 5.41 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008886/0.6078, allocations: 83.25 kB / 0.6224 GB, free: 5.332 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01647/0.6243, allocations: 7.87 MB / 0.6301 GB, free: 13.27 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005409/0.6249, allocations: 0.9747 MB / 0.6311 GB, free: 12.26 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002762/0.6252, allocations: 65.14 kB / 0.6311 GB, free: 12.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004009/0.6256, allocations: 315.3 kB / 0.6314 GB, free: 11.89 MB / 442.7 MB Notification: Performance of SimCode: time 8.32e-07/0.6256, allocations: 0 / 0.6314 GB, free: 11.89 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04205/0.6676, allocations: 21.75 MB / 0.6527 GB, free: 6.293 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001865/0.6679, allocations: 192.3 kB / 0.6529 GB, free: 6.059 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.678/3.346, allocations: 0 / 0.6529 GB, free: 6.059 MB / 458.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)