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.006701/0.006701, allocations: 96.72 kB / 15.73 MB, free: 6.004 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.333/1.333, allocations: 222.9 MB / 239.4 MB, free: 4.508 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.001467/0.001467, allocations: 180.5 kB / 289.7 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.5974/0.5974, allocations: 91.9 MB / 431.8 MB, free: 9.195 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 77.5 kB / 0.5727 GB, free: 33.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1407, allocations: 71.28 MB / 0.6423 GB, free: 3.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.005254/0.146, allocations: 4.919 MB / 0.6471 GB, free: 14.65 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002955/0.149, allocations: 1.603 MB / 0.6487 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002784/0.1493, allocations: 4 kB / 0.6487 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003793/0.1497, allocations: 158.7 kB / 0.6488 GB, free: 12.88 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001343/0.151, allocations: 0.6361 MB / 0.6495 GB, free: 12.24 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007609/0.1518, allocations: 429.2 kB / 0.6499 GB, free: 11.82 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009435/0.1528, allocations: 1.09 MB / 0.6509 GB, free: 10.73 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002981/0.1531, allocations: 206 kB / 0.6511 GB, free: 10.52 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004199/0.1535, allocations: 446.2 kB / 0.6516 GB, free: 10.08 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005739/0.1541, allocations: 0.5563 MB / 0.6521 GB, free: 9.52 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001182/0.1542, allocations: 100 kB / 0.6522 GB, free: 9.422 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003941/0.1546, allocations: 239.8 kB / 0.6524 GB, free: 9.188 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001777/0.1548, allocations: 231.1 kB / 0.6526 GB, free: 8.961 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003513/0.1552, allocations: 477.4 kB / 0.6531 GB, free: 8.492 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001152/0.1563, allocations: 1.268 MB / 0.6543 GB, free: 7.219 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1563, allocations: 0 / 0.6543 GB, free: 7.219 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1564, allocations: 0 / 0.6543 GB, free: 7.219 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.526e-05/0.1564, allocations: 0 / 0.6543 GB, free: 7.219 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.005064/0.1614, allocations: 1.779 MB / 0.6561 GB, free: 5.387 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.1615, allocations: 8.031 kB / 0.6561 GB, free: 5.379 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003306/0.1648, allocations: 0.5269 MB / 0.6566 GB, free: 4.852 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009077/0.1657, allocations: 0.6515 MB / 0.6572 GB, free: 4.16 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001734/0.1659, allocations: 150.1 kB / 0.6574 GB, free: 3.996 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.166, allocations: 48 kB / 0.6574 GB, free: 3.949 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/0.1673, allocations: 0.6545 MB / 0.6581 GB, free: 3.289 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.1673, allocations: 0 / 0.6581 GB, free: 3.289 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.22e-05/0.1674, allocations: 20 kB / 0.6581 GB, free: 3.27 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/0.1674, allocations: 19.98 kB / 0.6581 GB, free: 3.25 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/0.1687, allocations: 0.6246 MB / 0.6587 GB, free: 2.621 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.004204/0.1729, allocations: 2.632 MB / 0.6613 GB, free: 15.88 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01225/0.1851, allocations: 2.807 MB / 0.664 GB, free: 13.02 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001005/0.1862, allocations: 442.3 kB / 0.6644 GB, free: 12.58 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.729e-05/0.1863, allocations: 12.56 kB / 0.6645 GB, free: 12.57 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.1863, allocations: 43.09 kB / 0.6645 GB, free: 12.52 MB / 478.1 MB Notification: Performance of pre-optimization done (n=57): time 2.635e-06/0.1863, allocations: 0 / 0.6645 GB, free: 12.52 MB / 478.1 MB Notification: Performance of matching and sorting (n=57): time 0.01259/0.1989, allocations: 3.535 MB / 0.668 GB, free: 8.918 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.199, allocations: 55.97 kB / 0.668 GB, free: 8.852 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/0.2002, allocations: 0.7662 MB / 0.6688 GB, free: 8.074 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.572e-05/0.2003, allocations: 37.7 kB / 0.6688 GB, free: 8.031 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002859/0.2006, allocations: 361 kB / 0.6691 GB, free: 7.672 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002747/0.2008, allocations: 218.2 kB / 0.6693 GB, free: 7.457 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003606/0.2012, allocations: 170.6 kB / 0.6695 GB, free: 7.285 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.2014, allocations: 398.7 kB / 0.6699 GB, free: 6.887 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001052/0.2024, allocations: 0.4939 MB / 0.6704 GB, free: 6.391 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/0.2036, allocations: 0.5952 MB / 0.671 GB, free: 5.773 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01558/0.2191, allocations: 3.557 MB / 0.6744 GB, free: 2.191 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.128e-05/0.2192, allocations: 0 / 0.6744 GB, free: 2.191 MB / 478.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007511/0.2267, allocations: 2.4 MB / 0.6768 GB, free: 15.77 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.038e-05/0.2268, allocations: 5.406 kB / 0.6768 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.2268, allocations: 7.938 kB / 0.6768 GB, free: 15.76 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004275/0.2311, allocations: 1.045 MB / 0.6778 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008459/0.232, allocations: 155.8 kB / 0.6779 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01137/0.2434, allocations: 5.079 MB / 0.6829 GB, free: 9.324 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/0.2448, allocations: 111.4 kB / 0.683 GB, free: 9.215 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000188/0.245, allocations: 35.98 kB / 0.6831 GB, free: 9.18 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.0006652/0.2457, allocations: 206.2 kB / 0.6832 GB, free: 8.969 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003292/0.246, allocations: 87.48 kB / 0.6833 GB, free: 8.883 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006297/0.2523, allocations: 1.949 MB / 0.6852 GB, free: 6.914 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.2523, allocations: 4 kB / 0.6852 GB, free: 6.91 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.535e-05/0.2524, allocations: 4 kB / 0.6852 GB, free: 6.906 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.2524, allocations: 3.984 kB / 0.6852 GB, free: 6.902 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.007706/0.2601, allocations: 3.044 MB / 0.6882 GB, free: 3.758 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/0.2601, allocations: 3.938 kB / 0.6882 GB, free: 3.754 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004574/0.2606, allocations: 63.91 kB / 0.6883 GB, free: 3.691 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003433/0.264, allocations: 0.9253 MB / 0.6892 GB, free: 2.758 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.928e-05/0.2641, allocations: 12 kB / 0.6892 GB, free: 2.746 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008869/0.273, allocations: 4.126 MB / 0.6932 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.273, allocations: 160 / 0.6932 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007315/0.2803, allocations: 2.519 MB / 0.6957 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000329/0.2807, allocations: 188.4 kB / 0.6959 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001792/0.2809, allocations: 8 kB / 0.6959 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008189/0.2817, allocations: 51.94 kB / 0.6959 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003501/0.2821, allocations: 120.4 kB / 0.696 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.499e-05/0.2822, allocations: 16 kB / 0.6961 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007598/0.2829, allocations: 0.5225 MB / 0.6966 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2829, allocations: 0 / 0.6966 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001017/0.2839, allocations: 295.8 kB / 0.6968 GB, free: 10.74 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.0002547/0.2842, allocations: 123.1 kB / 0.697 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004538/0.2888, allocations: 1.742 MB / 0.6987 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2888, allocations: 0 / 0.6987 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002773/0.2916, allocations: 1.084 MB / 0.6997 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006651/0.2922, allocations: 69.8 kB / 0.6998 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002762/0.295, allocations: 1.527 MB / 0.7013 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005658/0.2956, allocations: 0.9421 MB / 0.7022 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000308/0.2959, allocations: 73.12 kB / 0.7023 GB, free: 5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001939/0.2961, allocations: 47.44 kB / 0.7023 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of SimCode: time 1.593e-06/0.2961, allocations: 0 / 0.7023 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of Templates: time 0.02461/0.3207, allocations: 14.49 MB / 0.7165 GB, free: 6.477 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)