Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_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: translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test") translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00672/0.00672, allocations: 100.8 kB / 15.87 MB, free: 6.332 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.367/1.367, allocations: 222.9 MB / 239.5 MB, free: 4.801 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.001385/0.001385, allocations: 188.4 kB / 289.8 MB, free: 2.531 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5441/0.5441, allocations: 91.89 MB / 431.8 MB, free: 9.48 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001539, allocations: 79.88 kB / 0.5018 GB, free: 8.215 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.3722, allocations: 71.27 MB / 0.5714 GB, free: 36.41 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.005451/0.3777, allocations: 6.34 MB / 0.5776 GB, free: 32.81 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00334/0.381, allocations: 1.888 MB / 0.5795 GB, free: 31.62 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005922/0.3817, allocations: 14 kB / 0.5795 GB, free: 31.62 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006374/0.3823, allocations: 167.3 kB / 0.5796 GB, free: 31.55 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001396/0.3838, allocations: 0.6275 MB / 0.5803 GB, free: 31.15 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.3848, allocations: 0.5084 MB / 0.5808 GB, free: 30.87 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001089/0.3859, allocations: 1.339 MB / 0.5821 GB, free: 30.23 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003454/0.3862, allocations: 260.9 kB / 0.5823 GB, free: 30.11 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000567/0.3868, allocations: 0.5084 MB / 0.5828 GB, free: 29.88 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005307/0.3873, allocations: 0.6168 MB / 0.5834 GB, free: 29.59 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.3875, allocations: 59.72 kB / 0.5835 GB, free: 29.59 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003855/0.3879, allocations: 192.3 kB / 0.5836 GB, free: 29.55 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001779/0.388, allocations: 228.2 kB / 0.5839 GB, free: 29.41 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003495/0.3884, allocations: 0.5335 MB / 0.5844 GB, free: 29.07 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007196/0.3891, allocations: 1.042 MB / 0.5854 GB, free: 28.66 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3891, allocations: 0 / 0.5854 GB, free: 28.66 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.3892, allocations: 4 kB / 0.5854 GB, free: 28.66 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.368e-05/0.3892, allocations: 0 / 0.5854 GB, free: 28.66 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.006689/0.3959, allocations: 2.231 MB / 0.5876 GB, free: 27.57 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.3959, allocations: 10.09 kB / 0.5876 GB, free: 27.57 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003424/0.3994, allocations: 0.56 MB / 0.5881 GB, free: 27.45 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001311/0.4007, allocations: 0.7836 MB / 0.5889 GB, free: 26.91 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002159/0.4009, allocations: 213.6 kB / 0.5891 GB, free: 26.72 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/0.401, allocations: 66.16 kB / 0.5892 GB, free: 26.7 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001674/0.4027, allocations: 0.8358 MB / 0.59 GB, free: 26.39 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.4028, allocations: 0 / 0.59 GB, free: 26.39 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.791e-05/0.4028, allocations: 26.62 kB / 0.59 GB, free: 26.37 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/0.4029, allocations: 17.81 kB / 0.59 GB, free: 26.36 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001772/0.4046, allocations: 0.8438 MB / 0.5909 GB, free: 26.09 MB / 430.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.005144/0.4098, allocations: 3.047 MB / 0.5938 GB, free: 24.38 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006038/0.4158, allocations: 1.708 MB / 0.5955 GB, free: 23.56 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001135/0.417, allocations: 0.5484 MB / 0.596 GB, free: 23.35 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.4171, allocations: 9.312 kB / 0.596 GB, free: 23.35 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001369/0.4185, allocations: 0.632 MB / 0.5967 GB, free: 23.1 MB / 430.1 MB Notification: Performance of pre-optimization done (n=74): time 4.759e-06/0.4185, allocations: 0 / 0.5967 GB, free: 23.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.01907/0.4376, allocations: 4.699 MB / 0.6013 GB, free: 22.02 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.4377, allocations: 60.39 kB / 0.6013 GB, free: 21.95 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002141/0.4398, allocations: 0.9706 MB / 0.6023 GB, free: 21.55 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001935/0.44, allocations: 40.36 kB / 0.6023 GB, free: 21.51 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003754/0.4404, allocations: 473.7 kB / 0.6027 GB, free: 21.13 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004/0.4408, allocations: 267.9 kB / 0.603 GB, free: 20.92 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005051/0.4413, allocations: 178 kB / 0.6032 GB, free: 20.84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.672e-05/0.4415, allocations: 343.2 kB / 0.6035 GB, free: 20.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001306/0.4428, allocations: 0.55 MB / 0.604 GB, free: 20.31 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001355/0.4441, allocations: 0.6663 MB / 0.6047 GB, free: 20.01 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01794/0.4621, allocations: 4.044 MB / 0.6086 GB, free: 18.91 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.125e-05/0.4622, allocations: 1.125 kB / 0.6086 GB, free: 18.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.009483/0.4716, allocations: 2.833 MB / 0.6114 GB, free: 18.12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.928e-05/0.4717, allocations: 5.812 kB / 0.6114 GB, free: 18.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.4717, allocations: 2.312 kB / 0.6114 GB, free: 18.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005001/0.4767, allocations: 1.268 MB / 0.6127 GB, free: 17.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/0.4779, allocations: 190.4 kB / 0.6128 GB, free: 17.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01166/0.4896, allocations: 5.239 MB / 0.618 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/0.4913, allocations: 148.5 kB / 0.6181 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002214/0.4915, allocations: 35.92 kB / 0.6181 GB, free: 14.39 MB / 430.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 ($whenCondition2,$whenCondition1) * 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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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 {(14,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0006741/0.4922, allocations: 240.2 kB / 0.6184 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003625/0.4926, allocations: 115.6 kB / 0.6185 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007861/0.5005, allocations: 2.657 MB / 0.6211 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/0.5005, allocations: 8 kB / 0.6211 GB, free: 11.44 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.5005, allocations: 4 kB / 0.6211 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.271e-05/0.5006, allocations: 3.984 kB / 0.6211 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009711/0.5103, allocations: 4.025 MB / 0.625 GB, free: 7.289 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/0.5103, allocations: 0 / 0.625 GB, free: 7.289 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005059/0.5108, allocations: 87.89 kB / 0.6251 GB, free: 7.203 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004462/0.5153, allocations: 1.323 MB / 0.6264 GB, free: 5.875 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001113/0.5154, allocations: 12 kB / 0.6264 GB, free: 5.863 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.011/0.5264, allocations: 5.463 MB / 0.6317 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.5265, allocations: 3.984 kB / 0.6317 GB, free: 264 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01025/0.5367, allocations: 3.383 MB / 0.635 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005356/0.5373, allocations: 195.7 kB / 0.6352 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003524/0.5377, allocations: 12 kB / 0.6352 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001211/0.5389, allocations: 91.89 kB / 0.6353 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005595/0.5395, allocations: 152.3 kB / 0.6355 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.044e-05/0.5396, allocations: 20 kB / 0.6355 GB, free: 12.37 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001183/0.5408, allocations: 0.6592 MB / 0.6361 GB, free: 11.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5408, allocations: 0 / 0.6361 GB, free: 11.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001378/0.5422, allocations: 351.7 kB / 0.6365 GB, free: 11.36 MB / 446.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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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 {(15,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002957/0.5425, allocations: 123.2 kB / 0.6366 GB, free: 11.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005085/0.5476, allocations: 1.847 MB / 0.6384 GB, free: 9.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.5476, allocations: 0 / 0.6384 GB, free: 9.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003496/0.5511, allocations: 1.19 MB / 0.6395 GB, free: 8.113 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/0.5523, allocations: 94.94 kB / 0.6396 GB, free: 8.023 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004093/0.5564, allocations: 2.21 MB / 0.6418 GB, free: 5.789 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006835/0.5571, allocations: 1.042 MB / 0.6428 GB, free: 4.723 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003261/0.5575, allocations: 79.34 kB / 0.6429 GB, free: 4.645 MB / 446.1 MB Notification: Performance of SimCode: time 5.61e-07/0.5575, allocations: 0 / 0.6429 GB, free: 4.645 MB / 446.1 MB Notification: Performance of Templates: time 0.02992/0.5874, allocations: 21.77 MB / 0.6642 GB, free: 14.86 MB / 478.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)