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.001266/0.001266, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 222.9 MB / 239.3 MB, free: 4.629 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.001257/0.001257, allocations: 196.5 kB / 289.6 MB, free: 2.348 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4185/0.4185, allocations: 78.53 MB / 418.2 MB, free: 3.289 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 83.88 kB / 497.5 MB, free: 6.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1098, allocations: 68.18 MB / 0.5525 GB, free: 2.172 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.1828/0.2926, allocations: 5.226 MB / 0.5576 GB, free: 36.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002126/0.2947, allocations: 1.405 MB / 0.5589 GB, free: 36.12 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002824/0.295, allocations: 6.406 kB / 0.5589 GB, free: 36.12 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003475/0.2954, allocations: 173.1 kB / 0.5591 GB, free: 36.11 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005616/0.296, allocations: 327.4 kB / 0.5594 GB, free: 36.06 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.2971, allocations: 0.6348 MB / 0.56 GB, free: 35.93 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007329/0.2979, allocations: 1.048 MB / 0.5611 GB, free: 35.89 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002861/0.2981, allocations: 234.2 kB / 0.5613 GB, free: 35.84 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003463/0.2985, allocations: 432.6 kB / 0.5617 GB, free: 35.75 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004661/0.299, allocations: 0.5343 MB / 0.5622 GB, free: 35.62 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.2991, allocations: 75.88 kB / 0.5623 GB, free: 35.62 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002331/0.2993, allocations: 140.3 kB / 0.5624 GB, free: 35.61 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.2995, allocations: 208.8 kB / 0.5626 GB, free: 35.57 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002842/0.2998, allocations: 466.5 kB / 0.5631 GB, free: 35.41 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007076/0.3005, allocations: 1.07 MB / 0.5641 GB, free: 35.17 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3005, allocations: 0 / 0.5641 GB, free: 35.17 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3005, allocations: 3.188 kB / 0.5641 GB, free: 35.17 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.3005, allocations: 0 / 0.5641 GB, free: 35.17 MB / 430.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.004419/0.3049, allocations: 1.758 MB / 0.5658 GB, free: 34.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.305, allocations: 9.25 kB / 0.5659 GB, free: 34.43 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.37e-05/0.3051, allocations: 98.72 kB / 0.5659 GB, free: 34.39 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002487/0.3076, allocations: 447.3 kB / 0.5664 GB, free: 34.32 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006812/0.3083, allocations: 0.6305 MB / 0.567 GB, free: 33.99 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001801/0.3085, allocations: 196.5 kB / 0.5672 GB, free: 33.84 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.089e-05/0.3086, allocations: 60.25 kB / 0.5672 GB, free: 33.83 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/0.3099, allocations: 0.7729 MB / 0.568 GB, free: 33.77 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.3099, allocations: 0 / 0.568 GB, free: 33.77 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.769e-05/0.3099, allocations: 26.28 kB / 0.568 GB, free: 33.76 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.31, allocations: 11.31 kB / 0.568 GB, free: 33.76 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001328/0.3113, allocations: 0.6998 MB / 0.5687 GB, free: 33.76 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003592/0.3149, allocations: 2.677 MB / 0.5713 GB, free: 32.79 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/0.3162, allocations: 1.039 MB / 0.5723 GB, free: 32.27 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008715/0.3171, allocations: 487.8 kB / 0.5728 GB, free: 32.24 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.397e-05/0.3172, allocations: 15.16 kB / 0.5728 GB, free: 32.24 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001061/0.3182, allocations: 0.5919 MB / 0.5734 GB, free: 32.17 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 1.783e-06/0.3183, allocations: 0 / 0.5734 GB, free: 32.17 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.01748/0.3357, allocations: 4.602 MB / 0.5779 GB, free: 31.84 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.3358, allocations: 89.61 kB / 0.578 GB, free: 31.74 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009523/0.3368, allocations: 0.709 MB / 0.5787 GB, free: 31.61 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.582e-05/0.3369, allocations: 35.3 kB / 0.5787 GB, free: 31.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002075/0.3371, allocations: 380.3 kB / 0.5791 GB, free: 31.4 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002127/0.3373, allocations: 230.5 kB / 0.5793 GB, free: 31.21 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001987/0.3375, allocations: 109.5 kB / 0.5794 GB, free: 31.16 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.86e-05/0.3376, allocations: 328.3 kB / 0.5797 GB, free: 30.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008494/0.3384, allocations: 408.3 kB / 0.5801 GB, free: 30.71 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009252/0.3394, allocations: 0.504 MB / 0.5806 GB, free: 30.45 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001791/0.3412, allocations: 0.9185 MB / 0.5815 GB, free: 30.01 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.3412, allocations: 5.062 kB / 0.5815 GB, free: 30 MB / 430.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008224/0.3494, allocations: 2.585 MB / 0.584 GB, free: 29.42 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.3495, allocations: 14.52 kB / 0.584 GB, free: 29.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.3495, allocations: 2.625 kB / 0.584 GB, free: 29.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003948/0.3534, allocations: 1.119 MB / 0.5851 GB, free: 29.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004397/0.3539, allocations: 94.69 kB / 0.5852 GB, free: 29.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01491/0.3688, allocations: 6.793 MB / 0.5918 GB, free: 25.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.3698, allocations: 114.2 kB / 0.5919 GB, free: 25.71 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.233e-05/0.3699, allocations: 22.78 kB / 0.592 GB, free: 25.7 MB / 430.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.0002967/0.3702, allocations: 203.8 kB / 0.5922 GB, free: 25.53 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.3704, allocations: 86.38 kB / 0.5922 GB, free: 25.48 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008786/0.3792, allocations: 2.622 MB / 0.5948 GB, free: 24.85 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.3792, allocations: 11.44 kB / 0.5948 GB, free: 24.85 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.3792, allocations: 1.594 kB / 0.5948 GB, free: 24.85 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.3792, allocations: 9.047 kB / 0.5948 GB, free: 24.84 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00969/0.3889, allocations: 3.83 MB / 0.5986 GB, free: 23.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.3889, allocations: 0 / 0.5986 GB, free: 23.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004022/0.3893, allocations: 77.75 kB / 0.5986 GB, free: 23.35 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003802/0.3932, allocations: 1.087 MB / 0.5997 GB, free: 23.14 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.368e-05/0.3932, allocations: 14.38 kB / 0.5997 GB, free: 23.13 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01327/0.4065, allocations: 6.02 MB / 0.6056 GB, free: 19.95 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.4065, allocations: 1.219 kB / 0.6056 GB, free: 19.95 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009593/0.4161, allocations: 3.221 MB / 0.6087 GB, free: 18.84 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002978/0.4165, allocations: 175.7 kB / 0.6089 GB, free: 18.67 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/0.4166, allocations: 15.39 kB / 0.6089 GB, free: 18.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007637/0.4174, allocations: 74.73 kB / 0.609 GB, free: 18.63 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004345/0.4178, allocations: 153.8 kB / 0.6091 GB, free: 18.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.013e-05/0.4179, allocations: 15.97 kB / 0.6092 GB, free: 18.53 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005385/0.4184, allocations: 0.4951 MB / 0.6096 GB, free: 18.25 MB / 430.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4184, allocations: 0 / 0.6096 GB, free: 18.25 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009389/0.4194, allocations: 299.6 kB / 0.6099 GB, free: 18.2 MB / 430.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.009198/0.4286, allocations: 3.784 MB / 0.6136 GB, free: 15.87 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003938/0.4325, allocations: 1.546 MB / 0.6151 GB, free: 14.32 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.4326, allocations: 0 / 0.6151 GB, free: 14.32 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002696/0.4353, allocations: 1.067 MB / 0.6162 GB, free: 13.24 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006342/0.4359, allocations: 79.3 kB / 0.6163 GB, free: 13.16 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02167/0.4576, allocations: 10.82 MB / 0.6268 GB, free: 2.098 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.4579, allocations: 0.9787 MB / 0.6278 GB, free: 1.09 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002343/0.4582, allocations: 60.16 kB / 0.6278 GB, free: 1.031 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003057/0.4585, allocations: 323.3 kB / 0.6281 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4585, allocations: 0 / 0.6281 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04605/0.5045, allocations: 24.2 MB / 0.6518 GB, free: 8.793 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.72, allocations: 1.562 kB / 0.6518 GB, free: 8.793 MB / 462.1 MB (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)