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.006098/0.006098, allocations: 97.62 kB / 15.73 MB, free: 6.023 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.457/1.457, allocations: 222.9 MB / 239.4 MB, free: 4.484 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.00148/0.00148, allocations: 188.5 kB / 289.7 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4663/0.4663, allocations: 78.53 MB / 418.4 MB, free: 3.176 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002461/0.002461, allocations: 84.08 kB / 0.5531 GB, free: 1.469 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3156, allocations: 68.16 MB / 0.6197 GB, free: 9.324 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.004751/0.3204, allocations: 5.245 MB / 0.6248 GB, free: 4.887 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002535/0.323, allocations: 1.399 MB / 0.6262 GB, free: 3.484 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005952/0.3236, allocations: 8 kB / 0.6262 GB, free: 3.477 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004309/0.324, allocations: 182.5 kB / 0.6264 GB, free: 3.297 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007552/0.3248, allocations: 329.3 kB / 0.6267 GB, free: 2.973 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001247/0.3261, allocations: 0.6207 MB / 0.6273 GB, free: 2.355 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009083/0.327, allocations: 1.066 MB / 0.6283 GB, free: 1.285 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003048/0.3273, allocations: 235.7 kB / 0.6285 GB, free: 1.043 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003942/0.3277, allocations: 438.1 kB / 0.629 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005057/0.3282, allocations: 0.5288 MB / 0.6295 GB, free: 84 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.659e-05/0.3284, allocations: 80 kB / 0.6295 GB, free: 4 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003429/0.3287, allocations: 136 kB / 0.6297 GB, free: 15.87 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002077/0.3289, allocations: 207 kB / 0.6299 GB, free: 15.67 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004442/0.3294, allocations: 465.3 kB / 0.6303 GB, free: 15.21 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001384/0.3308, allocations: 1.098 MB / 0.6314 GB, free: 14.11 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3308, allocations: 0 / 0.6314 GB, free: 14.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3308, allocations: 4 kB / 0.6314 GB, free: 14.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.496e-05/0.3308, allocations: 0 / 0.6314 GB, free: 14.11 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.005442/0.3363, allocations: 1.783 MB / 0.6331 GB, free: 12.27 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.3363, allocations: 11.97 kB / 0.6331 GB, free: 12.26 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001281/0.3365, allocations: 98.7 kB / 0.6332 GB, free: 12.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002736/0.3392, allocations: 455 kB / 0.6337 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/0.3405, allocations: 0.6319 MB / 0.6343 GB, free: 11.04 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002841/0.3408, allocations: 197.8 kB / 0.6345 GB, free: 10.81 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.3409, allocations: 56 kB / 0.6345 GB, free: 10.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001683/0.3426, allocations: 0.7642 MB / 0.6353 GB, free: 9.977 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.3426, allocations: 0 / 0.6353 GB, free: 9.977 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.889e-05/0.3427, allocations: 31.94 kB / 0.6353 GB, free: 9.945 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/0.3427, allocations: 15.98 kB / 0.6353 GB, free: 9.93 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001714/0.3445, allocations: 0.7 MB / 0.636 GB, free: 9.227 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00527/0.3497, allocations: 2.672 MB / 0.6386 GB, free: 6.398 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001851/0.3516, allocations: 1.035 MB / 0.6396 GB, free: 5.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001112/0.3528, allocations: 495.1 kB / 0.6401 GB, free: 4.758 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.866e-05/0.3529, allocations: 8.562 kB / 0.6401 GB, free: 4.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001368/0.3542, allocations: 0.5881 MB / 0.6407 GB, free: 4.145 MB / 446.1 MB Notification: Performance of pre-optimization done (n=66): time 2.464e-06/0.3542, allocations: 0 / 0.6407 GB, free: 4.145 MB / 446.1 MB Notification: Performance of matching and sorting (n=66): time 0.02062/0.3749, allocations: 4.605 MB / 0.6452 GB, free: 15.5 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.338e-05/0.375, allocations: 85.61 kB / 0.6453 GB, free: 15.4 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001226/0.3762, allocations: 0.7274 MB / 0.646 GB, free: 14.67 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001537/0.3764, allocations: 33.7 kB / 0.646 GB, free: 14.63 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003484/0.3768, allocations: 389.2 kB / 0.6464 GB, free: 14.24 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003636/0.3771, allocations: 234 kB / 0.6466 GB, free: 14.01 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000273/0.3774, allocations: 106.3 kB / 0.6467 GB, free: 13.9 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.3776, allocations: 334 kB / 0.647 GB, free: 13.57 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0011/0.3787, allocations: 401.1 kB / 0.6474 GB, free: 13.18 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001153/0.3799, allocations: 0.5059 MB / 0.6479 GB, free: 12.63 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002238/0.3821, allocations: 0.9198 MB / 0.6488 GB, free: 11.67 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.3821, allocations: 0 / 0.6488 GB, free: 11.67 MB / 462.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.009857/0.392, allocations: 2.59 MB / 0.6513 GB, free: 9.07 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.934e-05/0.3921, allocations: 7.938 kB / 0.6513 GB, free: 9.062 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.3921, allocations: 4.312 kB / 0.6513 GB, free: 9.059 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004677/0.3968, allocations: 1.124 MB / 0.6524 GB, free: 7.934 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005008/0.3973, allocations: 91.89 kB / 0.6525 GB, free: 7.844 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01841/0.4157, allocations: 6.788 MB / 0.6591 GB, free: 0.9062 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.4168, allocations: 119.5 kB / 0.6593 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/0.417, allocations: 23.94 kB / 0.6593 GB, free: 0.7656 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.0004197/0.4174, allocations: 201.7 kB / 0.6595 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002171/0.4176, allocations: 87.44 kB / 0.6596 GB, free: 484 kB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009953/0.4276, allocations: 2.634 MB / 0.6621 GB, free: 13.81 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-05/0.4276, allocations: 15.92 kB / 0.6621 GB, free: 13.8 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.4276, allocations: 0 / 0.6621 GB, free: 13.8 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.548e-05/0.4277, allocations: 7.984 kB / 0.6622 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01163/0.4393, allocations: 3.813 MB / 0.6659 GB, free: 9.855 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/0.4394, allocations: 0 / 0.6659 GB, free: 9.855 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004978/0.4399, allocations: 83.89 kB / 0.666 GB, free: 9.773 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004379/0.4443, allocations: 1.078 MB / 0.667 GB, free: 8.691 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001196/0.4444, allocations: 12 kB / 0.667 GB, free: 8.68 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01605/0.4605, allocations: 6.025 MB / 0.6729 GB, free: 2.512 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.4605, allocations: 3.984 kB / 0.6729 GB, free: 2.508 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01116/0.4717, allocations: 3.221 MB / 0.6761 GB, free: 15.26 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003327/0.472, allocations: 180.4 kB / 0.6762 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001831/0.4722, allocations: 16 kB / 0.6762 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008883/0.4731, allocations: 75.91 kB / 0.6763 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004951/0.4736, allocations: 144.3 kB / 0.6765 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.598e-05/0.4737, allocations: 19.98 kB / 0.6765 GB, free: 14.82 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007916/0.4745, allocations: 0.4951 MB / 0.677 GB, free: 14.33 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4745, allocations: 0 / 0.677 GB, free: 14.33 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001003/0.4755, allocations: 299.8 kB / 0.6772 GB, free: 14.04 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.01146/0.487, allocations: 3.78 MB / 0.6809 GB, free: 10.21 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004919/0.492, allocations: 1.544 MB / 0.6824 GB, free: 8.652 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.492, allocations: 4.125 kB / 0.6824 GB, free: 8.648 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003573/0.4956, allocations: 1.072 MB / 0.6835 GB, free: 7.566 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008847/0.4965, allocations: 75.31 kB / 0.6836 GB, free: 7.492 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02975/0.5263, allocations: 10.53 MB / 0.6938 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007945/0.5271, allocations: 0.9748 MB / 0.6948 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003009/0.5274, allocations: 61.14 kB / 0.6949 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000506/0.528, allocations: 319.3 kB / 0.6952 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of SimCode: time 7.42e-07/0.528, allocations: 4 kB / 0.6952 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06285/0.5908, allocations: 24.51 MB / 0.7191 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.98/14.57, allocations: 6.75 kB / 0.7191 GB, free: 2.949 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 & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_OpenIPSL_Tests_FACTS_STATCOM_Test.fmu > OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe 2>&1)