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.005372/0.005372, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.341/1.341, allocations: 222.9 MB / 239.4 MB, free: 4.543 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.001391/0.001391, allocations: 191.8 kB / 289.7 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4444/0.4444, allocations: 78.53 MB / 418.4 MB, free: 3.152 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001621/0.001621, allocations: 84.38 kB / 0.5531 GB, free: 1.508 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.287, allocations: 68.16 MB / 0.6197 GB, free: 9.395 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.004275/0.2913, allocations: 5.24 MB / 0.6248 GB, free: 4.93 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00202/0.2933, allocations: 1.403 MB / 0.6262 GB, free: 3.523 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003006/0.2936, allocations: 8 kB / 0.6262 GB, free: 3.516 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003262/0.294, allocations: 170.5 kB / 0.6263 GB, free: 3.348 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000574/0.2946, allocations: 369.4 kB / 0.6267 GB, free: 2.984 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001082/0.2957, allocations: 0.6284 MB / 0.6273 GB, free: 2.359 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006576/0.2963, allocations: 1.066 MB / 0.6283 GB, free: 1.289 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00027/0.2966, allocations: 227.7 kB / 0.6286 GB, free: 1.055 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003113/0.2969, allocations: 438.1 kB / 0.629 GB, free: 0.625 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004473/0.2974, allocations: 0.5327 MB / 0.6295 GB, free: 92 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.498e-05/0.2975, allocations: 76 kB / 0.6296 GB, free: 16 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002582/0.2977, allocations: 144 kB / 0.6297 GB, free: 15.88 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001651/0.2979, allocations: 211.1 kB / 0.6299 GB, free: 15.67 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003605/0.2983, allocations: 461.3 kB / 0.6303 GB, free: 15.21 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00097/0.2993, allocations: 1.084 MB / 0.6314 GB, free: 14.13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2993, allocations: 0 / 0.6314 GB, free: 14.13 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2993, allocations: 4 kB / 0.6314 GB, free: 14.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.631e-05/0.2993, allocations: 0 / 0.6314 GB, free: 14.12 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.004686/0.304, allocations: 1.756 MB / 0.6331 GB, free: 12.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.304, allocations: 12.03 kB / 0.6331 GB, free: 12.3 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001132/0.3042, allocations: 94.7 kB / 0.6332 GB, free: 12.2 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002652/0.3068, allocations: 454.4 kB / 0.6337 GB, free: 11.76 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009154/0.3078, allocations: 0.6272 MB / 0.6343 GB, free: 11.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002324/0.308, allocations: 205.8 kB / 0.6345 GB, free: 10.85 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.3081, allocations: 55.91 kB / 0.6345 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/0.3096, allocations: 0.7642 MB / 0.6353 GB, free: 10.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.3096, allocations: 0 / 0.6353 GB, free: 10.02 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-05/0.3097, allocations: 31.94 kB / 0.6353 GB, free: 9.988 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.3097, allocations: 15.94 kB / 0.6353 GB, free: 9.973 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001518/0.3112, allocations: 0.7 MB / 0.636 GB, free: 9.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004298/0.3155, allocations: 2.66 MB / 0.6386 GB, free: 6.453 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001517/0.3171, allocations: 1.038 MB / 0.6396 GB, free: 5.301 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009512/0.318, allocations: 0.4886 MB / 0.6401 GB, free: 4.805 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.717e-05/0.3181, allocations: 8.547 kB / 0.6401 GB, free: 4.797 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001139/0.3193, allocations: 0.592 MB / 0.6407 GB, free: 4.188 MB / 446.1 MB Notification: Performance of pre-optimization done (n=66): time 2.415e-06/0.3193, allocations: 0 / 0.6407 GB, free: 4.188 MB / 446.1 MB Notification: Performance of matching and sorting (n=66): time 0.0176/0.3369, allocations: 4.6 MB / 0.6452 GB, free: 15.55 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.337, allocations: 89.61 kB / 0.6452 GB, free: 15.45 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008556/0.3378, allocations: 0.708 MB / 0.6459 GB, free: 14.73 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.598e-05/0.3379, allocations: 37.7 kB / 0.646 GB, free: 14.69 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002518/0.3382, allocations: 380.8 kB / 0.6463 GB, free: 14.31 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002095/0.3384, allocations: 228.7 kB / 0.6466 GB, free: 14.08 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002186/0.3386, allocations: 106.2 kB / 0.6467 GB, free: 13.97 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.3387, allocations: 334 kB / 0.647 GB, free: 13.64 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000866/0.3396, allocations: 401.1 kB / 0.6474 GB, free: 13.25 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009314/0.3405, allocations: 0.5098 MB / 0.6479 GB, free: 12.7 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001793/0.3423, allocations: 0.912 MB / 0.6487 GB, free: 11.75 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.3424, allocations: 4 kB / 0.6487 GB, free: 11.74 MB / 462.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008135/0.3505, allocations: 2.582 MB / 0.6513 GB, free: 9.148 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.3505, allocations: 11.94 kB / 0.6513 GB, free: 9.137 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.3505, allocations: 0 / 0.6513 GB, free: 9.137 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003892/0.3544, allocations: 1.125 MB / 0.6524 GB, free: 8.012 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004378/0.3549, allocations: 99.89 kB / 0.6525 GB, free: 7.914 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01501/0.3699, allocations: 6.774 MB / 0.6591 GB, free: 0.9922 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009166/0.3709, allocations: 115.5 kB / 0.6592 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.333e-05/0.371, allocations: 23.98 kB / 0.6592 GB, free: 0.8555 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.0003138/0.3713, allocations: 201.6 kB / 0.6594 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.3714, allocations: 90.95 kB / 0.6595 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008271/0.3797, allocations: 2.63 MB / 0.6621 GB, free: 13.91 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.3797, allocations: 7.938 kB / 0.6621 GB, free: 13.9 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.3797, allocations: 0 / 0.6621 GB, free: 13.9 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.3797, allocations: 7.984 kB / 0.6621 GB, free: 13.89 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009498/0.3892, allocations: 3.82 MB / 0.6658 GB, free: 9.945 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.3893, allocations: 3.938 kB / 0.6658 GB, free: 9.941 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004289/0.3897, allocations: 83.89 kB / 0.6659 GB, free: 9.859 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003716/0.3934, allocations: 1.082 MB / 0.667 GB, free: 8.773 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.353e-05/0.3935, allocations: 12 kB / 0.667 GB, free: 8.762 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01299/0.4065, allocations: 6.008 MB / 0.6728 GB, free: 2.609 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.4066, allocations: 3.938 kB / 0.6728 GB, free: 2.605 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009346/0.4159, allocations: 3.228 MB / 0.676 GB, free: 15.35 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003093/0.4163, allocations: 171.9 kB / 0.6762 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.4164, allocations: 16 kB / 0.6762 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007523/0.4171, allocations: 75.91 kB / 0.6762 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004299/0.4176, allocations: 148.3 kB / 0.6764 GB, free: 14.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.822e-05/0.4176, allocations: 19.98 kB / 0.6764 GB, free: 14.91 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006022/0.4183, allocations: 0.4912 MB / 0.6769 GB, free: 14.43 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4183, allocations: 0 / 0.6769 GB, free: 14.43 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008677/0.4191, allocations: 295.7 kB / 0.6772 GB, free: 14.14 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.00956/0.4287, allocations: 3.78 MB / 0.6809 GB, free: 10.32 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004045/0.4328, allocations: 1.533 MB / 0.6824 GB, free: 8.766 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.4328, allocations: 0 / 0.6824 GB, free: 8.766 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002839/0.4356, allocations: 1.064 MB / 0.6834 GB, free: 7.691 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006618/0.4363, allocations: 73.03 kB / 0.6835 GB, free: 7.621 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0242/0.4605, allocations: 10.5 MB / 0.6937 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005405/0.4611, allocations: 0.9747 MB / 0.6947 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002486/0.4614, allocations: 69.12 kB / 0.6947 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000409/0.4618, allocations: 315.3 kB / 0.695 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of SimCode: time 8.82e-07/0.4618, allocations: 0 / 0.695 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04834/0.5101, allocations: 24.5 MB / 0.719 GB, free: 3.121 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.21/13.72, allocations: 13.84 kB / 0.719 GB, free: 3.109 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)