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.001421/0.001421, allocations: 173.9 kB / 7.648 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.509/1.509, allocations: 221.5 MB / 229.6 MB, free: 7.578 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.000899/0.000899, allocations: 101.8 kB / 280.5 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4741/0.4741, allocations: 78.13 MB / 409.4 MB, free: 6.492 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.068e-05/3.059e-05, allocations: 7.938 kB / 485.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1445, allocations: 69.36 MB / 0.5414 GB, free: 6.867 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4061/0.5506, allocations: 96.25 MB / 0.6354 GB, free: 3.352 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/0.5509, allocations: 71.97 kB / 0.6355 GB, free: 3.281 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05133/0.6022, allocations: 18.28 MB / 0.6533 GB, free: 1.066 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.6023, allocations: 0.5625 kB / 0.6533 GB, free: 1.066 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.794e-05/0.6023, allocations: 16 kB / 0.6533 GB, free: 1.051 MB / 458.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.003369/0.6057, allocations: 1.279 MB / 0.6546 GB, free: 15.73 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.6057, allocations: 12.03 kB / 0.6546 GB, free: 15.72 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001685/0.6074, allocations: 322.4 kB / 0.6549 GB, free: 15.4 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/0.6085, allocations: 0.5786 MB / 0.6555 GB, free: 14.78 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002379/0.6087, allocations: 186.9 kB / 0.6557 GB, free: 14.57 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.508e-05/0.6088, allocations: 31.91 kB / 0.6557 GB, free: 14.54 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009437/0.6098, allocations: 0.5337 MB / 0.6562 GB, free: 14 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.6108, allocations: 0.586 MB / 0.6568 GB, free: 13.4 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.6108, allocations: 0 / 0.6568 GB, free: 13.4 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.906e-05/0.6109, allocations: 0 / 0.6568 GB, free: 13.4 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.6109, allocations: 12 kB / 0.6568 GB, free: 13.39 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004493/0.6154, allocations: 2.639 MB / 0.6594 GB, free: 10.61 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.6165, allocations: 0.9049 MB / 0.6603 GB, free: 9.594 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004885/0.617, allocations: 359.3 kB / 0.6606 GB, free: 9.238 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.889e-05/0.617, allocations: 8.562 kB / 0.6606 GB, free: 9.23 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007136/0.6178, allocations: 469.2 kB / 0.6611 GB, free: 8.75 MB / 474.7 MB Notification: Performance of pre-optimization done (n=66): time 2.555e-06/0.6178, allocations: 0.5625 kB / 0.6611 GB, free: 8.75 MB / 474.7 MB Notification: Performance of matching and sorting (n=66): time 0.008034/0.6258, allocations: 2.599 MB / 0.6636 GB, free: 6.137 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.787e-05/0.6259, allocations: 85.67 kB / 0.6637 GB, free: 6.035 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008703/0.6268, allocations: 0.5511 MB / 0.6642 GB, free: 5.48 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001401/0.627, allocations: 25.7 kB / 0.6642 GB, free: 5.449 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000281/0.6273, allocations: 384.6 kB / 0.6646 GB, free: 5.066 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002647/0.6275, allocations: 221.7 kB / 0.6648 GB, free: 4.848 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-05/0.6276, allocations: 0 / 0.6648 GB, free: 4.848 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.6277, allocations: 330 kB / 0.6651 GB, free: 4.52 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004669/0.6282, allocations: 285.5 kB / 0.6654 GB, free: 4.238 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004682/0.6287, allocations: 385.9 kB / 0.6658 GB, free: 3.824 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004409/0.6291, allocations: 302.1 kB / 0.6661 GB, free: 3.531 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.6291, allocations: 4 kB / 0.6661 GB, free: 3.527 MB / 474.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008008/0.6371, allocations: 2.669 MB / 0.6687 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/0.6372, allocations: 8 kB / 0.6687 GB, free: 0.8398 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.6372, allocations: 0 / 0.6687 GB, free: 0.8398 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003635/0.6409, allocations: 1.051 MB / 0.6697 GB, free: 15.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004978/0.6414, allocations: 105 kB / 0.6698 GB, free: 15.69 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01019/0.6516, allocations: 5.237 MB / 0.6749 GB, free: 10.33 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/0.6528, allocations: 127.6 kB / 0.675 GB, free: 10.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.036e-05/0.6529, allocations: 27.98 kB / 0.6751 GB, free: 10.18 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.0002011/0.6531, allocations: 116.8 kB / 0.6752 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007883/0.661, allocations: 2.602 MB / 0.6777 GB, free: 7.438 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003563/0.6614, allocations: 86.97 kB / 0.6778 GB, free: 7.352 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007843/0.6692, allocations: 2.67 MB / 0.6804 GB, free: 4.66 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/0.6693, allocations: 8 kB / 0.6804 GB, free: 4.652 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.6693, allocations: 0 / 0.6804 GB, free: 4.652 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.799e-05/0.6693, allocations: 3.984 kB / 0.6804 GB, free: 4.648 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009455/0.6788, allocations: 3.835 MB / 0.6842 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.318e-06/0.6788, allocations: 4 kB / 0.6842 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004837/0.6793, allocations: 85.02 kB / 0.6842 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003372/0.6827, allocations: 1.035 MB / 0.6853 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/0.6828, allocations: 8 kB / 0.6853 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009203/0.692, allocations: 4.709 MB / 0.6899 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/0.6921, allocations: 0 / 0.6899 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008925/0.701, allocations: 3.203 MB / 0.693 GB, free: 7.516 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004526/0.7015, allocations: 175.8 kB / 0.6932 GB, free: 7.324 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/0.7016, allocations: 0 / 0.6932 GB, free: 7.324 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000841/0.7025, allocations: 99.91 kB / 0.6933 GB, free: 7.227 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004343/0.7029, allocations: 144.3 kB / 0.6934 GB, free: 7.086 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-05/0.703, allocations: 20 kB / 0.6934 GB, free: 7.066 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005646/0.7036, allocations: 435.2 kB / 0.6938 GB, free: 6.648 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7036, allocations: 0.9375 kB / 0.6938 GB, free: 6.648 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0009728/0.7046, allocations: 275.7 kB / 0.6941 GB, free: 6.379 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.009036/0.7136, allocations: 3.848 MB / 0.6978 GB, free: 2.484 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003289/0.7169, allocations: 1.297 MB / 0.6991 GB, free: 1.188 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.717, allocations: 7.938 kB / 0.6991 GB, free: 1.18 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002747/0.7197, allocations: 0.9763 MB / 0.7001 GB, free: 196 kB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006021/0.7203, allocations: 52.14 kB / 0.7001 GB, free: 140 kB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003156/0.7235, allocations: 1.286 MB / 0.7014 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005358/0.7241, allocations: 0.9972 MB / 0.7024 GB, free: 13.79 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000239/0.7243, allocations: 52.55 kB / 0.7024 GB, free: 13.74 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003776/0.7247, allocations: 303.3 kB / 0.7027 GB, free: 13.44 MB / 0.5105 GB Notification: Performance of SimCode: time 8.22e-07/0.7247, allocations: 2.438 kB / 0.7027 GB, free: 13.44 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04565/0.7704, allocations: 19.9 MB / 0.7221 GB, free: 9.715 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001803/0.7706, allocations: 126.9 kB / 0.7223 GB, free: 9.52 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.516/3.287, allocations: 2.188 kB / 0.7223 GB, free: 9.52 MB / 0.5261 GB (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)