Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.conf.json 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/Modelica 4.0.0+maint.om/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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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_OpenIPSL.Tests.FACTS.TCSC_Test") translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.203/1.203, allocations: 222.9 MB / 239.6 MB, free: 11.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009857/0.000986, allocations: 100.9 kB / 289.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3998/0.3998, allocations: 78.52 MB / 418.5 MB, free: 8.562 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 67.89 kB / 497.5 MB, free: 10.33 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2364, allocations: 68.16 MB / 0.5524 GB, free: 19.91 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.004545/0.2409, allocations: 6.328 MB / 0.5586 GB, free: 13.55 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002747/0.2437, allocations: 1.88 MB / 0.5604 GB, free: 11.67 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000413/0.2441, allocations: 12 kB / 0.5604 GB, free: 11.66 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004411/0.2446, allocations: 162.9 kB / 0.5606 GB, free: 11.5 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001107/0.2457, allocations: 0.6318 MB / 0.5612 GB, free: 10.87 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008228/0.2466, allocations: 0.513 MB / 0.5617 GB, free: 10.36 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008337/0.2474, allocations: 1.37 MB / 0.563 GB, free: 8.984 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002854/0.2477, allocations: 255.7 kB / 0.5633 GB, free: 8.723 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004321/0.2481, allocations: 0.5054 MB / 0.5638 GB, free: 8.215 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004551/0.2486, allocations: 0.6181 MB / 0.5644 GB, free: 7.594 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.2487, allocations: 63.98 kB / 0.5644 GB, free: 7.531 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003154/0.249, allocations: 191.9 kB / 0.5646 GB, free: 7.344 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001504/0.2492, allocations: 230.9 kB / 0.5648 GB, free: 7.117 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003016/0.2495, allocations: 0.5278 MB / 0.5654 GB, free: 6.586 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007385/0.2503, allocations: 1.337 MB / 0.5667 GB, free: 5.246 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2503, allocations: 4 kB / 0.5667 GB, free: 5.242 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2503, allocations: 0 / 0.5667 GB, free: 5.242 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.2503, allocations: 0 / 0.5667 GB, free: 5.242 MB / 378.7 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.005884/0.2562, allocations: 2.236 MB / 0.5688 GB, free: 2.953 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.897e-05/0.2562, allocations: 8.031 kB / 0.5689 GB, free: 2.945 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002911/0.2591, allocations: 0.5649 MB / 0.5694 GB, free: 2.379 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009603/0.2601, allocations: 0.7797 MB / 0.5702 GB, free: 1.543 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001638/0.2603, allocations: 209.8 kB / 0.5704 GB, free: 1.309 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.971e-05/0.2604, allocations: 64 kB / 0.5704 GB, free: 1.246 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/0.2617, allocations: 0.8302 MB / 0.5712 GB, free: 416 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.2617, allocations: 0 / 0.5712 GB, free: 416 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.424e-05/0.2618, allocations: 27.98 kB / 0.5713 GB, free: 388 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.2618, allocations: 19.94 kB / 0.5713 GB, free: 368 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001609/0.2634, allocations: 0.8522 MB / 0.5721 GB, free: 15.51 MB / 394.7 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.004835/0.2683, allocations: 3.054 MB / 0.5751 GB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006097/0.2744, allocations: 1.704 MB / 0.5768 GB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00104/0.2755, allocations: 0.5498 MB / 0.5773 GB, free: 9.965 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.579e-05/0.2756, allocations: 8.656 kB / 0.5773 GB, free: 9.957 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001203/0.2768, allocations: 0.6288 MB / 0.5779 GB, free: 9.32 MB / 394.7 MB Notification: Performance of pre-optimization done (n=74): time 2.074e-06/0.2768, allocations: 0 / 0.5779 GB, free: 9.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=74): time 0.01779/0.2946, allocations: 4.695 MB / 0.5825 GB, free: 4.57 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.2947, allocations: 64 kB / 0.5826 GB, free: 4.496 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001333/0.296, allocations: 0.966 MB / 0.5835 GB, free: 3.512 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001123/0.2961, allocations: 41.7 kB / 0.5836 GB, free: 3.465 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002837/0.2964, allocations: 472.2 kB / 0.584 GB, free: 2.996 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002166/0.2966, allocations: 264.2 kB / 0.5843 GB, free: 2.734 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000319/0.297, allocations: 182.5 kB / 0.5844 GB, free: 2.551 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.974e-05/0.2971, allocations: 341.9 kB / 0.5848 GB, free: 2.211 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001108/0.2982, allocations: 0.5524 MB / 0.5853 GB, free: 1.656 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001209/0.2994, allocations: 0.6672 MB / 0.5859 GB, free: 0.957 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01597/0.3154, allocations: 4.045 MB / 0.5899 GB, free: 12.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.3154, allocations: 4 kB / 0.5899 GB, free: 12.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00817/0.3236, allocations: 2.835 MB / 0.5927 GB, free: 10.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.3236, allocations: 8 kB / 0.5927 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.3236, allocations: 4 kB / 0.5927 GB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00443/0.3281, allocations: 1.267 MB / 0.5939 GB, free: 8.742 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009195/0.329, allocations: 191.8 kB / 0.5941 GB, free: 8.555 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01098/0.34, allocations: 5.238 MB / 0.5992 GB, free: 3.184 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/0.3413, allocations: 147 kB / 0.5994 GB, free: 3.039 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.302e-05/0.3414, allocations: 39.98 kB / 0.5994 GB, free: 3 MB / 410.7 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.0004256/0.3419, allocations: 233.6 kB / 0.5996 GB, free: 2.762 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001592/0.342, allocations: 122.5 kB / 0.5997 GB, free: 2.641 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008347/0.3504, allocations: 2.653 MB / 0.6023 GB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.836e-06/0.3504, allocations: 8 kB / 0.6023 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.3504, allocations: 0 / 0.6023 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.3504, allocations: 7.922 kB / 0.6023 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009795/0.3602, allocations: 4.025 MB / 0.6063 GB, free: 11.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/0.3603, allocations: 0 / 0.6063 GB, free: 11.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005091/0.3608, allocations: 83.89 kB / 0.6064 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004778/0.3656, allocations: 1.327 MB / 0.6076 GB, free: 10.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001307/0.3657, allocations: 12 kB / 0.6077 GB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.012/0.3777, allocations: 5.468 MB / 0.613 GB, free: 4.781 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3778, allocations: 0 / 0.613 GB, free: 4.781 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06036/0.4382, allocations: 21.56 MB / 0.6341 GB, free: 14.91 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003028/0.4385, allocations: 195.6 kB / 0.6342 GB, free: 14.7 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002301/0.4388, allocations: 19.88 kB / 0.6343 GB, free: 14.68 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/0.4398, allocations: 87.89 kB / 0.6343 GB, free: 14.59 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005324/0.4404, allocations: 152.4 kB / 0.6345 GB, free: 14.44 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.694e-05/0.4405, allocations: 19.98 kB / 0.6345 GB, free: 14.42 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001056/0.4415, allocations: 0.6631 MB / 0.6352 GB, free: 13.74 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4415, allocations: 0 / 0.6352 GB, free: 13.74 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001725/0.4433, allocations: 495.5 kB / 0.6356 GB, free: 13.26 MB / 458.7 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.0002698/0.4436, allocations: 127.3 kB / 0.6357 GB, free: 13.12 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004949/0.4485, allocations: 1.839 MB / 0.6375 GB, free: 11.25 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4485, allocations: 0 / 0.6375 GB, free: 11.25 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003296/0.4519, allocations: 1.184 MB / 0.6387 GB, free: 10.03 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008701/0.4527, allocations: 104.3 kB / 0.6388 GB, free: 9.93 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005874/0.4586, allocations: 3.097 MB / 0.6418 GB, free: 6.781 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005718/0.4592, allocations: 1.08 MB / 0.6429 GB, free: 5.672 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003939/0.4596, allocations: 102.7 kB / 0.643 GB, free: 5.566 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002171/0.4599, allocations: 63.42 kB / 0.643 GB, free: 5.504 MB / 458.7 MB Notification: Performance of SimCode: time 6.01e-07/0.4599, allocations: 0 / 0.643 GB, free: 5.504 MB / 458.7 MB Notification: Performance of Templates: time 0.03254/0.4924, allocations: 23.57 MB / 0.6661 GB, free: 13.97 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.sim & ./OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)