Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.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 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_dev_OpenIPSL_Tests_FACTS_STATCOM_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.FACTS.STATCOM_Test,fileNamePrefix="OpenIPSL_dev_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.007295/0.007295, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.236/1.236, allocations: 222.9 MB / 239.4 MB, free: 4.562 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.001393/0.001393, allocations: 192.5 kB / 289.7 MB, free: 2.277 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4887/0.4887, allocations: 91.9 MB / 431.8 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 81.48 kB / 0.5722 GB, free: 33.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1215, allocations: 71.28 MB / 0.6418 GB, free: 4.117 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.005295/0.1269, allocations: 5.254 MB / 0.6469 GB, free: 14.84 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002538/0.1294, allocations: 1.411 MB / 0.6483 GB, free: 13.43 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003219/0.1298, allocations: 4 kB / 0.6483 GB, free: 13.42 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003893/0.1302, allocations: 170.5 kB / 0.6485 GB, free: 13.25 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006705/0.1309, allocations: 373.4 kB / 0.6488 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.1322, allocations: 0.6356 MB / 0.6495 GB, free: 12.25 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008962/0.1331, allocations: 1.058 MB / 0.6505 GB, free: 11.19 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003146/0.1334, allocations: 227.7 kB / 0.6507 GB, free: 10.96 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004062/0.1338, allocations: 434.2 kB / 0.6511 GB, free: 10.53 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005446/0.1344, allocations: 0.5288 MB / 0.6516 GB, free: 10 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.907e-05/0.1345, allocations: 80 kB / 0.6517 GB, free: 9.922 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002427/0.1347, allocations: 147.9 kB / 0.6519 GB, free: 9.777 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001581/0.1349, allocations: 199.1 kB / 0.6521 GB, free: 9.582 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003348/0.1352, allocations: 469.2 kB / 0.6525 GB, free: 9.121 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009182/0.1362, allocations: 1.082 MB / 0.6536 GB, free: 8.039 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1362, allocations: 0 / 0.6536 GB, free: 8.039 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1362, allocations: 3.938 kB / 0.6536 GB, free: 8.035 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.1362, allocations: 0 / 0.6536 GB, free: 8.035 MB / 462.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.004396/0.1406, allocations: 1.756 MB / 0.6553 GB, free: 6.223 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.1406, allocations: 8.031 kB / 0.6553 GB, free: 6.215 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001115/0.1408, allocations: 106.6 kB / 0.6554 GB, free: 6.102 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002422/0.1432, allocations: 442.5 kB / 0.6558 GB, free: 5.668 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009139/0.1441, allocations: 0.6312 MB / 0.6564 GB, free: 4.996 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002214/0.1444, allocations: 197.8 kB / 0.6566 GB, free: 4.77 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.584e-05/0.1445, allocations: 59.91 kB / 0.6567 GB, free: 4.711 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/0.1458, allocations: 0.7681 MB / 0.6574 GB, free: 3.93 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.1459, allocations: 0 / 0.6574 GB, free: 3.93 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.104e-05/0.1459, allocations: 23.94 kB / 0.6574 GB, free: 3.906 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.1459, allocations: 12 kB / 0.6575 GB, free: 3.895 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001384/0.1473, allocations: 0.7039 MB / 0.6581 GB, free: 3.191 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004032/0.1514, allocations: 2.664 MB / 0.6607 GB, free: 380 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/0.1528, allocations: 1.034 MB / 0.6618 GB, free: 15.23 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008794/0.1537, allocations: 491.2 kB / 0.6622 GB, free: 14.74 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.351e-05/0.1538, allocations: 16.48 kB / 0.6622 GB, free: 14.72 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00108/0.1549, allocations: 0.5958 MB / 0.6628 GB, free: 14.11 MB / 478.1 MB Notification: Performance of pre-optimization done (n=66): time 2.324e-06/0.1549, allocations: 0 / 0.6628 GB, free: 14.11 MB / 478.1 MB Notification: Performance of matching and sorting (n=66): time 0.01645/0.1714, allocations: 4.604 MB / 0.6673 GB, free: 9.469 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.1715, allocations: 85.61 kB / 0.6674 GB, free: 9.367 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008777/0.1723, allocations: 0.7158 MB / 0.6681 GB, free: 8.637 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.907e-05/0.1724, allocations: 37.64 kB / 0.6681 GB, free: 8.594 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002634/0.1727, allocations: 380.8 kB / 0.6685 GB, free: 8.219 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002268/0.1729, allocations: 224.7 kB / 0.6687 GB, free: 7.996 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002129/0.1731, allocations: 102.2 kB / 0.6688 GB, free: 7.891 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.1733, allocations: 338 kB / 0.6691 GB, free: 7.555 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008339/0.1741, allocations: 401.1 kB / 0.6695 GB, free: 7.164 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009214/0.175, allocations: 0.5098 MB / 0.67 GB, free: 6.613 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001704/0.1767, allocations: 0.9276 MB / 0.6709 GB, free: 5.641 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.1768, allocations: 0 / 0.6709 GB, free: 5.641 MB / 478.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.007751/0.1845, allocations: 2.59 MB / 0.6734 GB, free: 3.043 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/0.1846, allocations: 8.875 kB / 0.6735 GB, free: 3.035 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/0.1846, allocations: 8 kB / 0.6735 GB, free: 3.027 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003714/0.1883, allocations: 1.121 MB / 0.6746 GB, free: 1.906 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004277/0.1887, allocations: 91.89 kB / 0.6746 GB, free: 1.816 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01401/0.2028, allocations: 6.769 MB / 0.6813 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008968/0.2037, allocations: 115.5 kB / 0.6814 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.677e-05/0.2038, allocations: 20 kB / 0.6814 GB, free: 10.76 MB / 494.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.0003057/0.2041, allocations: 197.7 kB / 0.6816 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.2042, allocations: 82.97 kB / 0.6817 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007678/0.2119, allocations: 2.638 MB / 0.6842 GB, free: 7.824 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.589e-05/0.2119, allocations: 11.94 kB / 0.6842 GB, free: 7.812 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.212, allocations: 3.984 kB / 0.6842 GB, free: 7.809 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.212, allocations: 0 / 0.6842 GB, free: 7.809 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009013/0.221, allocations: 3.824 MB / 0.688 GB, free: 3.855 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.016e-06/0.221, allocations: 0 / 0.688 GB, free: 3.855 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003871/0.2214, allocations: 87.89 kB / 0.6881 GB, free: 3.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003433/0.2249, allocations: 1.07 MB / 0.6891 GB, free: 2.695 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-05/0.225, allocations: 15.98 kB / 0.6891 GB, free: 2.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01252/0.2375, allocations: 6.01 MB / 0.695 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.2375, allocations: 3.984 kB / 0.695 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00889/0.2464, allocations: 3.22 MB / 0.6981 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003137/0.2468, allocations: 171.8 kB / 0.6983 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001625/0.2469, allocations: 16 kB / 0.6983 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007762/0.2477, allocations: 79.91 kB / 0.6984 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004465/0.2482, allocations: 140.4 kB / 0.6985 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.779e-05/0.2483, allocations: 20 kB / 0.6985 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006727/0.249, allocations: 0.499 MB / 0.699 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.249, allocations: 0 / 0.699 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009843/0.25, allocations: 299.7 kB / 0.6993 GB, free: 8.051 MB / 0.4981 GB 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.009167/0.2591, allocations: 3.78 MB / 0.703 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004039/0.2632, allocations: 1.537 MB / 0.7045 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.2632, allocations: 7.938 kB / 0.7045 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002796/0.266, allocations: 1.049 MB / 0.7055 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008194/0.2669, allocations: 79.3 kB / 0.7056 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02347/0.2904, allocations: 10.49 MB / 0.7159 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005749/0.291, allocations: 0.9787 MB / 0.7168 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002402/0.2912, allocations: 65.14 kB / 0.7169 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000409/0.2917, allocations: 315.3 kB / 0.7172 GB, free: 5.453 MB / 0.5137 GB Notification: Performance of SimCode: time 8.32e-07/0.2917, allocations: 0 / 0.7172 GB, free: 5.453 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05228/0.344, allocations: 24.52 MB / 0.7411 GB, free: 13.04 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.89/13.23, allocations: 4.062 kB / 0.7411 GB, free: 13.03 MB / 0.545 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_FACTS_STATCOM_Test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_FACTS_STATCOM_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe 2>&1)