Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.FACTS.STATCOM_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_FACTS_STATCOM_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.FACTS.STATCOM_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_FACTS_STATCOM_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08944/0.08944, allocations: 12.59 MB / 28.22 MB, free: 0.7656 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.00132, allocations: 111.4 kB / 31.84 MB, free: 3.895 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.349/1.349, allocations: 205.1 MB / 240.4 MB, free: 12.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 183.4 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4458/0.4458, allocations: 78.52 MB / 419.3 MB, free: 11.22 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00387/0.003871, allocations: 139 kB / 0.5553 GB, free: 28.97 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1163, allocations: 68.13 MB / 0.6219 GB, free: 88 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.006544/0.1228, allocations: 5.286 MB / 0.627 GB, free: 10.78 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002925/0.1258, allocations: 1.373 MB / 0.6284 GB, free: 9.398 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003813/0.1262, allocations: 11.94 kB / 0.6284 GB, free: 9.387 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000405/0.1267, allocations: 162.6 kB / 0.6285 GB, free: 9.227 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007123/0.1274, allocations: 329.4 kB / 0.6289 GB, free: 8.902 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001432/0.1288, allocations: 0.6422 MB / 0.6295 GB, free: 8.262 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00124/0.1301, allocations: 1.054 MB / 0.6305 GB, free: 7.203 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003902/0.1305, allocations: 239.8 kB / 0.6307 GB, free: 6.953 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005468/0.131, allocations: 438.1 kB / 0.6312 GB, free: 6.523 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006891/0.1317, allocations: 0.5327 MB / 0.6317 GB, free: 5.988 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001281/0.1319, allocations: 76 kB / 0.6318 GB, free: 5.914 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002885/0.1322, allocations: 136 kB / 0.6319 GB, free: 5.781 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001988/0.1324, allocations: 203.1 kB / 0.6321 GB, free: 5.582 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004341/0.1328, allocations: 469.2 kB / 0.6325 GB, free: 5.121 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001249/0.1341, allocations: 1.089 MB / 0.6336 GB, free: 4.027 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1341, allocations: 0 / 0.6336 GB, free: 4.027 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1341, allocations: 0 / 0.6336 GB, free: 4.027 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.756e-05/0.1341, allocations: 4 kB / 0.6336 GB, free: 4.023 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.00515/0.1393, allocations: 1.787 MB / 0.6353 GB, free: 2.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.1393, allocations: 19.98 kB / 0.6354 GB, free: 2.16 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001288/0.1394, allocations: 94.7 kB / 0.6354 GB, free: 2.059 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002678/0.1421, allocations: 447.1 kB / 0.6359 GB, free: 1.621 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.1432, allocations: 0.6396 MB / 0.6365 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002662/0.1435, allocations: 201.8 kB / 0.6367 GB, free: 0.707 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.1436, allocations: 48 kB / 0.6367 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001651/0.1453, allocations: 0.7719 MB / 0.6375 GB, free: 15.88 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.1453, allocations: 0 / 0.6375 GB, free: 15.88 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.237e-05/0.1454, allocations: 27.94 kB / 0.6375 GB, free: 15.85 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.1454, allocations: 12 kB / 0.6375 GB, free: 15.84 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001677/0.1471, allocations: 0.7 MB / 0.6382 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004755/0.1518, allocations: 2.676 MB / 0.6408 GB, free: 12.3 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00173/0.1536, allocations: 1.04 MB / 0.6418 GB, free: 11.16 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001052/0.1546, allocations: 487.2 kB / 0.6423 GB, free: 10.68 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.847e-05/0.1547, allocations: 16.53 kB / 0.6423 GB, free: 10.66 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001274/0.156, allocations: 0.5919 MB / 0.6429 GB, free: 10.05 MB / 462.1 MB Notification: Performance of pre-optimization done (n=66): time 2.244e-06/0.156, allocations: 0 / 0.6429 GB, free: 10.05 MB / 462.1 MB Notification: Performance of matching and sorting (n=66): time 0.01954/0.1756, allocations: 4.604 MB / 0.6474 GB, free: 5.41 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.38e-05/0.1757, allocations: 85.67 kB / 0.6475 GB, free: 5.309 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009988/0.1767, allocations: 0.7157 MB / 0.6482 GB, free: 4.586 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001005/0.1768, allocations: 37.7 kB / 0.6482 GB, free: 4.543 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003027/0.1771, allocations: 373.2 kB / 0.6486 GB, free: 4.172 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002632/0.1774, allocations: 249.8 kB / 0.6488 GB, free: 3.926 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002412/0.1776, allocations: 110.3 kB / 0.6489 GB, free: 3.809 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.1778, allocations: 330 kB / 0.6492 GB, free: 3.48 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009881/0.1788, allocations: 409.1 kB / 0.6496 GB, free: 3.082 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001076/0.1799, allocations: 0.5058 MB / 0.6501 GB, free: 2.535 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002069/0.1819, allocations: 0.9159 MB / 0.651 GB, free: 1.578 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.1819, allocations: 0 / 0.651 GB, free: 1.578 MB / 462.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00921/0.1912, allocations: 2.594 MB / 0.6535 GB, free: 14.97 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.1912, allocations: 11.94 kB / 0.6536 GB, free: 14.96 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.1912, allocations: 0 / 0.6536 GB, free: 14.96 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004325/0.1956, allocations: 1.128 MB / 0.6547 GB, free: 13.83 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004551/0.196, allocations: 103.8 kB / 0.6548 GB, free: 13.73 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01669/0.2127, allocations: 6.77 MB / 0.6614 GB, free: 6.805 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009618/0.2137, allocations: 99.59 kB / 0.6615 GB, free: 6.707 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.555e-05/0.2138, allocations: 27.98 kB / 0.6615 GB, free: 6.68 MB / 478.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.0003376/0.2142, allocations: 205.6 kB / 0.6617 GB, free: 6.469 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001527/0.2143, allocations: 99.33 kB / 0.6618 GB, free: 6.371 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009315/0.2236, allocations: 2.619 MB / 0.6643 GB, free: 3.742 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.576e-05/0.2237, allocations: 15.88 kB / 0.6643 GB, free: 3.727 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.2237, allocations: 0 / 0.6643 GB, free: 3.727 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.656e-05/0.2237, allocations: 7.984 kB / 0.6644 GB, free: 3.719 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01096/0.2347, allocations: 3.824 MB / 0.6681 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/0.2347, allocations: 4 kB / 0.6681 GB, free: 15.76 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004395/0.2352, allocations: 79.89 kB / 0.6682 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00409/0.2393, allocations: 1.07 MB / 0.6692 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-05/0.2394, allocations: 15.98 kB / 0.6692 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0147/0.2541, allocations: 6.026 MB / 0.6751 GB, free: 8.426 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.2541, allocations: 4 kB / 0.6751 GB, free: 8.422 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01051/0.2646, allocations: 3.221 MB / 0.6783 GB, free: 5.18 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000317/0.265, allocations: 184.4 kB / 0.6784 GB, free: 4.98 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001623/0.2652, allocations: 20 kB / 0.6785 GB, free: 4.961 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008457/0.266, allocations: 75.91 kB / 0.6785 GB, free: 4.887 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004601/0.2665, allocations: 144.4 kB / 0.6787 GB, free: 4.746 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.055e-05/0.2665, allocations: 16 kB / 0.6787 GB, free: 4.73 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007194/0.2673, allocations: 0.4951 MB / 0.6792 GB, free: 4.242 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2673, allocations: 0 / 0.6792 GB, free: 4.242 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000947/0.2682, allocations: 299.7 kB / 0.6795 GB, free: 3.949 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.01073/0.279, allocations: 3.788 MB / 0.6832 GB, free: 124 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004533/0.2835, allocations: 1.533 MB / 0.6847 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.2836, allocations: 0 / 0.6847 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00321/0.2868, allocations: 1.064 MB / 0.6857 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006738/0.2875, allocations: 79.3 kB / 0.6858 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02683/0.3143, allocations: 10.52 MB / 0.696 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006892/0.315, allocations: 0.9747 MB / 0.697 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002517/0.3153, allocations: 65.14 kB / 0.697 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004727/0.3158, allocations: 319.3 kB / 0.6974 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of SimCode: time 5.61e-07/0.3158, allocations: 3.938 kB / 0.6974 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2962/0.612, allocations: 24.52 MB / 0.7213 GB, free: 89.22 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.88/14.49, allocations: 16.36 kB / 0.7213 GB, free: 89.21 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_FACTS_STATCOM_Test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_FACTS_STATCOM_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe 2>&1)