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.07898/0.07898, allocations: 12.6 MB / 28.91 MB, free: 0.6211 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.001042/0.001042, allocations: 111.5 kB / 32.51 MB, free: 3.559 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.288/1.288, allocations: 205.1 MB / 241.1 MB, free: 12.38 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.001296/0.001296, allocations: 196.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.433/0.433, allocations: 78.51 MB / 420 MB, free: 11.28 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.002801/0.002801, allocations: 147.9 kB / 0.5565 GB, free: 28.5 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1164, allocations: 68.12 MB / 0.623 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.005978/0.1224, allocations: 4.96 MB / 0.6279 GB, free: 10.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003131/0.1255, allocations: 1.553 MB / 0.6294 GB, free: 8.898 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006561/0.1262, allocations: 4 kB / 0.6294 GB, free: 8.895 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006368/0.1269, allocations: 170.6 kB / 0.6296 GB, free: 8.727 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.001989/0.1289, allocations: 0.6796 MB / 0.6302 GB, free: 8.051 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009675/0.1299, allocations: 422.1 kB / 0.6306 GB, free: 7.641 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00147/0.1314, allocations: 1.082 MB / 0.6317 GB, free: 6.555 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004125/0.1318, allocations: 214 kB / 0.6319 GB, free: 6.328 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007404/0.1325, allocations: 458.1 kB / 0.6323 GB, free: 5.879 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008402/0.1334, allocations: 0.5485 MB / 0.6329 GB, free: 5.328 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002666/0.1337, allocations: 104 kB / 0.633 GB, free: 5.227 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005873/0.1343, allocations: 231.9 kB / 0.6332 GB, free: 5 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002828/0.1346, allocations: 227.1 kB / 0.6334 GB, free: 4.777 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006226/0.1352, allocations: 485.4 kB / 0.6339 GB, free: 4.301 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001423/0.1366, allocations: 1.246 MB / 0.6351 GB, free: 3.051 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.1366, allocations: 0 / 0.6351 GB, free: 3.051 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1367, allocations: 0 / 0.6351 GB, free: 3.051 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.834e-05/0.1367, allocations: 0 / 0.6351 GB, free: 3.051 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.005921/0.1426, allocations: 1.757 MB / 0.6368 GB, free: 1.242 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.1427, allocations: 15.97 kB / 0.6368 GB, free: 1.227 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003591/0.1463, allocations: 0.5187 MB / 0.6373 GB, free: 0.707 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/0.1474, allocations: 0.6431 MB / 0.6379 GB, free: 20 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002/0.1476, allocations: 146.1 kB / 0.6381 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001362/0.1477, allocations: 55.94 kB / 0.6381 GB, free: 15.8 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001416/0.1492, allocations: 0.6544 MB / 0.6388 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.1492, allocations: 4 kB / 0.6388 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.553e-05/0.1493, allocations: 20 kB / 0.6388 GB, free: 15.12 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.1493, allocations: 12 kB / 0.6388 GB, free: 15.11 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/0.1506, 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.004833/0.1554, allocations: 2.627 MB / 0.642 GB, free: 11.73 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01299/0.1684, allocations: 2.805 MB / 0.6447 GB, free: 8.879 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009595/0.1694, allocations: 454.2 kB / 0.6452 GB, free: 8.434 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.156e-05/0.1695, allocations: 8.562 kB / 0.6452 GB, free: 8.426 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.1696, allocations: 43.11 kB / 0.6452 GB, free: 8.375 MB / 462.1 MB Notification: Performance of pre-optimization done (n=57): time 3.647e-06/0.1696, allocations: 0 / 0.6452 GB, free: 8.375 MB / 462.1 MB Notification: Performance of matching and sorting (n=57): time 0.01354/0.1831, allocations: 3.527 MB / 0.6487 GB, free: 4.773 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.1832, allocations: 55.97 kB / 0.6487 GB, free: 4.707 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001214/0.1844, allocations: 0.7623 MB / 0.6495 GB, free: 3.938 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.455e-05/0.1845, allocations: 33.7 kB / 0.6495 GB, free: 3.898 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002702/0.1848, allocations: 356.6 kB / 0.6498 GB, free: 3.547 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002184/0.185, allocations: 209 kB / 0.65 GB, free: 3.34 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003675/0.1854, allocations: 182.4 kB / 0.6502 GB, free: 3.156 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.1855, allocations: 394.7 kB / 0.6506 GB, free: 2.762 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001043/0.1866, allocations: 0.49 MB / 0.6511 GB, free: 2.27 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/0.1877, allocations: 0.5953 MB / 0.6516 GB, free: 1.652 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01623/0.204, allocations: 3.549 MB / 0.6551 GB, free: 14.07 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.303e-06/0.204, allocations: 0 / 0.6551 GB, free: 14.07 MB / 478.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007804/0.2118, allocations: 2.403 MB / 0.6575 GB, free: 11.65 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.2119, allocations: 8 kB / 0.6575 GB, free: 11.64 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.2119, allocations: 0 / 0.6575 GB, free: 11.64 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004478/0.2164, allocations: 1.047 MB / 0.6585 GB, free: 10.59 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008229/0.2172, allocations: 151.7 kB / 0.6586 GB, free: 10.44 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01124/0.2285, allocations: 5.078 MB / 0.6636 GB, free: 5.215 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/0.2298, allocations: 103.3 kB / 0.6637 GB, free: 5.113 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001384/0.2299, allocations: 35.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.0004809/0.2304, allocations: 223 kB / 0.6639 GB, free: 4.852 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002147/0.2306, allocations: 79.06 kB / 0.664 GB, free: 4.773 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006237/0.2369, allocations: 1.945 MB / 0.6659 GB, free: 2.809 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.2369, allocations: 3.984 kB / 0.6659 GB, free: 2.805 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.2369, allocations: 0 / 0.6659 GB, free: 2.805 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002563/0.2372, allocations: 179.9 kB / 0.6661 GB, free: 2.609 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001532/0.2373, allocations: 12 kB / 0.6661 GB, free: 2.598 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008158/0.2382, allocations: 51.94 kB / 0.6661 GB, free: 2.547 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004235/0.2386, allocations: 184.2 kB / 0.6663 GB, free: 2.367 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004527/0.2431, allocations: 1.379 MB / 0.6677 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00283/0.246, allocations: 1.454 MB / 0.6691 GB, free: 15.5 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007887/0.2468, allocations: 360.3 kB / 0.6694 GB, free: 15.14 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006798/0.2475, allocations: 0.5225 MB / 0.6699 GB, free: 14.63 MB / 494.1 MB Notification: Performance of Backend: time 4.31e-07/0.2475, allocations: 0 / 0.6699 GB, free: 14.63 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004449/0.252, allocations: 1.517 MB / 0.6714 GB, free: 13.05 MB / 494.1 MB Notification: Performance of SimCode: time 0.002724/0.2547, allocations: 2.029 MB / 0.6734 GB, free: 10.97 MB / 494.1 MB Notification: Performance of Templates: time 0.02421/0.2789, allocations: 15.05 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)