Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_OpenIPSL.Examples.KundurSMIB.SMIB") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.001724/0.001725, allocations: 105.6 kB / 16.41 MB, free: 6.457 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.346/1.346, allocations: 222.9 MB / 240.1 MB, free: 4.535 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.001628/0.001628, allocations: 192.4 kB / 290.4 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5342/0.5342, allocations: 91.9 MB / 432.4 MB, free: 9.203 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 74.44 kB / 0.5734 GB, free: 33.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1721, allocations: 71.28 MB / 0.643 GB, free: 3.621 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.006398/0.1785, allocations: 4.923 MB / 0.6478 GB, free: 14.68 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003652/0.1822, allocations: 1.591 MB / 0.6493 GB, free: 13.08 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008949/0.1832, allocations: 8 kB / 0.6494 GB, free: 13.07 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000702/0.1839, allocations: 166.7 kB / 0.6495 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002303/0.1863, allocations: 0.6398 MB / 0.6501 GB, free: 12.27 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001086/0.1874, allocations: 425.3 kB / 0.6505 GB, free: 11.85 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001691/0.1891, allocations: 1.078 MB / 0.6516 GB, free: 10.77 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004392/0.1895, allocations: 218 kB / 0.6518 GB, free: 10.54 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00083/0.1903, allocations: 454.2 kB / 0.6522 GB, free: 10.1 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009606/0.1913, allocations: 0.5563 MB / 0.6528 GB, free: 9.539 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003293/0.1917, allocations: 100 kB / 0.6529 GB, free: 9.441 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007148/0.1924, allocations: 235.8 kB / 0.6531 GB, free: 9.211 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003253/0.1927, allocations: 227.1 kB / 0.6533 GB, free: 8.988 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005526/0.1933, allocations: 477.4 kB / 0.6538 GB, free: 8.52 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001498/0.1948, allocations: 1.258 MB / 0.655 GB, free: 7.258 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.1948, allocations: 3.984 kB / 0.655 GB, free: 7.254 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1948, allocations: 0 / 0.655 GB, free: 7.254 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.802e-05/0.1948, allocations: 0 / 0.655 GB, free: 7.254 MB / 462.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.005346/0.2002, allocations: 1.76 MB / 0.6567 GB, free: 5.441 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.2002, allocations: 8.031 kB / 0.6567 GB, free: 5.434 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003441/0.2037, allocations: 0.5225 MB / 0.6572 GB, free: 4.91 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.2047, allocations: 0.6431 MB / 0.6579 GB, free: 4.227 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001863/0.2049, allocations: 142.1 kB / 0.658 GB, free: 4.07 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.2051, allocations: 52 kB / 0.6581 GB, free: 4.02 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.2065, allocations: 0.6584 MB / 0.6587 GB, free: 3.355 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.2065, allocations: 3.984 kB / 0.6587 GB, free: 3.352 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.337e-05/0.2066, allocations: 16 kB / 0.6587 GB, free: 3.336 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/0.2066, allocations: 12 kB / 0.6587 GB, free: 3.324 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001327/0.208, allocations: 0.6324 MB / 0.6593 GB, free: 2.688 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.004981/0.213, allocations: 2.627 MB / 0.6619 GB, free: 15.95 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01269/0.2257, allocations: 2.815 MB / 0.6647 GB, free: 13.09 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001119/0.2268, allocations: 442.3 kB / 0.6651 GB, free: 12.65 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.437e-05/0.227, allocations: 4.562 kB / 0.6651 GB, free: 12.64 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.227, allocations: 47.11 kB / 0.6651 GB, free: 12.59 MB / 478.1 MB Notification: Performance of pre-optimization done (n=57): time 3.026e-06/0.227, allocations: 0 / 0.6651 GB, free: 12.59 MB / 478.1 MB Notification: Performance of matching and sorting (n=57): time 0.01308/0.2401, allocations: 3.527 MB / 0.6686 GB, free: 8.992 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.2402, allocations: 59.97 kB / 0.6686 GB, free: 8.922 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/0.2415, allocations: 0.7584 MB / 0.6694 GB, free: 8.152 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001178/0.2417, allocations: 41.7 kB / 0.6694 GB, free: 8.105 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002936/0.242, allocations: 352.6 kB / 0.6697 GB, free: 7.754 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002739/0.2422, allocations: 209 kB / 0.6699 GB, free: 7.547 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003901/0.2426, allocations: 170.5 kB / 0.6701 GB, free: 7.375 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.2428, allocations: 398.7 kB / 0.6705 GB, free: 6.977 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001034/0.2439, allocations: 0.4939 MB / 0.671 GB, free: 6.48 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001094/0.245, allocations: 0.5992 MB / 0.6716 GB, free: 5.859 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01547/0.2605, allocations: 3.556 MB / 0.675 GB, free: 2.277 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/0.2605, allocations: 0 / 0.675 GB, free: 2.277 MB / 478.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007724/0.2683, allocations: 2.4 MB / 0.6774 GB, free: 15.86 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.999e-05/0.2683, allocations: 4 kB / 0.6774 GB, free: 15.85 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.2683, allocations: 4 kB / 0.6774 GB, free: 15.85 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004235/0.2726, allocations: 1.054 MB / 0.6784 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008688/0.2735, allocations: 151.8 kB / 0.6786 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01096/0.2845, allocations: 5.063 MB / 0.6835 GB, free: 9.426 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/0.2858, allocations: 115.1 kB / 0.6836 GB, free: 9.312 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000164/0.286, allocations: 31.98 kB / 0.6836 GB, free: 9.281 MB / 494.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.0005518/0.2866, allocations: 210.2 kB / 0.6838 GB, free: 9.066 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002558/0.2868, allocations: 82.97 kB / 0.6839 GB, free: 8.984 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006159/0.293, allocations: 1.941 MB / 0.6858 GB, free: 7.023 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.293, allocations: 8 kB / 0.6858 GB, free: 7.016 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.557e-05/0.2931, allocations: 4 kB / 0.6858 GB, free: 7.012 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.2931, allocations: 3.984 kB / 0.6858 GB, free: 7.008 MB / 494.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 postOpt removeSimpleEquations (simulation): time 0.007779/0.3009, allocations: 3.036 MB / 0.6888 GB, free: 3.871 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.3009, allocations: 0 / 0.6888 GB, free: 3.871 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004938/0.3014, allocations: 71.84 kB / 0.6889 GB, free: 3.801 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003407/0.3048, allocations: 0.9373 MB / 0.6898 GB, free: 2.855 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.138e-05/0.305, allocations: 12 kB / 0.6898 GB, free: 2.844 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00858/0.3135, allocations: 4.102 MB / 0.6938 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3136, allocations: 0 / 0.6938 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007292/0.3209, allocations: 2.527 MB / 0.6963 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000384/0.3213, allocations: 175.9 kB / 0.6964 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002242/0.3216, allocations: 12 kB / 0.6964 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008664/0.3224, allocations: 52.06 kB / 0.6965 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003741/0.3228, allocations: 124.4 kB / 0.6966 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.298e-05/0.3229, allocations: 12 kB / 0.6966 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007626/0.3237, allocations: 0.5225 MB / 0.6971 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.3237, allocations: 0 / 0.6971 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001117/0.3248, allocations: 299.8 kB / 0.6974 GB, free: 10.86 MB / 0.4981 GB 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.0002755/0.3251, allocations: 123.1 kB / 0.6975 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004504/0.3296, allocations: 1.73 MB / 0.6992 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.3296, allocations: 4 kB / 0.6992 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002854/0.3325, allocations: 1.072 MB / 0.7003 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00073/0.3332, allocations: 58.98 kB / 0.7003 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002889/0.3361, allocations: 1.554 MB / 0.7018 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005188/0.3367, allocations: 0.9382 MB / 0.7028 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002642/0.3369, allocations: 55.42 kB / 0.7028 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of SimCode: time 6.41e-07/0.337, allocations: 0 / 0.7028 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of Templates: time 0.02539/0.3624, allocations: 20.48 MB / 0.7228 GB, free: 0.6328 MB / 0.5137 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.sim & ./OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1)