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/ModelicaServices 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/Complex 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005927/0.005927, allocations: 102.2 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 222.9 MB / 239.4 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 195.7 kB / 289.7 MB, free: 2.277 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4528/0.4528, allocations: 78.52 MB / 418.4 MB, free: 3.102 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001619/0.00162, allocations: 83.86 kB / 0.5531 GB, free: 1.5 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3256, allocations: 68.16 MB / 0.6197 GB, free: 9.367 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.004235/0.3298, allocations: 5.251 MB / 0.6248 GB, free: 4.91 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001821/0.3317, allocations: 1.396 MB / 0.6262 GB, free: 3.512 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002587/0.3319, allocations: 8 kB / 0.6262 GB, free: 3.504 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003055/0.3323, allocations: 170.5 kB / 0.6263 GB, free: 3.336 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005144/0.3328, allocations: 329.4 kB / 0.6266 GB, free: 3.012 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009943/0.3338, allocations: 0.6365 MB / 0.6273 GB, free: 2.379 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006701/0.3345, allocations: 1.066 MB / 0.6283 GB, free: 1.309 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002683/0.3348, allocations: 231.7 kB / 0.6285 GB, free: 1.07 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002927/0.3351, allocations: 438.1 kB / 0.6289 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004562/0.3355, allocations: 0.5249 MB / 0.6295 GB, free: 116 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.266e-05/0.3356, allocations: 76 kB / 0.6295 GB, free: 40 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002468/0.3359, allocations: 148 kB / 0.6297 GB, free: 15.89 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000156/0.336, allocations: 207.1 kB / 0.6299 GB, free: 15.69 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003346/0.3364, allocations: 469.3 kB / 0.6303 GB, free: 15.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009059/0.3373, allocations: 1.084 MB / 0.6314 GB, free: 14.14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3373, allocations: 0 / 0.6314 GB, free: 14.14 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.3373, allocations: 0 / 0.6314 GB, free: 14.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.3373, allocations: 3.938 kB / 0.6314 GB, free: 14.14 MB / 446.1 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.004803/0.3421, allocations: 1.756 MB / 0.6331 GB, free: 12.33 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/0.3422, allocations: 8.031 kB / 0.6331 GB, free: 12.32 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001082/0.3423, allocations: 94.7 kB / 0.6332 GB, free: 12.22 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002585/0.3449, allocations: 450.4 kB / 0.6336 GB, free: 11.78 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009642/0.3459, allocations: 0.6272 MB / 0.6342 GB, free: 11.11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002313/0.3461, allocations: 205.8 kB / 0.6344 GB, free: 10.88 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.3462, allocations: 51.91 kB / 0.6345 GB, free: 10.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/0.3478, allocations: 0.772 MB / 0.6352 GB, free: 10.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.3478, allocations: 0 / 0.6352 GB, free: 10.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.232e-05/0.3479, allocations: 27.88 kB / 0.6353 GB, free: 10.01 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.3479, allocations: 12 kB / 0.6353 GB, free: 10 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00152/0.3494, allocations: 0.7 MB / 0.636 GB, free: 9.297 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004228/0.3536, allocations: 2.672 MB / 0.6386 GB, free: 6.469 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001511/0.3552, allocations: 1.035 MB / 0.6396 GB, free: 5.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009577/0.3561, allocations: 495.1 kB / 0.64 GB, free: 4.828 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.701e-05/0.3562, allocations: 12.55 kB / 0.6401 GB, free: 4.816 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001142/0.3574, allocations: 0.5842 MB / 0.6406 GB, free: 4.215 MB / 446.1 MB Notification: Performance of pre-optimization done (n=66): time 1.963e-06/0.3574, allocations: 0 / 0.6406 GB, free: 4.215 MB / 446.1 MB Notification: Performance of matching and sorting (n=66): time 0.01886/0.3763, allocations: 4.596 MB / 0.6451 GB, free: 15.58 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.3763, allocations: 93.64 kB / 0.6452 GB, free: 15.47 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009554/0.3773, allocations: 0.708 MB / 0.6459 GB, free: 14.76 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.942e-05/0.3774, allocations: 37.7 kB / 0.6459 GB, free: 14.71 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003033/0.3777, allocations: 384.8 kB / 0.6463 GB, free: 14.33 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003035/0.378, allocations: 228.7 kB / 0.6465 GB, free: 14.11 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002584/0.3783, allocations: 106.2 kB / 0.6466 GB, free: 13.99 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.3785, allocations: 330 kB / 0.6469 GB, free: 13.66 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000986/0.3794, allocations: 405.1 kB / 0.6473 GB, free: 13.27 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/0.3805, allocations: 0.5059 MB / 0.6478 GB, free: 12.73 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001909/0.3824, allocations: 0.9159 MB / 0.6487 GB, free: 11.77 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.186e-05/0.3824, allocations: 4 kB / 0.6487 GB, free: 11.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008847/0.3913, allocations: 2.582 MB / 0.6512 GB, free: 9.172 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.3913, allocations: 11.94 kB / 0.6512 GB, free: 9.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.3913, allocations: 7.938 kB / 0.6513 GB, free: 9.152 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004074/0.3954, allocations: 1.121 MB / 0.6524 GB, free: 8.031 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004138/0.3958, allocations: 95.89 kB / 0.6524 GB, free: 7.938 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01549/0.4113, allocations: 6.771 MB / 0.6591 GB, free: 1.016 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009454/0.4123, allocations: 119.5 kB / 0.6592 GB, free: 0.8984 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.008e-05/0.4124, allocations: 20 kB / 0.6592 GB, free: 0.8789 MB / 462.1 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 ($whenCondition2,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(18,10)} Notification: Performance of prepare postOptimizeDAE: time 0.000306/0.4127, allocations: 201.6 kB / 0.6594 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/0.4129, allocations: 86.97 kB / 0.6595 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008784/0.4217, allocations: 2.634 MB / 0.662 GB, free: 13.93 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.4217, allocations: 7.938 kB / 0.662 GB, free: 13.92 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.4217, allocations: 4 kB / 0.662 GB, free: 13.92 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.4217, allocations: 3.984 kB / 0.6621 GB, free: 13.91 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009906/0.4316, allocations: 3.824 MB / 0.6658 GB, free: 9.965 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.145e-05/0.4317, allocations: 0 / 0.6658 GB, free: 9.965 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004314/0.4321, allocations: 79.89 kB / 0.6659 GB, free: 9.887 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003895/0.436, allocations: 1.082 MB / 0.6669 GB, free: 8.801 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-05/0.4361, allocations: 12 kB / 0.6669 GB, free: 8.789 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01355/0.4497, allocations: 6.006 MB / 0.6728 GB, free: 2.641 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.4497, allocations: 3.938 kB / 0.6728 GB, free: 2.637 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009744/0.4594, allocations: 3.228 MB / 0.676 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002632/0.4597, allocations: 175.9 kB / 0.6761 GB, free: 15.19 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/0.4599, allocations: 12 kB / 0.6761 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007781/0.4606, allocations: 71.91 kB / 0.6762 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003983/0.4611, allocations: 156.3 kB / 0.6763 GB, free: 14.96 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.422e-05/0.4611, allocations: 19.98 kB / 0.6764 GB, free: 14.94 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005849/0.4617, allocations: 0.4912 MB / 0.6768 GB, free: 14.45 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4617, allocations: 0 / 0.6768 GB, free: 14.45 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008553/0.4626, allocations: 291.7 kB / 0.6771 GB, free: 14.17 MB / 494.1 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 () * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(17,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009956/0.4725, allocations: 3.784 MB / 0.6808 GB, free: 10.34 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004281/0.4768, allocations: 1.537 MB / 0.6823 GB, free: 8.789 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.4769, allocations: 0 / 0.6823 GB, free: 8.789 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003043/0.4799, allocations: 1.068 MB / 0.6834 GB, free: 7.711 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006309/0.4806, allocations: 75.31 kB / 0.6834 GB, free: 7.637 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02518/0.5058, allocations: 10.49 MB / 0.6937 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006117/0.5064, allocations: 0.9709 MB / 0.6946 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002763/0.5067, allocations: 73.06 kB / 0.6947 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004602/0.5072, allocations: 319.3 kB / 0.695 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of SimCode: time 6.71e-07/0.5072, allocations: 0 / 0.695 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05422/0.5614, allocations: 25.52 MB / 0.7199 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.37/13.93, allocations: 7.875 kB / 0.7199 GB, free: 2.117 MB / 0.5137 GB (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/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)