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/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.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 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_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/Complex 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 174.8 kB / 12.73 MB, free: 2.59 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.282/1.282, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008621/0.000862, allocations: 89.47 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4778/0.4778, allocations: 78.02 MB / 414.5 MB, free: 10.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.368e-05/3.381e-05, allocations: 4 kB / 491.9 MB, free: 13.83 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3405, allocations: 69.34 MB / 0.548 GB, free: 20.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1118/0.4523, allocations: 96.93 MB / 0.6427 GB, free: 3.496 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001671/0.4525, allocations: 71.91 kB / 0.6428 GB, free: 3.426 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04912/0.5016, allocations: 18.51 MB / 0.6608 GB, free: 0.7539 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5017, allocations: 0 / 0.6608 GB, free: 0.7539 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.934e-05/0.5017, allocations: 16 kB / 0.6609 GB, free: 0.7383 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.003542/0.5053, allocations: 1.278 MB / 0.6621 GB, free: 15.41 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.5053, allocations: 11.97 kB / 0.6621 GB, free: 15.4 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001986/0.5055, allocations: 98.45 kB / 0.6622 GB, free: 15.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001787/0.5073, allocations: 334.4 kB / 0.6625 GB, free: 14.97 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.5084, allocations: 0.5712 MB / 0.6631 GB, free: 14.36 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002472/0.5087, allocations: 205.8 kB / 0.6633 GB, free: 14.12 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001408/0.5089, allocations: 63.8 kB / 0.6633 GB, free: 14.06 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/0.51, allocations: 0.6472 MB / 0.664 GB, free: 13.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.51, allocations: 4 kB / 0.664 GB, free: 13.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.128e-05/0.5101, allocations: 20 kB / 0.664 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.5101, allocations: 12 kB / 0.664 GB, free: 13.37 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/0.5112, allocations: 0.5675 MB / 0.6646 GB, free: 12.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004955/0.5161, allocations: 2.726 MB / 0.6672 GB, free: 9.914 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.5173, allocations: 0.931 MB / 0.6681 GB, free: 8.867 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005656/0.5179, allocations: 377.4 kB / 0.6685 GB, free: 8.492 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.862e-05/0.518, allocations: 12.55 kB / 0.6685 GB, free: 8.48 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008027/0.5188, allocations: 488.6 kB / 0.669 GB, free: 7.992 MB / 490.7 MB Notification: Performance of pre-optimization done (n=66): time 2.485e-06/0.5188, allocations: 0 / 0.669 GB, free: 7.992 MB / 490.7 MB Notification: Performance of matching and sorting (n=66): time 0.008019/0.5268, allocations: 2.653 MB / 0.6716 GB, free: 5.32 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.608e-05/0.5269, allocations: 85.67 kB / 0.6716 GB, free: 5.219 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.528, allocations: 0.602 MB / 0.6722 GB, free: 4.605 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001456/0.5281, allocations: 41.62 kB / 0.6723 GB, free: 4.559 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003036/0.5285, allocations: 380.8 kB / 0.6726 GB, free: 4.184 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003126/0.5288, allocations: 240.5 kB / 0.6729 GB, free: 3.945 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-05/0.5288, allocations: 12 kB / 0.6729 GB, free: 3.934 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.529, allocations: 334 kB / 0.6732 GB, free: 3.602 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000547/0.5295, allocations: 289.6 kB / 0.6735 GB, free: 3.32 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005805/0.5301, allocations: 399.5 kB / 0.6739 GB, free: 2.891 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005929/0.5307, allocations: 327.2 kB / 0.6742 GB, free: 2.57 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.5307, allocations: 0 / 0.6742 GB, free: 2.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.2834/0.8141, allocations: 2.714 MB / 0.6768 GB, free: 109.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/0.8142, allocations: 9.484 kB / 0.6768 GB, free: 109.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.8142, allocations: 2.906 kB / 0.6768 GB, free: 109.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00393/0.8181, allocations: 1.068 MB / 0.6779 GB, free: 109.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005053/0.8187, allocations: 104.8 kB / 0.678 GB, free: 109.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01066/0.8293, allocations: 5.415 MB / 0.6833 GB, free: 107.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/0.8304, allocations: 140.3 kB / 0.6834 GB, free: 107.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.8305, allocations: 23.98 kB / 0.6834 GB, free: 107.8 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.0001679/0.8307, allocations: 145.5 kB / 0.6836 GB, free: 107.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001902/0.8309, allocations: 89.81 kB / 0.6836 GB, free: 107.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007978/0.8389, allocations: 2.724 MB / 0.6863 GB, free: 107.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.8389, allocations: 7.531 kB / 0.6863 GB, free: 107.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.8389, allocations: 0 / 0.6863 GB, free: 107.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.8389, allocations: 10.44 kB / 0.6863 GB, free: 107.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008176/0.8471, allocations: 3.971 MB / 0.6902 GB, free: 106.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.8471, allocations: 0 / 0.6902 GB, free: 106.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003638/0.8475, allocations: 95.16 kB / 0.6903 GB, free: 106.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003012/0.8505, allocations: 1.033 MB / 0.6913 GB, free: 106.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.491e-05/0.8506, allocations: 15.66 kB / 0.6913 GB, free: 106.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007806/0.8584, allocations: 4.812 MB / 0.696 GB, free: 103.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.8584, allocations: 3.625 kB / 0.696 GB, free: 103.4 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007814/0.8663, allocations: 3.264 MB / 0.6992 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000235/0.8665, allocations: 175.5 kB / 0.6994 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/0.8667, allocations: 11.91 kB / 0.6994 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007809/0.8674, allocations: 114.5 kB / 0.6995 GB, free: 102.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003493/0.8678, allocations: 148.7 kB / 0.6996 GB, free: 102.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.964e-05/0.8679, allocations: 15.91 kB / 0.6996 GB, free: 102.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004795/0.8683, allocations: 489.5 kB / 0.7001 GB, free: 102 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8684, allocations: 0 / 0.7001 GB, free: 102 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008512/0.8692, allocations: 310 kB / 0.7004 GB, free: 102 MB / 490.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 () * 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.007995/0.8772, allocations: 3.901 MB / 0.7042 GB, free: 99.91 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003121/0.8803, allocations: 1.361 MB / 0.7055 GB, free: 98.65 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.8804, allocations: 0 / 0.7055 GB, free: 98.65 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002416/0.8828, allocations: 1.013 MB / 0.7065 GB, free: 97.75 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005132/0.8833, allocations: 61.19 kB / 0.7066 GB, free: 97.69 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002647/0.886, allocations: 1.338 MB / 0.7079 GB, free: 96.49 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.8863, allocations: 0.9948 MB / 0.7089 GB, free: 95.59 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002234/0.8866, allocations: 51.75 kB / 0.7089 GB, free: 95.55 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003053/0.8869, allocations: 307 kB / 0.7092 GB, free: 95.29 MB / 490.7 MB Notification: Performance of SimCode: time 5.31e-07/0.8869, allocations: 0 / 0.7092 GB, free: 95.29 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03545/0.9223, allocations: 21.42 MB / 0.7301 GB, free: 76.39 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001636/0.9225, allocations: 171.5 kB / 0.7303 GB, free: 76.15 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.313/3.235, allocations: 3.719 kB / 0.7303 GB, free: 76.15 MB / 490.7 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)