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.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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008957/0.0008957, allocations: 101.9 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 223.2 MB / 238.9 MB, free: 5.676 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 189 kB / 290.2 MB, free: 2.367 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4616/0.4616, allocations: 78.53 MB / 419.8 MB, free: 4.383 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004813/0.0004814, allocations: 12 kB / 499.7 MB, free: 6.324 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.161, allocations: 69.36 MB / 0.5558 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.2347/0.3957, allocations: 4.556 MB / 0.5602 GB, free: 37.54 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002305/0.398, allocations: 1.408 MB / 0.5616 GB, free: 37.35 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003385/0.3984, allocations: 8.219 kB / 0.5616 GB, free: 37.35 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000309/0.3987, allocations: 123.9 kB / 0.5617 GB, free: 37.3 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006308/0.3993, allocations: 332.6 kB / 0.562 GB, free: 37.28 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.4004, allocations: 0.5127 MB / 0.5625 GB, free: 37.23 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001274/0.4017, allocations: 0.6914 MB / 0.5632 GB, free: 37.2 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003735/0.4021, allocations: 177.8 kB / 0.5634 GB, free: 37.15 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006555/0.4028, allocations: 376.2 kB / 0.5637 GB, free: 37.07 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006162/0.4034, allocations: 471.8 kB / 0.5642 GB, free: 36.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.415e-05/0.4035, allocations: 40.64 kB / 0.5642 GB, free: 36.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003002/0.4038, allocations: 83.25 kB / 0.5643 GB, free: 36.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001427/0.4039, allocations: 160.4 kB / 0.5645 GB, free: 36.95 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001509/0.4041, allocations: 175.7 kB / 0.5646 GB, free: 36.88 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007033/0.4048, allocations: 0.7666 MB / 0.5654 GB, free: 36.81 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.4048, allocations: 0 / 0.5654 GB, free: 36.81 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4048, allocations: 0 / 0.5654 GB, free: 36.81 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.4048, allocations: 0 / 0.5654 GB, free: 36.81 MB / 430.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.004359/0.4092, allocations: 1.644 MB / 0.567 GB, free: 36.13 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.4093, allocations: 10.94 kB / 0.567 GB, free: 36.13 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001143/0.4094, allocations: 98.86 kB / 0.5671 GB, free: 36.09 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002501/0.4119, allocations: 443.9 kB / 0.5675 GB, free: 36.04 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008171/0.4127, allocations: 0.602 MB / 0.5681 GB, free: 35.74 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001999/0.4129, allocations: 209.5 kB / 0.5683 GB, free: 35.58 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.527e-05/0.413, allocations: 53.5 kB / 0.5683 GB, free: 35.58 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/0.4144, allocations: 0.8114 MB / 0.5691 GB, free: 35.51 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.4144, allocations: 4.328 kB / 0.5691 GB, free: 35.51 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.124e-05/0.4145, allocations: 20.81 kB / 0.5692 GB, free: 35.51 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.4145, allocations: 15.92 kB / 0.5692 GB, free: 35.51 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001373/0.4159, allocations: 0.7592 MB / 0.5699 GB, free: 35.5 MB / 430.1 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.004107/0.42, allocations: 3.041 MB / 0.5729 GB, free: 34.15 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/0.4214, allocations: 1.092 MB / 0.574 GB, free: 33.62 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.345e-05/0.4215, allocations: 8.344 kB / 0.574 GB, free: 33.62 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001236/0.4227, allocations: 0.6352 MB / 0.5746 GB, free: 33.53 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 2.925e-06/0.4227, allocations: 4 kB / 0.5746 GB, free: 33.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.01856/0.4413, allocations: 5.588 MB / 0.58 GB, free: 32.54 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.4414, allocations: 89.52 kB / 0.5801 GB, free: 32.44 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009789/0.4424, allocations: 0.702 MB / 0.5808 GB, free: 32.14 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001154/0.4425, allocations: 36.23 kB / 0.5808 GB, free: 32.1 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002141/0.4427, allocations: 383.1 kB / 0.5812 GB, free: 31.8 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002343/0.443, allocations: 234.6 kB / 0.5814 GB, free: 31.62 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.495e-05/0.443, allocations: 14.47 kB / 0.5815 GB, free: 31.61 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.713e-05/0.4431, allocations: 325.8 kB / 0.5818 GB, free: 31.29 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001035/0.4442, allocations: 458.2 kB / 0.5822 GB, free: 31.15 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001064/0.4452, allocations: 0.5472 MB / 0.5827 GB, free: 30.89 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.4463, allocations: 483.2 kB / 0.5832 GB, free: 30.7 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.4463, allocations: 1.062 kB / 0.5832 GB, free: 30.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.009331/0.4556, allocations: 3.148 MB / 0.5863 GB, free: 30.03 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.456e-05/0.4557, allocations: 6.25 kB / 0.5863 GB, free: 30.03 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.4557, allocations: 2.219 kB / 0.5863 GB, free: 30.03 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004362/0.4601, allocations: 1.284 MB / 0.5875 GB, free: 29.81 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005159/0.4606, allocations: 100.7 kB / 0.5876 GB, free: 29.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01584/0.4765, allocations: 7.204 MB / 0.5947 GB, free: 26.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/0.4777, allocations: 146.9 kB / 0.5948 GB, free: 26.42 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000147/0.4779, allocations: 23.12 kB / 0.5948 GB, free: 26.41 MB / 430.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 ($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.0004469/0.4783, allocations: 199.3 kB / 0.595 GB, free: 26.24 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002528/0.4786, allocations: 94.42 kB / 0.5951 GB, free: 26.19 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009837/0.4884, allocations: 3.192 MB / 0.5982 GB, free: 25.49 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.689e-05/0.4885, allocations: 6.688 kB / 0.5982 GB, free: 25.49 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.373e-06/0.4885, allocations: 3.375 kB / 0.5982 GB, free: 25.49 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.03e-05/0.4885, allocations: 3.422 kB / 0.5982 GB, free: 25.49 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01144/0.5, allocations: 4.397 MB / 0.6025 GB, free: 23.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/0.5, allocations: 1.25 kB / 0.6025 GB, free: 23.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004745/0.5005, allocations: 90.69 kB / 0.6026 GB, free: 23.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004274/0.5048, allocations: 1.264 MB / 0.6039 GB, free: 23.71 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001039/0.5049, allocations: 13.67 kB / 0.6039 GB, free: 23.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01413/0.5191, allocations: 6.333 MB / 0.61 GB, free: 20.66 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.5191, allocations: 0.75 kB / 0.61 GB, free: 20.66 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01036/0.5295, allocations: 3.845 MB / 0.6138 GB, free: 17.95 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003386/0.5299, allocations: 181.4 kB / 0.614 GB, free: 17.76 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002266/0.5301, allocations: 12.7 kB / 0.614 GB, free: 17.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009158/0.531, allocations: 103.6 kB / 0.6141 GB, free: 17.67 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005033/0.5316, allocations: 147.8 kB / 0.6142 GB, free: 17.58 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.082e-05/0.5316, allocations: 23.98 kB / 0.6143 GB, free: 17.55 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006234/0.5323, allocations: 495 kB / 0.6147 GB, free: 17.07 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5323, allocations: 0 / 0.6147 GB, free: 17.07 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001224/0.5335, allocations: 299.7 kB / 0.615 GB, free: 16.78 MB / 430.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 (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.009691/0.5432, allocations: 4.478 MB / 0.6194 GB, free: 12.26 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00406/0.5473, allocations: 1.661 MB / 0.621 GB, free: 10.59 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.5474, allocations: 0 / 0.621 GB, free: 10.59 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002968/0.5503, allocations: 1.177 MB / 0.6222 GB, free: 9.406 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006507/0.551, allocations: 73.02 kB / 0.6222 GB, free: 9.34 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01615/0.5672, allocations: 9.649 MB / 0.6316 GB, free: 15.51 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005801/0.5678, allocations: 0.995 MB / 0.6326 GB, free: 14.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003114/0.5681, allocations: 67.02 kB / 0.6327 GB, free: 14.42 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004372/0.5686, allocations: 311.3 kB / 0.633 GB, free: 14.11 MB / 446.1 MB Notification: Performance of SimCode: time 1.082e-06/0.5686, allocations: 4 kB / 0.633 GB, free: 14.11 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04714/0.6157, allocations: 21.69 MB / 0.6542 GB, free: 8.75 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002142/0.616, allocations: 184 kB / 0.6543 GB, free: 8.512 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.084/2.7, allocations: 0 / 0.6543 GB, free: 8.512 MB / 462.1 MB (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/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_FACTS_STATCOM_Test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_FACTS_STATCOM_Test.fmu > OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe 2>&1) Environment - environmentSimulation: