Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/package.mo) Running command: translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test") translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07455/0.07455, allocations: 12.2 MB / 27.16 MB, free: 1.531 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.000882/0.0008817, allocations: 96.45 kB / 30.67 MB, free: 4.879 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.265/1.265, allocations: 205.4 MB / 239.5 MB, free: 11.57 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.001053/0.001053, allocations: 181 kB / 290.6 MB, free: 15.82 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3985/0.3985, allocations: 78.5 MB / 420.1 MB, free: 32.64 MB / 318.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.0008642/0.0008643, allocations: 34.59 kB / 0.4894 GB, free: 15.93 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2895, allocations: 69.23 MB / 0.557 GB, free: 37.7 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.004261/0.2938, allocations: 5.297 MB / 0.5622 GB, free: 33.82 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002893/0.2968, allocations: 1.787 MB / 0.5639 GB, free: 32.54 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005866/0.2974, allocations: 15.12 kB / 0.5639 GB, free: 32.53 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005505/0.298, allocations: 154.6 kB / 0.5641 GB, free: 32.46 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001191/0.2992, allocations: 0.6398 MB / 0.5647 GB, free: 32.03 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007948/0.3, allocations: 454.4 kB / 0.5651 GB, free: 31.79 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008744/0.3008, allocations: 0.8847 MB / 0.566 GB, free: 31.32 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002708/0.3011, allocations: 227.8 kB / 0.5662 GB, free: 31.21 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005568/0.3017, allocations: 0.5003 MB / 0.5667 GB, free: 30.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000542/0.3022, allocations: 0.5599 MB / 0.5672 GB, free: 30.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.3024, allocations: 52.47 kB / 0.5673 GB, free: 30.73 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003431/0.3027, allocations: 156.6 kB / 0.5674 GB, free: 30.7 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001556/0.3029, allocations: 205.5 kB / 0.5676 GB, free: 30.59 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000169/0.3031, allocations: 207.7 kB / 0.5678 GB, free: 30.45 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007378/0.3038, allocations: 0.991 MB / 0.5688 GB, free: 30.15 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.3038, allocations: 0 / 0.5688 GB, free: 30.15 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3038, allocations: 0 / 0.5688 GB, free: 30.15 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.752e-05/0.3038, allocations: 0 / 0.5688 GB, free: 30.15 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.006005/0.3098, allocations: 2.081 MB / 0.5708 GB, free: 29.2 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.3099, allocations: 12.08 kB / 0.5708 GB, free: 29.19 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003208/0.3131, allocations: 0.5557 MB / 0.5714 GB, free: 29.07 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001208/0.3143, allocations: 0.7514 MB / 0.5721 GB, free: 28.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001917/0.3145, allocations: 212.2 kB / 0.5723 GB, free: 28.39 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.3147, allocations: 75.55 kB / 0.5724 GB, free: 28.36 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001464/0.3161, allocations: 0.8716 MB / 0.5732 GB, free: 28.04 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.3162, allocations: 0 / 0.5732 GB, free: 28.04 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.35e-05/0.3162, allocations: 25.25 kB / 0.5733 GB, free: 28.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.3163, allocations: 15.75 kB / 0.5733 GB, free: 28.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001593/0.3179, allocations: 0.9111 MB / 0.5742 GB, free: 27.73 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004726/0.3226, allocations: 3.298 MB / 0.5774 GB, free: 25.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005804/0.3284, allocations: 1.982 MB / 0.5793 GB, free: 24.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.251e-05/0.3285, allocations: 11.58 kB / 0.5793 GB, free: 24.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001291/0.3298, allocations: 0.66 MB / 0.58 GB, free: 24.67 MB / 414.1 MB Notification: Performance of pre-optimization done (n=74): time 2.896e-06/0.3298, allocations: 0 / 0.58 GB, free: 24.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.01877/0.3486, allocations: 5.58 MB / 0.5854 GB, free: 23.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.3487, allocations: 64.14 kB / 0.5855 GB, free: 23.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001375/0.3501, allocations: 0.9537 MB / 0.5864 GB, free: 23.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001191/0.3502, allocations: 37.45 kB / 0.5865 GB, free: 23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002651/0.3505, allocations: 473.9 kB / 0.5869 GB, free: 22.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002201/0.3507, allocations: 266.9 kB / 0.5872 GB, free: 22.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.448e-05/0.3508, allocations: 19.88 kB / 0.5872 GB, free: 22.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.219e-05/0.3509, allocations: 346.8 kB / 0.5875 GB, free: 22.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001212/0.3521, allocations: 0.5978 MB / 0.5881 GB, free: 21.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001257/0.3533, allocations: 0.71 MB / 0.5888 GB, free: 21.37 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/0.3546, allocations: 0.6435 MB / 0.5894 GB, free: 21.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.022e-06/0.3546, allocations: 1.25 kB / 0.5894 GB, free: 21.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.008642/0.3633, allocations: 3.32 MB / 0.5927 GB, free: 19.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.3633, allocations: 5.938 kB / 0.5927 GB, free: 19.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.3633, allocations: 3.031 kB / 0.5927 GB, free: 19.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004869/0.3682, allocations: 1.494 MB / 0.5941 GB, free: 18.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009559/0.3692, allocations: 192.3 kB / 0.5943 GB, free: 18.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01091/0.3801, allocations: 5.976 MB / 0.6002 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001394/0.3815, allocations: 183 kB / 0.6003 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/0.3817, allocations: 35.98 kB / 0.6004 GB, free: 12.97 MB / 414.1 MB Warning: Assuming fixed start value for the following 1 variables: Gen1.delta:VARIABLE(flow=false start = Gen1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * 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 initialization (103): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {14 8} Notification: Performance of prepare postOptimizeDAE: time 0.0004394/0.3821, allocations: 229.6 kB / 0.6006 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001929/0.3823, allocations: 114.6 kB / 0.6007 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007984/0.3903, allocations: 3.157 MB / 0.6038 GB, free: 9.449 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.3903, allocations: 8 kB / 0.6038 GB, free: 9.441 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.3904, allocations: 0 / 0.6038 GB, free: 9.441 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.3904, allocations: 7.938 kB / 0.6038 GB, free: 9.434 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009336/0.3997, allocations: 4.521 MB / 0.6082 GB, free: 4.801 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.3997, allocations: 0 / 0.6082 GB, free: 4.801 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004513/0.4002, allocations: 95.89 kB / 0.6083 GB, free: 4.707 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004558/0.4048, allocations: 1.535 MB / 0.6098 GB, free: 3.168 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-05/0.4049, allocations: 16 kB / 0.6098 GB, free: 3.152 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01187/0.4168, allocations: 6.155 MB / 0.6158 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.4168, allocations: 0 / 0.6158 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01018/0.427, allocations: 3.922 MB / 0.6197 GB, free: 8.91 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003492/0.4274, allocations: 207.7 kB / 0.6199 GB, free: 8.688 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002161/0.4276, allocations: 16 kB / 0.6199 GB, free: 8.672 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.4286, allocations: 111.9 kB / 0.62 GB, free: 8.562 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004022/0.429, allocations: 156.3 kB / 0.6201 GB, free: 8.406 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.529e-05/0.4291, allocations: 24 kB / 0.6201 GB, free: 8.383 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000946/0.43, allocations: 0.6553 MB / 0.6208 GB, free: 7.719 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.43, allocations: 0 / 0.6208 GB, free: 7.719 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001081/0.4311, allocations: 347.7 kB / 0.6211 GB, free: 7.379 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (tCSC.PIcontroller.x_scaled[1],tCSC.X1.state,Gen1.delta,Gen1.w) * 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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {15 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002321/0.4314, allocations: 123.1 kB / 0.6212 GB, free: 7.25 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004802/0.4362, allocations: 2.042 MB / 0.6232 GB, free: 5.168 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.4362, allocations: 4.125 kB / 0.6232 GB, free: 5.164 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00341/0.4396, allocations: 1.341 MB / 0.6245 GB, free: 3.793 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006297/0.4403, allocations: 88.34 kB / 0.6246 GB, free: 3.707 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003356/0.4436, allocations: 2.093 MB / 0.6267 GB, free: 1.602 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006112/0.4443, allocations: 1.065 MB / 0.6277 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004068/0.4447, allocations: 90.69 kB / 0.6278 GB, free: 424 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00022/0.4449, allocations: 67.42 kB / 0.6279 GB, free: 356 kB / 430.1 MB Notification: Performance of SimCode: time 7.32e-07/0.4449, allocations: 3.938 kB / 0.6279 GB, free: 352 kB / 430.1 MB Notification: Performance of Templates: time 0.02509/0.47, allocations: 16.08 MB / 0.6436 GB, free: 292 kB / 446.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.makefile Environment - environmentSimulation: (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1) Environment - environmentSimulation: