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.008174/0.008174, allocations: 171.2 kB / 15.12 MB, free: 5.559 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.412/1.412, allocations: 223.2 MB / 239 MB, free: 1.754 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.0009508/0.0009509, allocations: 101.9 kB / 290.2 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.4819/0.4819, allocations: 78.59 MB / 419.9 MB, free: 44.25 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003565/0.0003566, allocations: 12 kB / 499.8 MB, free: 2.836 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4615/0.4619, allocations: 69.35 MB / 0.5558 GB, free: 38.98 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.005402/0.4674, allocations: 4.567 MB / 0.5603 GB, free: 38.64 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003514/0.4709, allocations: 1.41 MB / 0.5617 GB, free: 37.75 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008424/0.4718, allocations: 7.5 kB / 0.5617 GB, free: 37.75 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004234/0.4722, allocations: 124.7 kB / 0.5618 GB, free: 37.69 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009567/0.4732, allocations: 334.2 kB / 0.5621 GB, free: 37.46 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001331/0.4745, allocations: 0.5161 MB / 0.5626 GB, free: 37.17 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001233/0.4758, allocations: 0.6949 MB / 0.5633 GB, free: 36.79 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003421/0.4761, allocations: 179 kB / 0.5635 GB, free: 36.71 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005907/0.4767, allocations: 374.9 kB / 0.5638 GB, free: 36.54 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006281/0.4774, allocations: 467.4 kB / 0.5643 GB, free: 36.34 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.4775, allocations: 39.44 kB / 0.5643 GB, free: 36.34 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000311/0.4778, allocations: 89.81 kB / 0.5644 GB, free: 36.32 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001468/0.478, allocations: 159.3 kB / 0.5646 GB, free: 36.23 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001637/0.4781, allocations: 172.8 kB / 0.5647 GB, free: 36.12 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009921/0.4791, allocations: 0.7618 MB / 0.5655 GB, free: 35.89 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.4791, allocations: 0 / 0.5655 GB, free: 35.89 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.367e-06/0.4791, allocations: 0 / 0.5655 GB, free: 35.89 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.763e-05/0.4792, allocations: 3.938 kB / 0.5655 GB, free: 35.89 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.005064/0.4842, allocations: 1.648 MB / 0.5671 GB, free: 35.07 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.4843, allocations: 8.719 kB / 0.5671 GB, free: 35.07 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000199/0.4845, allocations: 97.52 kB / 0.5672 GB, free: 34.99 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00266/0.4872, allocations: 447.8 kB / 0.5676 GB, free: 34.9 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00118/0.4884, allocations: 0.5963 MB / 0.5682 GB, free: 34.48 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002663/0.4886, allocations: 212.2 kB / 0.5684 GB, free: 34.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.4888, allocations: 56.53 kB / 0.5684 GB, free: 34.28 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001513/0.4903, allocations: 0.8051 MB / 0.5692 GB, free: 33.97 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.4903, allocations: 3.469 kB / 0.5692 GB, free: 33.97 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.435e-05/0.4904, allocations: 25.91 kB / 0.5693 GB, free: 33.95 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.4904, allocations: 19.73 kB / 0.5693 GB, free: 33.95 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001457/0.4919, allocations: 0.752 MB / 0.57 GB, free: 33.72 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004352/0.4962, allocations: 3.039 MB / 0.573 GB, free: 31.68 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001435/0.4977, allocations: 1.091 MB / 0.574 GB, free: 30.92 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.745e-05/0.4978, allocations: 14.36 kB / 0.5741 GB, free: 30.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001146/0.4989, allocations: 0.6335 MB / 0.5747 GB, free: 30.67 MB / 426.7 MB Notification: Performance of pre-optimization done (n=66): time 2.274e-06/0.4989, allocations: 0 / 0.5747 GB, free: 30.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=66): time 0.01931/0.5182, allocations: 5.585 MB / 0.5801 GB, free: 29.66 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.5183, allocations: 98.22 kB / 0.5802 GB, free: 29.55 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.5194, allocations: 0.6972 MB / 0.5809 GB, free: 29.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001206/0.5195, allocations: 40.2 kB / 0.5809 GB, free: 29.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002153/0.5197, allocations: 381 kB / 0.5813 GB, free: 28.91 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002489/0.52, allocations: 241.4 kB / 0.5815 GB, free: 28.72 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.394e-05/0.52, allocations: 10.97 kB / 0.5816 GB, free: 28.71 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.591e-05/0.5201, allocations: 329.8 kB / 0.5819 GB, free: 28.39 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008702/0.521, allocations: 450.9 kB / 0.5823 GB, free: 28.26 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009321/0.5219, allocations: 0.5478 MB / 0.5828 GB, free: 28 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009004/0.5228, allocations: 485.3 kB / 0.5833 GB, free: 27.81 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.5228, allocations: 0 / 0.5833 GB, free: 27.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.009903/0.5328, allocations: 3.142 MB / 0.5864 GB, free: 27.14 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.719e-05/0.5328, allocations: 9.938 kB / 0.5864 GB, free: 27.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.952e-05/0.5329, allocations: 3.281 kB / 0.5864 GB, free: 27.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004734/0.5376, allocations: 1.289 MB / 0.5876 GB, free: 26.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005134/0.5381, allocations: 101.4 kB / 0.5877 GB, free: 26.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01608/0.5542, allocations: 7.198 MB / 0.5948 GB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/0.5554, allocations: 152.8 kB / 0.5949 GB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.045e-05/0.5555, allocations: 27.66 kB / 0.5949 GB, free: 23.49 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.0003683/0.5559, allocations: 194.8 kB / 0.5951 GB, free: 23.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.556, allocations: 90.75 kB / 0.5952 GB, free: 23.27 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009472/0.5655, allocations: 3.194 MB / 0.5983 GB, free: 22.57 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.671e-05/0.5656, allocations: 11.47 kB / 0.5983 GB, free: 22.56 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.5656, allocations: 1.25 kB / 0.5983 GB, free: 22.56 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-05/0.5656, allocations: 2.484 kB / 0.5983 GB, free: 22.56 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01117/0.5768, allocations: 4.398 MB / 0.6026 GB, free: 21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.338e-06/0.5768, allocations: 1.406 kB / 0.6026 GB, free: 21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004592/0.5773, allocations: 86.02 kB / 0.6027 GB, free: 20.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004336/0.5816, allocations: 1.265 MB / 0.604 GB, free: 20.76 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/0.5817, allocations: 14.28 kB / 0.604 GB, free: 20.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01384/0.5956, allocations: 6.327 MB / 0.6101 GB, free: 17.36 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.5956, allocations: 0.5625 kB / 0.6101 GB, free: 17.36 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0103/0.6059, allocations: 3.849 MB / 0.6139 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004839/0.6065, allocations: 183.8 kB / 0.6141 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/0.6066, allocations: 15.98 kB / 0.6141 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008206/0.6074, allocations: 99.92 kB / 0.6142 GB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004257/0.6079, allocations: 144.3 kB / 0.6143 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-05/0.6079, allocations: 20.09 kB / 0.6143 GB, free: 13.56 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005603/0.6085, allocations: 0.4911 MB / 0.6148 GB, free: 13.07 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6085, allocations: 4 kB / 0.6148 GB, free: 13.07 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009009/0.6094, allocations: 299.6 kB / 0.6151 GB, free: 12.78 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.009406/0.6188, allocations: 4.479 MB / 0.6195 GB, free: 8.258 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003922/0.6228, allocations: 1.666 MB / 0.6211 GB, free: 6.582 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.6228, allocations: 4 kB / 0.6211 GB, free: 6.578 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002883/0.6257, allocations: 1.176 MB / 0.6223 GB, free: 5.387 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006898/0.6264, allocations: 69.14 kB / 0.6223 GB, free: 5.324 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01657/0.643, allocations: 9.64 MB / 0.6318 GB, free: 11.47 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005084/0.6435, allocations: 0.9942 MB / 0.6327 GB, free: 10.45 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002625/0.6438, allocations: 65.14 kB / 0.6328 GB, free: 10.38 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003826/0.6442, allocations: 315.3 kB / 0.6331 GB, free: 10.07 MB / 442.7 MB Notification: Performance of SimCode: time 4.71e-07/0.6442, allocations: 3.938 kB / 0.6331 GB, free: 10.07 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04009/0.6843, allocations: 21.7 MB / 0.6543 GB, free: 4.527 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002031/0.6845, allocations: 199.7 kB / 0.6545 GB, free: 4.281 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.468/3.152, allocations: 0 / 0.6545 GB, free: 4.281 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)