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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001057/0.001058, allocations: 180.5 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.182/1.182, allocations: 222.9 MB / 239.7 MB, free: 10.99 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.0009688/0.0009688, allocations: 110.6 kB / 289.9 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4091/0.4091, allocations: 78.52 MB / 418.5 MB, free: 8.469 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 67.89 kB / 497.5 MB, free: 10.26 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2631, allocations: 68.15 MB / 0.5524 GB, free: 19.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.004043/0.2672, allocations: 5.187 MB / 0.5575 GB, free: 14.67 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001853/0.269, allocations: 1.638 MB / 0.5591 GB, free: 13.03 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002041/0.2693, allocations: 8 kB / 0.5591 GB, free: 13.02 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002868/0.2696, allocations: 127.2 kB / 0.5592 GB, free: 12.9 MB / 378.7 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.0009807/0.2705, allocations: 0.5811 MB / 0.5598 GB, free: 12.32 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000561/0.2711, allocations: 394 kB / 0.5601 GB, free: 11.94 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006021/0.2717, allocations: 1.028 MB / 0.5611 GB, free: 10.91 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002226/0.272, allocations: 186.4 kB / 0.5613 GB, free: 10.71 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002759/0.2722, allocations: 402.2 kB / 0.5617 GB, free: 10.31 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003785/0.2726, allocations: 0.5171 MB / 0.5622 GB, free: 9.793 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.452e-05/0.2727, allocations: 52 kB / 0.5623 GB, free: 9.742 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002716/0.273, allocations: 183.9 kB / 0.5624 GB, free: 9.562 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.2731, allocations: 183.2 kB / 0.5626 GB, free: 9.383 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002341/0.2734, allocations: 425.4 kB / 0.563 GB, free: 8.965 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006565/0.274, allocations: 1.217 MB / 0.5642 GB, free: 7.746 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.274, allocations: 0 / 0.5642 GB, free: 7.746 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.274, allocations: 0 / 0.5642 GB, free: 7.746 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.2741, allocations: 0 / 0.5642 GB, free: 7.746 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.004473/0.2785, allocations: 1.753 MB / 0.5659 GB, free: 5.941 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.2786, allocations: 8.031 kB / 0.5659 GB, free: 5.934 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002862/0.2814, allocations: 0.5225 MB / 0.5664 GB, free: 5.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006405/0.2821, allocations: 0.647 MB / 0.5671 GB, free: 4.723 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/0.2822, allocations: 142.1 kB / 0.5672 GB, free: 4.566 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.645e-05/0.2823, allocations: 48 kB / 0.5672 GB, free: 4.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.2834, allocations: 0.6584 MB / 0.5679 GB, free: 3.855 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.2834, allocations: 0 / 0.5679 GB, free: 3.855 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.261e-05/0.2835, allocations: 20 kB / 0.5679 GB, free: 3.836 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.2835, allocations: 12 kB / 0.5679 GB, free: 3.824 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.2845, allocations: 0.6363 MB / 0.5685 GB, free: 3.184 MB / 378.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.003447/0.288, allocations: 2.635 MB / 0.5711 GB, free: 444 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01207/0.3, allocations: 2.814 MB / 0.5739 GB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007921/0.3009, allocations: 446.3 kB / 0.5743 GB, free: 13.13 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.53e-05/0.3009, allocations: 12.45 kB / 0.5743 GB, free: 13.12 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.301, allocations: 43.12 kB / 0.5743 GB, free: 13.07 MB / 394.7 MB Notification: Performance of pre-optimization done (n=57): time 1.834e-06/0.301, allocations: 3.938 kB / 0.5743 GB, free: 13.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=57): time 0.01204/0.313, allocations: 3.523 MB / 0.5778 GB, free: 9.469 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.3131, allocations: 63.97 kB / 0.5778 GB, free: 9.395 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009189/0.314, allocations: 0.7622 MB / 0.5786 GB, free: 8.625 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.774e-05/0.3141, allocations: 37.7 kB / 0.5786 GB, free: 8.582 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002298/0.3143, allocations: 348.6 kB / 0.579 GB, free: 8.234 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001814/0.3145, allocations: 213 kB / 0.5792 GB, free: 8.023 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003235/0.3148, allocations: 166.5 kB / 0.5793 GB, free: 7.855 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.315, allocations: 398.7 kB / 0.5797 GB, free: 7.457 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009779/0.316, allocations: 0.4939 MB / 0.5802 GB, free: 6.961 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/0.317, allocations: 0.6069 MB / 0.5808 GB, free: 6.332 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01471/0.3317, allocations: 3.559 MB / 0.5842 GB, free: 2.746 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.3317, allocations: 0 / 0.5842 GB, free: 2.746 MB / 394.7 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.006649/0.3384, allocations: 2.399 MB / 0.5866 GB, free: 336 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.3384, allocations: 4 kB / 0.5866 GB, free: 332 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.3384, allocations: 4 kB / 0.5866 GB, free: 328 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003893/0.3423, allocations: 1.037 MB / 0.5876 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007414/0.3431, allocations: 155.7 kB / 0.5878 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009334/0.3524, allocations: 4.699 MB / 0.5923 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000973/0.3534, allocations: 107.2 kB / 0.5924 GB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-05/0.3535, allocations: 39.98 kB / 0.5925 GB, free: 10.14 MB / 410.7 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.0003747/0.3539, allocations: 209.6 kB / 0.5927 GB, free: 9.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/0.354, allocations: 79.06 kB / 0.5928 GB, free: 9.852 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005738/0.3598, allocations: 1.945 MB / 0.5947 GB, free: 7.879 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.3598, allocations: 8 kB / 0.5947 GB, free: 7.871 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3598, allocations: 4 kB / 0.5947 GB, free: 7.867 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.3598, allocations: 0 / 0.5947 GB, free: 7.867 MB / 410.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 postOpt removeSimpleEquations (simulation): time 0.006684/0.3665, allocations: 3.044 MB / 0.5976 GB, free: 4.734 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.3665, allocations: 0 / 0.5976 GB, free: 4.734 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004385/0.367, allocations: 63.91 kB / 0.5977 GB, free: 4.672 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003112/0.3701, allocations: 0.9296 MB / 0.5986 GB, free: 3.734 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.075e-05/0.3702, allocations: 19.98 kB / 0.5986 GB, free: 3.715 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007413/0.3776, allocations: 3.782 MB / 0.6023 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.3776, allocations: 4 kB / 0.6023 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03681/0.4144, allocations: 14.77 MB / 0.6168 GB, free: 0.7227 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002449/0.4147, allocations: 175.9 kB / 0.6169 GB, free: 0.5312 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001791/0.4149, allocations: 8 kB / 0.6169 GB, free: 0.5234 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008076/0.4157, allocations: 56.25 kB / 0.617 GB, free: 480 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003602/0.4161, allocations: 124.3 kB / 0.6171 GB, free: 352 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.645e-05/0.4162, allocations: 16 kB / 0.6171 GB, free: 336 kB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006549/0.4168, allocations: 0.5147 MB / 0.6176 GB, free: 15.81 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4168, allocations: 3.938 kB / 0.6176 GB, free: 15.81 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001138/0.418, allocations: 403.8 kB / 0.618 GB, free: 15.41 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (G1.machine.delta,G1.machine.w,G1.machine.e1q,G1.machine.e1d,G1.machine.e2q,G1.machine.e2d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 37 * 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 {(9,9,48.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002158/0.4182, allocations: 131.9 kB / 0.6181 GB, free: 15.28 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004252/0.4225, allocations: 1.734 MB / 0.6198 GB, free: 13.49 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4225, allocations: 0 / 0.6198 GB, free: 13.49 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002705/0.4252, allocations: 1.084 MB / 0.6209 GB, free: 12.35 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005625/0.4258, allocations: 55 kB / 0.6209 GB, free: 12.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004332/0.4301, allocations: 2.561 MB / 0.6234 GB, free: 9.684 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004779/0.4306, allocations: 0.9659 MB / 0.6244 GB, free: 8.688 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003007/0.4309, allocations: 69.12 kB / 0.6244 GB, free: 8.621 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002024/0.4311, allocations: 51.44 kB / 0.6245 GB, free: 8.574 MB / 442.7 MB Notification: Performance of SimCode: time 5.71e-07/0.4311, allocations: 0 / 0.6245 GB, free: 8.574 MB / 442.7 MB Notification: Performance of Templates: time 0.02588/0.457, allocations: 18.03 MB / 0.6421 GB, free: 6.586 MB / 458.7 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)