Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.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.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 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.Examples.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 114.7 kB / 16.42 MB, free: 6.508 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.366/1.366, allocations: 222.9 MB / 240.1 MB, free: 4.574 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.001433/0.001433, allocations: 188.4 kB / 290.4 MB, free: 2.293 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4589/0.4589, allocations: 78.53 MB / 419.1 MB, free: 3.168 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00272/0.00272, allocations: 79.88 kB / 0.5543 GB, free: 1.051 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3239, allocations: 68.17 MB / 0.6209 GB, free: 9.797 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.004635/0.3286, allocations: 4.906 MB / 0.6256 GB, free: 5.387 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002668/0.3313, allocations: 1.591 MB / 0.6272 GB, free: 3.793 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006128/0.332, allocations: 8 kB / 0.6272 GB, free: 3.785 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004812/0.3324, allocations: 162.6 kB / 0.6274 GB, free: 3.625 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.00161/0.3341, allocations: 0.6766 MB / 0.628 GB, free: 2.949 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007934/0.3349, allocations: 429.9 kB / 0.6284 GB, free: 2.531 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001057/0.336, allocations: 1.086 MB / 0.6295 GB, free: 1.441 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003015/0.3363, allocations: 206 kB / 0.6297 GB, free: 1.227 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004774/0.3368, allocations: 454.2 kB / 0.6301 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004428/0.3372, allocations: 0.5563 MB / 0.6307 GB, free: 228 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001043/0.3373, allocations: 104 kB / 0.6308 GB, free: 124 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003928/0.3377, allocations: 227.9 kB / 0.631 GB, free: 15.9 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001895/0.3379, allocations: 235.1 kB / 0.6312 GB, free: 15.67 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000394/0.3383, allocations: 477.4 kB / 0.6317 GB, free: 15.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001193/0.3395, allocations: 1.254 MB / 0.6329 GB, free: 13.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3395, allocations: 0 / 0.6329 GB, free: 13.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3395, allocations: 0 / 0.6329 GB, free: 13.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.3396, allocations: 0 / 0.6329 GB, free: 13.95 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.005067/0.3446, allocations: 1.787 MB / 0.6346 GB, free: 12.1 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.3447, allocations: 8.031 kB / 0.6346 GB, free: 12.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003394/0.3481, allocations: 0.5269 MB / 0.6352 GB, free: 11.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008413/0.3489, allocations: 0.6516 MB / 0.6358 GB, free: 10.87 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001632/0.3491, allocations: 142.1 kB / 0.6359 GB, free: 10.71 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.3492, allocations: 48 kB / 0.636 GB, free: 10.67 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/0.3505, allocations: 0.6583 MB / 0.6366 GB, free: 10 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.3505, allocations: 4 kB / 0.6366 GB, free: 10 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.353e-05/0.3506, allocations: 16 kB / 0.6366 GB, free: 9.984 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.3506, allocations: 12 kB / 0.6366 GB, free: 9.973 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.3519, allocations: 0.6324 MB / 0.6373 GB, free: 9.34 MB / 446.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.004323/0.3562, allocations: 2.636 MB / 0.6398 GB, free: 6.586 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01224/0.3685, allocations: 2.805 MB / 0.6426 GB, free: 3.738 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008939/0.3694, allocations: 450.3 kB / 0.643 GB, free: 3.293 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.65e-05/0.3695, allocations: 8.562 kB / 0.643 GB, free: 3.281 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.3695, allocations: 39.06 kB / 0.6431 GB, free: 3.234 MB / 446.1 MB Notification: Performance of pre-optimization done (n=57): time 4.508e-06/0.3695, allocations: 3.984 kB / 0.6431 GB, free: 3.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01232/0.3818, allocations: 3.536 MB / 0.6465 GB, free: 15.62 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.3819, allocations: 55.97 kB / 0.6466 GB, free: 15.56 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000977/0.3829, allocations: 0.7585 MB / 0.6473 GB, free: 14.79 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.46e-05/0.383, allocations: 45.64 kB / 0.6473 GB, free: 14.74 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002348/0.3832, allocations: 361 kB / 0.6477 GB, free: 14.39 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001903/0.3834, allocations: 230.1 kB / 0.6479 GB, free: 14.16 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003208/0.3837, allocations: 166.6 kB / 0.6481 GB, free: 13.99 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.3839, allocations: 394.7 kB / 0.6484 GB, free: 13.6 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009783/0.3849, allocations: 0.4978 MB / 0.6489 GB, free: 13.1 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/0.3859, allocations: 0.5914 MB / 0.6495 GB, free: 12.48 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01531/0.4012, allocations: 3.545 MB / 0.653 GB, free: 8.91 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/0.4013, allocations: 4 kB / 0.653 GB, free: 8.906 MB / 462.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007116/0.4084, allocations: 2.415 MB / 0.6553 GB, free: 6.473 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.4084, allocations: 4 kB / 0.6553 GB, free: 6.469 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.4084, allocations: 4 kB / 0.6553 GB, free: 6.465 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004133/0.4126, allocations: 1.037 MB / 0.6564 GB, free: 5.418 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007432/0.4133, allocations: 151.8 kB / 0.6565 GB, free: 5.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01055/0.4239, allocations: 5.08 MB / 0.6615 GB, free: 40 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/0.425, allocations: 107.6 kB / 0.6616 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.98e-05/0.4251, allocations: 31.98 kB / 0.6616 GB, free: 15.9 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.0004049/0.4255, allocations: 218 kB / 0.6618 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001736/0.4257, allocations: 83.48 kB / 0.6619 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006054/0.4317, allocations: 1.949 MB / 0.6638 GB, free: 13.62 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.918e-06/0.4318, allocations: 3.984 kB / 0.6638 GB, free: 13.62 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.4318, allocations: 4 kB / 0.6638 GB, free: 13.62 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002309/0.432, allocations: 176.4 kB / 0.664 GB, free: 13.43 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.4321, allocations: 12 kB / 0.664 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007356/0.4329, allocations: 51.94 kB / 0.664 GB, free: 13.36 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004344/0.4333, allocations: 184.2 kB / 0.6642 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004368/0.4377, allocations: 1.379 MB / 0.6655 GB, free: 11.79 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002676/0.4404, allocations: 1.454 MB / 0.667 GB, free: 10.32 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007542/0.4412, allocations: 364.3 kB / 0.6673 GB, free: 9.969 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006096/0.4418, allocations: 0.5147 MB / 0.6678 GB, free: 9.461 MB / 478.1 MB Notification: Performance of Backend: time 2.11e-07/0.4418, allocations: 4 kB / 0.6678 GB, free: 9.457 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00408/0.4459, allocations: 1.515 MB / 0.6693 GB, free: 7.879 MB / 478.1 MB Notification: Performance of SimCode: time 0.002297/0.4482, allocations: 2.07 MB / 0.6713 GB, free: 5.742 MB / 478.1 MB Notification: Performance of Templates: time 0.02285/0.4711, allocations: 15.05 MB / 0.686 GB, free: 6.703 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.makefile (rm -f OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.sim & ./OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1)