Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.FACTS.STATCOM_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_FACTS_STATCOM_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.FACTS.STATCOM_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_FACTS_STATCOM_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.007932/0.007932, allocations: 169.5 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.556/1.556, allocations: 205.4 MB / 221.3 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009645/0.0009644, allocations: 94.83 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06677/0.06677, allocations: 12.2 MB / 330.1 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4372/0.4372, allocations: 78.52 MB / 459.6 MB, free: 4 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000653/0.0006529, allocations: 14.66 kB / 0.528 GB, free: 35.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1551, allocations: 69.25 MB / 0.5956 GB, free: 4.289 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1448/0.3, allocations: 98.49 MB / 0.6918 GB, free: 1.664 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/0.3003, allocations: 75.95 kB / 0.6919 GB, free: 1.59 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3988/0.6991, allocations: 17.95 MB / 0.7094 GB, free: 97.25 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.6992, allocations: 4 kB / 0.7094 GB, free: 97.25 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.073e-05/0.6993, allocations: 13.72 kB / 0.7094 GB, free: 97.25 MB / 474.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.004863/0.7041, allocations: 1.456 MB / 0.7108 GB, free: 96.23 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.7042, allocations: 12.48 kB / 0.7109 GB, free: 96.23 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003614/0.7046, allocations: 101.3 kB / 0.711 GB, free: 96.14 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002247/0.7068, allocations: 322.8 kB / 0.7113 GB, free: 96 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001754/0.7086, allocations: 0.5818 MB / 0.7118 GB, free: 95.51 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002877/0.7089, allocations: 205.7 kB / 0.712 GB, free: 95.32 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002071/0.7091, allocations: 53.94 kB / 0.7121 GB, free: 95.3 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001915/0.711, allocations: 0.8208 MB / 0.7129 GB, free: 94.84 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.7111, allocations: 0 / 0.7129 GB, free: 94.84 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.412e-05/0.7112, allocations: 24.83 kB / 0.7129 GB, free: 94.82 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.439e-05/0.7112, allocations: 12.44 kB / 0.7129 GB, free: 94.82 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001932/0.7131, allocations: 0.7594 MB / 0.7137 GB, free: 94.48 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005252/0.7184, allocations: 2.734 MB / 0.7163 GB, free: 92.29 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001796/0.7202, allocations: 1.081 MB / 0.7174 GB, free: 91.46 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.683e-05/0.7203, allocations: 11.44 kB / 0.7174 GB, free: 91.45 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00137/0.7217, allocations: 0.6404 MB / 0.718 GB, free: 91.08 MB / 474.7 MB Notification: Performance of pre-optimization done (n=66): time 4.288e-06/0.7217, allocations: 0 / 0.718 GB, free: 91.08 MB / 474.7 MB Notification: Performance of matching and sorting (n=66): time 0.01653/0.7382, allocations: 5.173 MB / 0.7231 GB, free: 87.89 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.7383, allocations: 89.61 kB / 0.7232 GB, free: 87.79 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009637/0.7393, allocations: 0.6097 MB / 0.7238 GB, free: 87.17 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.912e-05/0.7394, allocations: 37.7 kB / 0.7238 GB, free: 87.12 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002235/0.7396, allocations: 380.8 kB / 0.7242 GB, free: 86.75 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002161/0.7398, allocations: 236.5 kB / 0.7244 GB, free: 86.52 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.402e-05/0.7399, allocations: 16 kB / 0.7244 GB, free: 86.5 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.283e-05/0.74, allocations: 330 kB / 0.7247 GB, free: 86.17 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000865/0.7408, allocations: 457 kB / 0.7251 GB, free: 85.73 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008909/0.7417, allocations: 0.5528 MB / 0.7257 GB, free: 85.13 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008421/0.7426, allocations: 477.9 kB / 0.7261 GB, free: 84.66 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.7426, allocations: 0 / 0.7261 GB, free: 84.66 MB / 474.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008324/0.7509, allocations: 3.153 MB / 0.7292 GB, free: 81.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.751, allocations: 4 kB / 0.7292 GB, free: 81.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.751, allocations: 4 kB / 0.7292 GB, free: 81.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00387/0.7549, allocations: 1.299 MB / 0.7305 GB, free: 80.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004546/0.7553, allocations: 103.9 kB / 0.7306 GB, free: 80.09 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01434/0.7697, allocations: 7.179 MB / 0.7376 GB, free: 72.77 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/0.7711, allocations: 147.4 kB / 0.7377 GB, free: 72.62 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/0.7712, allocations: 20 kB / 0.7378 GB, free: 72.61 MB / 474.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 {17 11} Notification: Performance of prepare postOptimizeDAE: time 0.0005174/0.7718, allocations: 197.8 kB / 0.738 GB, free: 72.4 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002858/0.772, allocations: 90.92 kB / 0.738 GB, free: 72.31 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008511/0.7806, allocations: 3.146 MB / 0.7411 GB, free: 69.15 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.7806, allocations: 8 kB / 0.7411 GB, free: 69.14 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.7806, allocations: 4 kB / 0.7411 GB, free: 69.14 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.7806, allocations: 11.98 kB / 0.7411 GB, free: 69.13 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009853/0.7905, allocations: 4.385 MB / 0.7454 GB, free: 64.61 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.7905, allocations: 7.938 kB / 0.7454 GB, free: 64.61 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004176/0.7909, allocations: 91.89 kB / 0.7455 GB, free: 64.52 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003571/0.7945, allocations: 1.269 MB / 0.7468 GB, free: 63.24 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.767e-05/0.7946, allocations: 16 kB / 0.7468 GB, free: 63.23 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01227/0.8069, allocations: 6.312 MB / 0.7529 GB, free: 56.78 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.8069, allocations: 0 / 0.7529 GB, free: 56.78 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009542/0.8165, allocations: 3.835 MB / 0.7567 GB, free: 52.91 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004702/0.817, allocations: 191.8 kB / 0.7569 GB, free: 52.71 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002725/0.8173, allocations: 8 kB / 0.7569 GB, free: 52.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009954/0.8183, allocations: 111.9 kB / 0.757 GB, free: 52.59 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000456/0.8188, allocations: 144.2 kB / 0.7571 GB, free: 52.45 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.496e-05/0.8188, allocations: 19.98 kB / 0.7571 GB, free: 52.43 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007424/0.8196, allocations: 499 kB / 0.7576 GB, free: 51.95 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.8196, allocations: 0 / 0.7576 GB, free: 51.95 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001283/0.8209, allocations: 303.7 kB / 0.7579 GB, free: 51.65 MB / 474.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 {18 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.009922/0.8308, allocations: 4.487 MB / 0.7623 GB, free: 47.11 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004095/0.835, allocations: 1.674 MB / 0.7639 GB, free: 45.43 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.782e-06/0.835, allocations: 4 kB / 0.7639 GB, free: 45.43 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00276/0.8378, allocations: 1.184 MB / 0.7651 GB, free: 44.23 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007734/0.8386, allocations: 74.47 kB / 0.7651 GB, free: 44.16 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01674/0.8553, allocations: 9.611 MB / 0.7745 GB, free: 34.35 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004371/0.8558, allocations: 0.9937 MB / 0.7755 GB, free: 33.32 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002805/0.8561, allocations: 56.53 kB / 0.7756 GB, free: 33.27 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004398/0.8566, allocations: 311.3 kB / 0.7758 GB, free: 32.96 MB / 474.7 MB Notification: Performance of SimCode: time 1.352e-06/0.8566, allocations: 0 / 0.7758 GB, free: 32.96 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04539/0.902, allocations: 21.49 MB / 0.7968 GB, free: 11.6 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001792/0.9022, allocations: 185.1 kB / 0.797 GB, free: 11.36 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.57/3.473, allocations: 0 / 0.797 GB, free: 11.36 MB / 474.7 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_FACTS_STATCOM_Test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_FACTS_STATCOM_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe 2>&1)