Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.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: translateModel(OpenIPSL.Examples.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08206/0.08206, allocations: 12.6 MB / 28.91 MB, free: 0.6055 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.001106/0.001106, allocations: 111.5 kB / 32.51 MB, free: 3.543 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.42/1.42, allocations: 205.1 MB / 241.1 MB, free: 12.36 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.001355/0.001355, allocations: 191.5 kB / 291.4 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.4541/0.4541, allocations: 78.51 MB / 420 MB, free: 11.23 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.002667/0.002667, allocations: 142.8 kB / 0.5565 GB, free: 28.67 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1391, allocations: 68.13 MB / 0.623 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.005782/0.1449, allocations: 4.956 MB / 0.6279 GB, free: 10.47 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003028/0.148, allocations: 1.561 MB / 0.6294 GB, free: 8.898 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003077/0.1483, allocations: 8 kB / 0.6294 GB, free: 8.891 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00042/0.1488, allocations: 170.6 kB / 0.6296 GB, free: 8.723 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation transformer.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.001504/0.1503, allocations: 0.6721 MB / 0.6302 GB, free: 8.047 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007524/0.151, allocations: 418.9 kB / 0.6306 GB, free: 7.641 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009974/0.152, allocations: 1.082 MB / 0.6317 GB, free: 6.555 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003352/0.1524, allocations: 225.8 kB / 0.6319 GB, free: 6.316 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004769/0.1529, allocations: 446.2 kB / 0.6323 GB, free: 5.879 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005868/0.1535, allocations: 0.5602 MB / 0.6329 GB, free: 5.316 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001195/0.1536, allocations: 100 kB / 0.633 GB, free: 5.219 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003756/0.154, allocations: 231.9 kB / 0.6332 GB, free: 4.992 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001881/0.1542, allocations: 227.1 kB / 0.6334 GB, free: 4.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003607/0.1545, allocations: 473.4 kB / 0.6339 GB, free: 4.305 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001191/0.1557, allocations: 1.254 MB / 0.6351 GB, free: 3.047 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1558, allocations: 0 / 0.6351 GB, free: 3.047 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1558, allocations: 0 / 0.6351 GB, free: 3.047 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.1558, allocations: 0 / 0.6351 GB, free: 3.047 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.005142/0.1609, allocations: 1.76 MB / 0.6368 GB, free: 1.234 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.161, allocations: 11.98 kB / 0.6368 GB, free: 1.223 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003297/0.1643, allocations: 0.5148 MB / 0.6373 GB, free: 0.707 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008514/0.1651, allocations: 0.6508 MB / 0.638 GB, free: 12 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001926/0.1653, allocations: 138.2 kB / 0.6381 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.1655, allocations: 52 kB / 0.6381 GB, free: 15.8 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/0.1668, allocations: 0.6583 MB / 0.6388 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.1668, allocations: 0 / 0.6388 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.429e-05/0.1669, allocations: 20 kB / 0.6388 GB, free: 15.12 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.1669, allocations: 12 kB / 0.6388 GB, free: 15.11 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/0.1682, allocations: 0.6324 MB / 0.6394 GB, free: 14.47 MB / 462.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.004259/0.1724, allocations: 2.639 MB / 0.642 GB, free: 11.73 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01266/0.1851, allocations: 2.797 MB / 0.6447 GB, free: 8.879 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001123/0.1863, allocations: 457.2 kB / 0.6452 GB, free: 8.434 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.827e-05/0.1863, allocations: 8.5 kB / 0.6452 GB, free: 8.426 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.1864, allocations: 43.12 kB / 0.6452 GB, free: 8.375 MB / 462.1 MB Notification: Performance of pre-optimization done (n=57): time 3.927e-06/0.1864, allocations: 0 / 0.6452 GB, free: 8.375 MB / 462.1 MB Notification: Performance of matching and sorting (n=57): time 0.01327/0.1997, allocations: 3.531 MB / 0.6487 GB, free: 4.77 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.1997, allocations: 55.97 kB / 0.6487 GB, free: 4.703 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001321/0.2011, allocations: 0.7584 MB / 0.6495 GB, free: 3.938 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.822e-05/0.2012, allocations: 37.7 kB / 0.6495 GB, free: 3.895 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002986/0.2015, allocations: 356.6 kB / 0.6498 GB, free: 3.543 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002448/0.2017, allocations: 213 kB / 0.65 GB, free: 3.332 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003769/0.2021, allocations: 170.5 kB / 0.6502 GB, free: 3.16 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.2023, allocations: 398.7 kB / 0.6506 GB, free: 2.762 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/0.2034, allocations: 0.4939 MB / 0.6511 GB, free: 2.266 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001126/0.2045, allocations: 0.5953 MB / 0.6517 GB, free: 1.648 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01625/0.2207, allocations: 3.553 MB / 0.6551 GB, free: 14.07 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.757e-06/0.2208, allocations: 0 / 0.6551 GB, free: 14.07 MB / 478.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.008057/0.2289, allocations: 2.395 MB / 0.6575 GB, free: 11.65 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.2289, allocations: 4 kB / 0.6575 GB, free: 11.65 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/0.229, allocations: 7.938 kB / 0.6575 GB, free: 11.64 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004439/0.2334, allocations: 1.051 MB / 0.6585 GB, free: 10.58 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008815/0.2343, allocations: 147.8 kB / 0.6586 GB, free: 10.44 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01131/0.2456, allocations: 5.078 MB / 0.6636 GB, free: 5.211 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/0.2472, allocations: 103.3 kB / 0.6637 GB, free: 5.109 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002424/0.2474, allocations: 31.98 kB / 0.6637 GB, free: 5.078 MB / 478.1 MB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real G1.machine.delta:VARIABLE(flow=false start = G1.machine.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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): 1 system {(7,13,59.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008084/0.2483, allocations: 219 kB / 0.6639 GB, free: 4.855 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003783/0.2487, allocations: 79.06 kB / 0.664 GB, free: 4.777 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006532/0.2552, allocations: 1.941 MB / 0.6659 GB, free: 2.816 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/0.2552, allocations: 3.984 kB / 0.6659 GB, free: 2.812 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.2552, allocations: 4 kB / 0.6659 GB, free: 2.809 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003247/0.2556, allocations: 175.9 kB / 0.6661 GB, free: 2.617 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001969/0.2558, allocations: 12 kB / 0.6661 GB, free: 2.605 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000845/0.2566, allocations: 51.94 kB / 0.6661 GB, free: 2.555 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004388/0.2571, allocations: 184.2 kB / 0.6663 GB, free: 2.375 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00461/0.2617, allocations: 1.379 MB / 0.6677 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002916/0.2646, allocations: 1.454 MB / 0.6691 GB, free: 15.5 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008138/0.2655, allocations: 364.3 kB / 0.6694 GB, free: 15.15 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007564/0.2662, allocations: 0.5147 MB / 0.6699 GB, free: 14.64 MB / 494.1 MB Notification: Performance of Backend: time 7.01e-07/0.2663, allocations: 0 / 0.6699 GB, free: 14.64 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004577/0.2708, allocations: 1.517 MB / 0.6714 GB, free: 13.06 MB / 494.1 MB Notification: Performance of SimCode: time 0.002677/0.2735, allocations: 2.029 MB / 0.6734 GB, free: 10.98 MB / 494.1 MB Notification: Performance of Templates: time 0.02515/0.2987, allocations: 15.06 MB / 0.6881 GB, free: 11.91 MB / 0.4981 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1)