Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL_Tests_FACTS_STATCOM_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.FACTS.STATCOM_Test,fileNamePrefix="OpenIPSL_dev_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.009817/0.009817, allocations: 170.8 kB / 15.11 MB, free: 5.973 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.503/1.503, allocations: 223.2 MB / 239 MB, free: 1.801 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.001076/0.001076, allocations: 104.2 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5616/0.5616, allocations: 79.44 MB / 420.8 MB, free: 43.73 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004569/0.0004569, allocations: 12 kB / 0.4891 GB, free: 1.969 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5158/0.5163, allocations: 69.5 MB / 0.557 GB, free: 38.79 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1837/0.7001, allocations: 97.59 MB / 0.6523 GB, free: 8.004 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/0.7004, allocations: 71.97 kB / 0.6524 GB, free: 7.934 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05943/0.7598, allocations: 18.73 MB / 0.6706 GB, free: 5.098 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.387e-06/0.7599, allocations: 0 / 0.6706 GB, free: 5.098 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.442e-05/0.76, allocations: 16 kB / 0.6707 GB, free: 5.082 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.004832/0.7648, allocations: 1.456 MB / 0.6721 GB, free: 3.57 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/0.7649, allocations: 8.031 kB / 0.6721 GB, free: 3.562 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003494/0.7653, allocations: 106.5 kB / 0.6722 GB, free: 3.449 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001944/0.7672, allocations: 322.5 kB / 0.6725 GB, free: 3.133 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001508/0.7687, allocations: 0.582 MB / 0.6731 GB, free: 2.512 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003128/0.7691, allocations: 205.8 kB / 0.6733 GB, free: 2.281 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001786/0.7693, allocations: 59.95 kB / 0.6733 GB, free: 2.223 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00187/0.7711, allocations: 0.8071 MB / 0.6741 GB, free: 1.402 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.7712, allocations: 0 / 0.6741 GB, free: 1.402 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.167e-05/0.7713, allocations: 24 kB / 0.6741 GB, free: 1.379 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/0.7713, allocations: 12 kB / 0.6741 GB, free: 1.367 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001834/0.7731, allocations: 0.7625 MB / 0.6749 GB, free: 0.6016 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005914/0.7791, allocations: 2.734 MB / 0.6776 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001993/0.7811, allocations: 1.085 MB / 0.6786 GB, free: 12.51 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00011/0.7812, allocations: 16.48 kB / 0.6786 GB, free: 12.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001454/0.7827, allocations: 0.6389 MB / 0.6793 GB, free: 11.84 MB / 490.7 MB Notification: Performance of pre-optimization done (n=66): time 3.767e-06/0.7827, allocations: 0 / 0.6793 GB, free: 11.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=66): time 0.01942/0.8022, allocations: 5.172 MB / 0.6843 GB, free: 6.633 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.647e-05/0.8023, allocations: 81.67 kB / 0.6844 GB, free: 6.535 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001475/0.8038, allocations: 0.6175 MB / 0.685 GB, free: 5.906 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001929/0.804, allocations: 37.7 kB / 0.685 GB, free: 5.863 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003704/0.8044, allocations: 384.7 kB / 0.6854 GB, free: 5.484 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004253/0.8048, allocations: 228.6 kB / 0.6856 GB, free: 5.258 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.862e-05/0.8049, allocations: 12 kB / 0.6856 GB, free: 5.246 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002191/0.8051, allocations: 330 kB / 0.6859 GB, free: 4.918 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001159/0.8063, allocations: 449.1 kB / 0.6864 GB, free: 4.48 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00126/0.8076, allocations: 0.5489 MB / 0.6869 GB, free: 3.891 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/0.8088, allocations: 485.9 kB / 0.6874 GB, free: 3.414 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/0.8088, allocations: 0 / 0.6874 GB, free: 3.414 MB / 490.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.01047/0.8193, allocations: 3.157 MB / 0.6904 GB, free: 252 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/0.8194, allocations: 8 kB / 0.6905 GB, free: 244 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.8194, allocations: 4 kB / 0.6905 GB, free: 240 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004696/0.8241, allocations: 1.294 MB / 0.6917 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00064/0.8248, allocations: 107.8 kB / 0.6918 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01843/0.8433, allocations: 7.171 MB / 0.6988 GB, free: 7.527 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/0.8448, allocations: 147.5 kB / 0.699 GB, free: 7.383 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002186/0.845, allocations: 23.94 kB / 0.699 GB, free: 7.359 MB / 0.4948 GB 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.0006881/0.8457, allocations: 189.8 kB / 0.6992 GB, free: 7.164 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003692/0.8461, allocations: 94.86 kB / 0.6993 GB, free: 7.07 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01031/0.8564, allocations: 3.146 MB / 0.7023 GB, free: 3.91 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.998e-05/0.8565, allocations: 11.98 kB / 0.7023 GB, free: 3.898 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.8566, allocations: 0 / 0.7023 GB, free: 3.898 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.725e-05/0.8566, allocations: 7.938 kB / 0.7024 GB, free: 3.891 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01281/0.8694, allocations: 4.396 MB / 0.7066 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.329e-05/0.8695, allocations: 0 / 0.7066 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005266/0.87, allocations: 87.89 kB / 0.7067 GB, free: 15.28 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004479/0.8745, allocations: 1.273 MB / 0.708 GB, free: 14 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001477/0.8747, allocations: 12 kB / 0.708 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01567/0.8904, allocations: 6.321 MB / 0.7142 GB, free: 7.531 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.8905, allocations: 0 / 0.7142 GB, free: 7.531 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01146/0.9019, allocations: 3.847 MB / 0.7179 GB, free: 3.656 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000597/0.9026, allocations: 171.9 kB / 0.7181 GB, free: 3.469 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003343/0.9029, allocations: 16 kB / 0.7181 GB, free: 3.453 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/0.9041, allocations: 111.9 kB / 0.7182 GB, free: 3.344 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005493/0.9047, allocations: 152.2 kB / 0.7183 GB, free: 3.191 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.27e-05/0.9048, allocations: 19.98 kB / 0.7184 GB, free: 3.172 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001078/0.9058, allocations: 495 kB / 0.7188 GB, free: 2.691 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.21e-07/0.9059, allocations: 0 / 0.7188 GB, free: 2.691 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001538/0.9074, allocations: 307.6 kB / 0.7191 GB, free: 2.391 MB / 0.5105 GB 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.01168/0.9191, allocations: 4.487 MB / 0.7235 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00497/0.9241, allocations: 1.675 MB / 0.7251 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.9242, allocations: 4.125 kB / 0.7252 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003322/0.9275, allocations: 1.186 MB / 0.7263 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009046/0.9284, allocations: 71.25 kB / 0.7264 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02861/0.9571, allocations: 9.634 MB / 0.7358 GB, free: 1.078 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001274/0.9584, allocations: 0.9937 MB / 0.7368 GB, free: 56 kB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00038/0.9588, allocations: 48.55 kB / 0.7368 GB, free: 4 kB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005956/0.9594, allocations: 303.4 kB / 0.7371 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of SimCode: time 1.012e-06/0.9595, allocations: 0 / 0.7371 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06421/1.024, allocations: 21.48 MB / 0.7581 GB, free: 10.38 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003292/1.024, allocations: 183.9 kB / 0.7582 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.878/3.902, allocations: 0 / 0.7582 GB, free: 10.14 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_FACTS_STATCOM_Test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_FACTS_STATCOM_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe 2>&1)