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.001917/0.001917, allocations: 172 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 221.5 MB / 229.6 MB, free: 7.594 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.0009074/0.0009075, allocations: 101.3 kB / 280.5 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4969/0.4969, allocations: 78.94 MB / 410.2 MB, free: 6.082 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.742e-05/1.745e-05, allocations: 0 / 486 MB, free: 11.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1499, allocations: 69.51 MB / 0.5425 GB, free: 5.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4633/0.6132, allocations: 96.84 MB / 0.6371 GB, free: 1.18 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/0.6136, allocations: 79.95 kB / 0.6372 GB, free: 1.102 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05228/0.6659, allocations: 18.45 MB / 0.6552 GB, free: 14.73 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.6659, allocations: 1.5 kB / 0.6552 GB, free: 14.73 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.679e-05/0.666, allocations: 13.75 kB / 0.6552 GB, free: 14.72 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.003756/0.6698, allocations: 1.273 MB / 0.6564 GB, free: 13.4 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.6698, allocations: 8.031 kB / 0.6564 GB, free: 13.39 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001907/0.6717, allocations: 322.5 kB / 0.6568 GB, free: 13.08 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/0.673, allocations: 0.5746 MB / 0.6573 GB, free: 12.46 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002714/0.6733, allocations: 197.8 kB / 0.6575 GB, free: 12.23 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001783/0.6735, allocations: 39.89 kB / 0.6575 GB, free: 12.2 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001044/0.6746, allocations: 0.5259 MB / 0.6581 GB, free: 11.67 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.6757, allocations: 0.5782 MB / 0.6586 GB, free: 11.08 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.6757, allocations: 0 / 0.6586 GB, free: 11.08 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.728e-05/0.6758, allocations: 4 kB / 0.6586 GB, free: 11.07 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/0.6758, allocations: 16 kB / 0.6586 GB, free: 11.06 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004999/0.6808, allocations: 2.635 MB / 0.6612 GB, free: 8.281 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.6819, allocations: 0.9008 MB / 0.6621 GB, free: 7.27 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005282/0.6825, allocations: 355.4 kB / 0.6624 GB, free: 6.918 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.867e-05/0.6826, allocations: 17.77 kB / 0.6624 GB, free: 6.898 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007533/0.6834, allocations: 475 kB / 0.6629 GB, free: 6.418 MB / 474.7 MB Notification: Performance of pre-optimization done (n=66): time 3.256e-06/0.6834, allocations: 0 / 0.6629 GB, free: 6.418 MB / 474.7 MB Notification: Performance of matching and sorting (n=66): time 0.008076/0.6915, allocations: 2.599 MB / 0.6654 GB, free: 3.801 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.6916, allocations: 85.7 kB / 0.6655 GB, free: 3.699 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009658/0.6925, allocations: 0.5472 MB / 0.6661 GB, free: 3.148 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001519/0.6927, allocations: 29.7 kB / 0.6661 GB, free: 3.113 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002754/0.693, allocations: 384.6 kB / 0.6664 GB, free: 2.73 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003076/0.6933, allocations: 220.6 kB / 0.6667 GB, free: 2.512 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.062e-05/0.6934, allocations: 0 / 0.6667 GB, free: 2.512 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.6935, allocations: 334 kB / 0.667 GB, free: 2.18 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005012/0.694, allocations: 277.6 kB / 0.6672 GB, free: 1.906 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005348/0.6945, allocations: 389.9 kB / 0.6676 GB, free: 1.492 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005011/0.6951, allocations: 311.3 kB / 0.6679 GB, free: 1.188 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.6951, allocations: 0 / 0.6679 GB, free: 1.188 MB / 474.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008179/0.7033, allocations: 2.665 MB / 0.6705 GB, free: 14.51 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.667e-05/0.7033, allocations: 4 kB / 0.6705 GB, free: 14.51 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.7034, allocations: 7.938 kB / 0.6705 GB, free: 14.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003664/0.707, allocations: 1.047 MB / 0.6715 GB, free: 13.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005286/0.7076, allocations: 107.9 kB / 0.6716 GB, free: 13.35 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01057/0.7182, allocations: 5.237 MB / 0.6768 GB, free: 7.988 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/0.7194, allocations: 119.6 kB / 0.6769 GB, free: 7.871 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/0.7195, allocations: 23.98 kB / 0.6769 GB, free: 7.848 MB / 490.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 () * 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.0002376/0.7198, allocations: 128.5 kB / 0.677 GB, free: 7.715 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00787/0.7277, allocations: 2.609 MB / 0.6796 GB, free: 5.094 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003556/0.7281, allocations: 82.97 kB / 0.6796 GB, free: 5.012 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008041/0.7361, allocations: 2.659 MB / 0.6822 GB, free: 2.332 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.101e-05/0.7362, allocations: 9.219 kB / 0.6823 GB, free: 2.324 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.7362, allocations: 4 kB / 0.6823 GB, free: 2.32 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.008e-05/0.7362, allocations: 0 / 0.6823 GB, free: 2.32 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009806/0.7461, allocations: 3.846 MB / 0.686 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.7461, allocations: 0 / 0.686 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004749/0.7466, allocations: 91.89 kB / 0.6861 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003418/0.75, allocations: 1.028 MB / 0.6871 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001137/0.7502, allocations: 4 kB / 0.6871 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009365/0.7596, allocations: 4.706 MB / 0.6917 GB, free: 8.414 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.7596, allocations: 0 / 0.6917 GB, free: 8.414 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008996/0.7686, allocations: 3.207 MB / 0.6948 GB, free: 5.18 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004242/0.7691, allocations: 179.8 kB / 0.695 GB, free: 4.984 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002393/0.7693, allocations: 4 kB / 0.695 GB, free: 4.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009575/0.7703, allocations: 97.03 kB / 0.6951 GB, free: 4.887 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004616/0.7708, allocations: 144.3 kB / 0.6952 GB, free: 4.742 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.423e-05/0.7709, allocations: 20 kB / 0.6953 GB, free: 4.723 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006191/0.7715, allocations: 435.2 kB / 0.6957 GB, free: 4.305 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.51e-07/0.7715, allocations: 0 / 0.6957 GB, free: 4.305 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001148/0.7727, allocations: 275.7 kB / 0.6959 GB, free: 4.035 MB / 0.4948 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 () * 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.009056/0.7817, allocations: 3.836 MB / 0.6997 GB, free: 160 kB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003545/0.7853, allocations: 1.297 MB / 0.7009 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.842e-06/0.7854, allocations: 0 / 0.7009 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002755/0.7881, allocations: 0.9871 MB / 0.7019 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007713/0.7889, allocations: 52 kB / 0.702 GB, free: 13.81 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00363/0.7926, allocations: 1.293 MB / 0.7032 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006092/0.7932, allocations: 0.9933 MB / 0.7042 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002765/0.7935, allocations: 48.55 kB / 0.7042 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004801/0.794, allocations: 307.3 kB / 0.7045 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of SimCode: time 1.232e-06/0.794, allocations: 0.8438 kB / 0.7045 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04623/0.8402, allocations: 19.91 MB / 0.724 GB, free: 7.379 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000187/0.8405, allocations: 115 kB / 0.7241 GB, free: 7.188 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.477/3.317, allocations: 0 / 0.7241 GB, free: 7.188 MB / 0.5261 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)