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.001515/0.001515, allocations: 174.3 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.403/1.403, allocations: 221.4 MB / 234.6 MB, free: 14.44 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.0008336/0.0008332, allocations: 87.11 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.462/0.462, allocations: 78.08 MB / 414.6 MB, free: 10.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.205e-05/3.209e-05, allocations: 4 kB / 491.9 MB, free: 13.95 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3712, allocations: 69.34 MB / 0.5481 GB, free: 20.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1248/0.4961, allocations: 96.92 MB / 0.6427 GB, free: 3.602 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/0.4964, allocations: 79.97 kB / 0.6428 GB, free: 3.523 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05022/0.5466, allocations: 18.51 MB / 0.6609 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5466, allocations: 4 kB / 0.6609 GB, free: 0.8438 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.61e-05/0.5467, allocations: 12 kB / 0.6609 GB, free: 0.832 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.003854/0.5506, allocations: 1.27 MB / 0.6621 GB, free: 15.52 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/0.5506, allocations: 11.97 kB / 0.6622 GB, free: 15.5 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002543/0.5509, allocations: 102.5 kB / 0.6622 GB, free: 15.39 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001963/0.5529, allocations: 326.4 kB / 0.6626 GB, free: 15.07 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/0.5542, allocations: 0.5713 MB / 0.6631 GB, free: 14.46 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002583/0.5545, allocations: 209.7 kB / 0.6633 GB, free: 14.23 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001571/0.5547, allocations: 67.84 kB / 0.6634 GB, free: 14.16 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.5559, allocations: 0.6511 MB / 0.664 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.5559, allocations: 0 / 0.664 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.49e-05/0.556, allocations: 20 kB / 0.664 GB, free: 13.48 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.556, allocations: 16 kB / 0.6641 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.5571, allocations: 0.5558 MB / 0.6646 GB, free: 12.9 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004996/0.5621, allocations: 2.723 MB / 0.6673 GB, free: 10.02 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/0.5633, allocations: 0.937 MB / 0.6682 GB, free: 8.977 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005727/0.5639, allocations: 375.3 kB / 0.6685 GB, free: 8.605 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.836e-05/0.564, allocations: 16.53 kB / 0.6685 GB, free: 8.59 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008028/0.5648, allocations: 490.4 kB / 0.669 GB, free: 8.09 MB / 490.7 MB Notification: Performance of pre-optimization done (n=66): time 2.825e-06/0.5648, allocations: 0 / 0.669 GB, free: 8.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=66): time 0.008085/0.5729, allocations: 2.649 MB / 0.6716 GB, free: 5.422 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/0.573, allocations: 89.66 kB / 0.6717 GB, free: 5.316 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/0.5741, allocations: 0.5981 MB / 0.6723 GB, free: 4.707 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001351/0.5742, allocations: 41.7 kB / 0.6723 GB, free: 4.66 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000322/0.5745, allocations: 380.8 kB / 0.6727 GB, free: 4.285 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000333/0.5749, allocations: 232.5 kB / 0.6729 GB, free: 4.055 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.851e-05/0.5749, allocations: 16 kB / 0.6729 GB, free: 4.039 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.5751, allocations: 334 kB / 0.6732 GB, free: 3.707 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005661/0.5757, allocations: 293.5 kB / 0.6735 GB, free: 3.422 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006185/0.5763, allocations: 403.5 kB / 0.6739 GB, free: 2.988 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005989/0.5769, allocations: 319.2 kB / 0.6742 GB, free: 2.676 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.5769, allocations: 4 kB / 0.6742 GB, free: 2.672 MB / 490.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.304/0.8809, allocations: 2.716 MB / 0.6769 GB, free: 109 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.274e-05/0.881, allocations: 6.641 kB / 0.6769 GB, free: 109 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.881, allocations: 3.094 kB / 0.6769 GB, free: 109 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004139/0.8852, allocations: 1.066 MB / 0.6779 GB, free: 109 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005259/0.8857, allocations: 106.2 kB / 0.678 GB, free: 109 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01118/0.8969, allocations: 5.415 MB / 0.6833 GB, free: 107.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/0.8981, allocations: 142.4 kB / 0.6834 GB, free: 107.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.577e-05/0.8982, allocations: 22.38 kB / 0.6835 GB, free: 107.6 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.000171/0.8983, allocations: 139.4 kB / 0.6836 GB, free: 107.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/0.8985, allocations: 92.02 kB / 0.6837 GB, free: 107.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008464/0.907, allocations: 2.731 MB / 0.6863 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.657e-05/0.907, allocations: 7.625 kB / 0.6863 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.907, allocations: 0 / 0.6863 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.729e-05/0.9071, allocations: 3.281 kB / 0.6863 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009155/0.9162, allocations: 3.972 MB / 0.6902 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/0.9163, allocations: 0 / 0.6902 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004474/0.9167, allocations: 93.59 kB / 0.6903 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003126/0.9199, allocations: 1.035 MB / 0.6913 GB, free: 106.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-05/0.92, allocations: 11.72 kB / 0.6913 GB, free: 106.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008578/0.9285, allocations: 4.819 MB / 0.696 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.9286, allocations: 0 / 0.696 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008045/0.9366, allocations: 3.273 MB / 0.6992 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003535/0.937, allocations: 175.6 kB / 0.6994 GB, free: 102.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/0.9372, allocations: 14.97 kB / 0.6994 GB, free: 102.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000795/0.938, allocations: 108.2 kB / 0.6995 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004196/0.9384, allocations: 147.8 kB / 0.6997 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.442e-05/0.9385, allocations: 17.06 kB / 0.6997 GB, free: 102.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005816/0.939, allocations: 488.4 kB / 0.7001 GB, free: 101.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.9391, allocations: 0 / 0.7001 GB, free: 101.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009816/0.94, allocations: 307 kB / 0.7004 GB, free: 101.9 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.008258/0.9483, allocations: 3.903 MB / 0.7043 GB, free: 100.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003255/0.9516, allocations: 1.355 MB / 0.7056 GB, free: 98.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.9516, allocations: 0 / 0.7056 GB, free: 98.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002482/0.9541, allocations: 1.011 MB / 0.7066 GB, free: 97.89 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006167/0.9547, allocations: 71.05 kB / 0.7066 GB, free: 97.82 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003047/0.9578, allocations: 1.341 MB / 0.7079 GB, free: 96.63 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.9582, allocations: 0.9904 MB / 0.7089 GB, free: 95.73 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002409/0.9584, allocations: 51.05 kB / 0.709 GB, free: 95.69 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003304/0.9588, allocations: 306.3 kB / 0.7092 GB, free: 95.42 MB / 490.7 MB Notification: Performance of SimCode: time 5.91e-07/0.9588, allocations: 0 / 0.7092 GB, free: 95.42 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04179/1.001, allocations: 21.44 MB / 0.7302 GB, free: 76.55 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002352/1.001, allocations: 165 kB / 0.7303 GB, free: 76.33 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.5/3.501, allocations: 0 / 0.7303 GB, free: 76.33 MB / 490.7 MB (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)