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.005074/0.005074, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.302/1.302, allocations: 222.9 MB / 239.4 MB, free: 4.547 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.001388/0.001388, allocations: 184.5 kB / 289.7 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5043/0.5043, allocations: 91.9 MB / 431.8 MB, free: 9.207 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 80.59 kB / 0.5727 GB, free: 33.83 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1165, allocations: 71.28 MB / 0.6423 GB, free: 3.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.004965/0.1215, allocations: 4.923 MB / 0.6471 GB, free: 14.79 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002815/0.1244, allocations: 1.595 MB / 0.6487 GB, free: 13.18 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003495/0.1247, allocations: 8 kB / 0.6487 GB, free: 13.18 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003822/0.1251, allocations: 162.7 kB / 0.6488 GB, free: 13.02 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001372/0.1265, allocations: 0.6749 MB / 0.6495 GB, free: 12.34 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000752/0.1273, allocations: 429.3 kB / 0.6499 GB, free: 11.92 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009674/0.1283, allocations: 1.078 MB / 0.651 GB, free: 10.84 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003009/0.1286, allocations: 217.9 kB / 0.6512 GB, free: 10.61 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004196/0.129, allocations: 442.2 kB / 0.6516 GB, free: 10.18 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005395/0.1296, allocations: 0.5641 MB / 0.6521 GB, free: 9.613 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001086/0.1297, allocations: 96 kB / 0.6522 GB, free: 9.52 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003573/0.13, allocations: 235.9 kB / 0.6525 GB, free: 9.289 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001668/0.1302, allocations: 231 kB / 0.6527 GB, free: 9.062 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003587/0.1306, allocations: 473.4 kB / 0.6531 GB, free: 8.598 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.1316, allocations: 1.254 MB / 0.6544 GB, free: 7.34 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1316, allocations: 0 / 0.6544 GB, free: 7.34 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1317, allocations: 7.875 kB / 0.6544 GB, free: 7.332 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.1317, allocations: 0 / 0.6544 GB, free: 7.332 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.005111/0.1368, allocations: 1.76 MB / 0.6561 GB, free: 5.52 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.1368, allocations: 12.02 kB / 0.6561 GB, free: 5.508 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003346/0.1402, allocations: 0.5264 MB / 0.6566 GB, free: 4.98 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008996/0.1411, allocations: 0.6431 MB / 0.6572 GB, free: 4.297 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001722/0.1413, allocations: 142.1 kB / 0.6574 GB, free: 4.141 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.1414, allocations: 52 kB / 0.6574 GB, free: 4.09 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.1427, allocations: 0.6584 MB / 0.6581 GB, free: 3.426 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.1427, allocations: 0 / 0.6581 GB, free: 3.426 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.509e-05/0.1428, allocations: 20 kB / 0.6581 GB, free: 3.406 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.1428, allocations: 12 kB / 0.6581 GB, free: 3.395 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001222/0.1441, allocations: 0.6285 MB / 0.6587 GB, free: 2.762 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.004256/0.1483, allocations: 2.623 MB / 0.6613 GB, free: 28 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0125/0.1608, allocations: 2.815 MB / 0.664 GB, free: 13.16 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009928/0.1619, allocations: 447.4 kB / 0.6644 GB, free: 12.72 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.292e-05/0.162, allocations: 8.547 kB / 0.6645 GB, free: 12.71 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.162, allocations: 39.12 kB / 0.6645 GB, free: 12.66 MB / 478.1 MB Notification: Performance of pre-optimization done (n=57): time 2.896e-06/0.162, allocations: 0 / 0.6645 GB, free: 12.66 MB / 478.1 MB Notification: Performance of matching and sorting (n=57): time 0.01289/0.1749, allocations: 3.527 MB / 0.6679 GB, free: 9.07 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.175, allocations: 59.97 kB / 0.668 GB, free: 9 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/0.176, allocations: 0.7623 MB / 0.6687 GB, free: 8.227 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.383e-05/0.1761, allocations: 37.7 kB / 0.6688 GB, free: 8.184 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002316/0.1763, allocations: 356.6 kB / 0.6691 GB, free: 7.828 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002025/0.1766, allocations: 209 kB / 0.6693 GB, free: 7.621 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003035/0.1769, allocations: 170.5 kB / 0.6695 GB, free: 7.449 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.177, allocations: 398.7 kB / 0.6699 GB, free: 7.051 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009868/0.178, allocations: 0.4939 MB / 0.6703 GB, free: 6.555 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001057/0.1791, allocations: 0.5992 MB / 0.6709 GB, free: 5.934 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0157/0.1948, allocations: 3.553 MB / 0.6744 GB, free: 2.355 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.1948, allocations: 0 / 0.6744 GB, free: 2.355 MB / 478.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007283/0.2021, allocations: 2.395 MB / 0.6767 GB, free: 15.94 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.2022, allocations: 4 kB / 0.6767 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.2022, allocations: 4 kB / 0.6767 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004253/0.2065, allocations: 1.052 MB / 0.6778 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008504/0.2073, allocations: 155.7 kB / 0.6779 GB, free: 14.72 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01059/0.2179, allocations: 5.065 MB / 0.6829 GB, free: 9.508 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/0.2192, allocations: 115.2 kB / 0.683 GB, free: 9.395 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.2193, allocations: 31.98 kB / 0.683 GB, free: 9.363 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.0004569/0.2198, allocations: 210.3 kB / 0.6832 GB, free: 9.148 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001806/0.22, allocations: 82.97 kB / 0.6833 GB, free: 9.066 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006035/0.226, allocations: 1.945 MB / 0.6852 GB, free: 7.102 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.2261, allocations: 12 kB / 0.6852 GB, free: 7.09 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/0.2261, allocations: 4 kB / 0.6852 GB, free: 7.086 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.2261, allocations: 3.984 kB / 0.6852 GB, free: 7.082 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.007419/0.2335, allocations: 3.036 MB / 0.6882 GB, free: 3.945 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.2336, allocations: 3.938 kB / 0.6882 GB, free: 3.941 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004584/0.234, allocations: 67.91 kB / 0.6882 GB, free: 3.875 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00337/0.2374, allocations: 0.9333 MB / 0.6891 GB, free: 2.934 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.588e-05/0.2375, allocations: 16 kB / 0.6892 GB, free: 2.918 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008459/0.246, allocations: 4.102 MB / 0.6932 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.246, allocations: 0 / 0.6932 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007143/0.2531, allocations: 2.523 MB / 0.6956 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000301/0.2535, allocations: 179.9 kB / 0.6958 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001961/0.2537, allocations: 12.12 kB / 0.6958 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008692/0.2546, allocations: 55.94 kB / 0.6959 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000349/0.2549, allocations: 120.4 kB / 0.696 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.321e-05/0.255, allocations: 15.98 kB / 0.696 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007096/0.2557, allocations: 0.5186 MB / 0.6965 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2557, allocations: 0 / 0.6965 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009974/0.2567, allocations: 299.7 kB / 0.6968 GB, free: 10.93 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.0002574/0.257, allocations: 123.1 kB / 0.6969 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004482/0.2615, allocations: 1.734 MB / 0.6986 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2615, allocations: 0 / 0.6986 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002764/0.2643, allocations: 1.072 MB / 0.6996 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006632/0.2649, allocations: 69.8 kB / 0.6997 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002628/0.2676, allocations: 1.506 MB / 0.7012 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004812/0.2681, allocations: 0.946 MB / 0.7021 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002815/0.2684, allocations: 69.14 kB / 0.7022 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001917/0.2686, allocations: 47.62 kB / 0.7022 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of SimCode: time 6.51e-07/0.2686, allocations: 0 / 0.7022 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of Templates: time 0.02274/0.2913, allocations: 14.49 MB / 0.7164 GB, free: 6.719 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)