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.001716/0.001716, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 222.9 MB / 239.2 MB, free: 4.578 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.001366/0.001365, allocations: 192.5 kB / 289.5 MB, free: 2.312 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4987/0.4987, allocations: 91.9 MB / 431.6 MB, free: 9.25 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 79.86 kB / 0.5019 GB, free: 7.723 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.3014, allocations: 71.27 MB / 0.5715 GB, free: 36.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.004193/0.3056, allocations: 4.907 MB / 0.5763 GB, free: 33.93 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002412/0.3081, allocations: 1.61 MB / 0.5778 GB, free: 32.99 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000325/0.3084, allocations: 6.875 kB / 0.5778 GB, free: 32.99 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003494/0.3088, allocations: 160.5 kB / 0.578 GB, free: 32.91 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001192/0.31, allocations: 0.6479 MB / 0.5786 GB, free: 32.48 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006934/0.3107, allocations: 421.2 kB / 0.579 GB, free: 32.26 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007671/0.3115, allocations: 1.069 MB / 0.5801 GB, free: 31.71 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002877/0.3118, allocations: 225 kB / 0.5803 GB, free: 31.62 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003723/0.3122, allocations: 442.5 kB / 0.5807 GB, free: 31.4 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004558/0.3126, allocations: 0.5592 MB / 0.5812 GB, free: 31.12 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.3128, allocations: 99.75 kB / 0.5813 GB, free: 31.12 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003592/0.3131, allocations: 227.7 kB / 0.5816 GB, free: 31.09 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.3133, allocations: 234.6 kB / 0.5818 GB, free: 30.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002797/0.3136, allocations: 481.9 kB / 0.5822 GB, free: 30.61 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008238/0.3144, allocations: 1.246 MB / 0.5835 GB, free: 30.06 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3144, allocations: 0 / 0.5835 GB, free: 30.06 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3144, allocations: 1.688 kB / 0.5835 GB, free: 30.06 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.3144, allocations: 0 / 0.5835 GB, free: 30.06 MB / 430.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.004809/0.3192, allocations: 1.752 MB / 0.5852 GB, free: 29.17 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.3193, allocations: 9.125 kB / 0.5852 GB, free: 29.17 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003064/0.3224, allocations: 0.5296 MB / 0.5857 GB, free: 29.05 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007552/0.3231, allocations: 0.6398 MB / 0.5863 GB, free: 28.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001495/0.3233, allocations: 145.2 kB / 0.5865 GB, free: 28.47 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.71e-05/0.3234, allocations: 56.53 kB / 0.5865 GB, free: 28.45 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/0.3246, allocations: 0.6547 MB / 0.5872 GB, free: 28.2 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.3246, allocations: 4 kB / 0.5872 GB, free: 28.19 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.019e-05/0.3247, allocations: 20.84 kB / 0.5872 GB, free: 28.18 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.3247, allocations: 10.78 kB / 0.5872 GB, free: 28.18 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001134/0.3258, allocations: 0.6306 MB / 0.5878 GB, free: 27.95 MB / 430.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.003796/0.3296, allocations: 2.629 MB / 0.5904 GB, free: 26.43 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01217/0.3418, allocations: 2.816 MB / 0.5931 GB, free: 25.89 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009913/0.3428, allocations: 451.1 kB / 0.5935 GB, free: 25.7 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.484e-05/0.3429, allocations: 11.28 kB / 0.5936 GB, free: 25.7 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.343, allocations: 37.91 kB / 0.5936 GB, free: 25.66 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 3.407e-06/0.343, allocations: 4 kB / 0.5936 GB, free: 25.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.01294/0.3559, allocations: 3.524 MB / 0.597 GB, free: 24.67 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.356, allocations: 62.09 kB / 0.5971 GB, free: 24.6 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/0.3571, allocations: 0.7623 MB / 0.5978 GB, free: 24.25 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001005/0.3572, allocations: 36.23 kB / 0.5979 GB, free: 24.21 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002211/0.3574, allocations: 360 kB / 0.5982 GB, free: 23.92 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001956/0.3576, allocations: 207.7 kB / 0.5984 GB, free: 23.76 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003159/0.3579, allocations: 170.5 kB / 0.5986 GB, free: 23.68 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.3581, allocations: 395.8 kB / 0.599 GB, free: 23.32 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009934/0.3591, allocations: 0.5047 MB / 0.5995 GB, free: 23.12 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/0.3601, allocations: 0.5914 MB / 0.6 GB, free: 22.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01577/0.3759, allocations: 3.573 MB / 0.6035 GB, free: 21.82 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.3759, allocations: 0 / 0.6035 GB, free: 21.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007365/0.3833, allocations: 2.388 MB / 0.6059 GB, free: 21.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.3834, allocations: 5.969 kB / 0.6059 GB, free: 21.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.3834, allocations: 2.906 kB / 0.6059 GB, free: 21.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004299/0.3877, allocations: 1.049 MB / 0.6069 GB, free: 20.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008578/0.3886, allocations: 147.7 kB / 0.607 GB, free: 20.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0103/0.3989, allocations: 5.079 MB / 0.612 GB, free: 17.99 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/0.4002, allocations: 108.9 kB / 0.6121 GB, free: 17.94 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.742e-05/0.4003, allocations: 33.17 kB / 0.6121 GB, free: 17.93 MB / 430.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.0004118/0.4007, allocations: 211.2 kB / 0.6123 GB, free: 17.75 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/0.4009, allocations: 81.44 kB / 0.6124 GB, free: 17.71 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00593/0.4068, allocations: 1.946 MB / 0.6143 GB, free: 17 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.4069, allocations: 5.969 kB / 0.6143 GB, free: 17 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.158e-06/0.4069, allocations: 7.656 kB / 0.6143 GB, free: 17 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.4069, allocations: 3.984 kB / 0.6143 GB, free: 17 MB / 430.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.006778/0.4137, allocations: 3.049 MB / 0.6173 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.4137, allocations: 5.062 kB / 0.6173 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00044/0.4141, allocations: 69.16 kB / 0.6174 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002973/0.4171, allocations: 0.9405 MB / 0.6183 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.563e-05/0.4172, allocations: 8 kB / 0.6183 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007354/0.4246, allocations: 4.11 MB / 0.6223 GB, free: 9.793 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4246, allocations: 0 / 0.6223 GB, free: 9.793 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006254/0.4308, allocations: 2.514 MB / 0.6248 GB, free: 7.25 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002637/0.4311, allocations: 179.9 kB / 0.6249 GB, free: 7.055 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001634/0.4313, allocations: 12 kB / 0.6249 GB, free: 7.043 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007891/0.4321, allocations: 51.94 kB / 0.625 GB, free: 6.992 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002791/0.4324, allocations: 116.4 kB / 0.6251 GB, free: 6.879 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-05/0.4324, allocations: 19.92 kB / 0.6251 GB, free: 6.859 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005695/0.433, allocations: 0.5225 MB / 0.6256 GB, free: 6.34 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.433, allocations: 0 / 0.6256 GB, free: 6.34 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001022/0.434, allocations: 303.7 kB / 0.6259 GB, free: 6.043 MB / 430.1 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.0002056/0.4342, allocations: 115.2 kB / 0.626 GB, free: 5.918 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004118/0.4384, allocations: 1.761 MB / 0.6278 GB, free: 4.098 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.4384, allocations: 0 / 0.6278 GB, free: 4.098 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002456/0.4409, allocations: 1.072 MB / 0.6288 GB, free: 2.969 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006179/0.4415, allocations: 69.47 kB / 0.6289 GB, free: 2.906 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002281/0.4438, allocations: 1.528 MB / 0.6304 GB, free: 1.352 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.4441, allocations: 0.9421 MB / 0.6313 GB, free: 388 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002764/0.4444, allocations: 69.12 kB / 0.6313 GB, free: 316 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001638/0.4446, allocations: 47.42 kB / 0.6314 GB, free: 268 kB / 430.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4446, allocations: 0 / 0.6314 GB, free: 268 kB / 430.1 MB Notification: Performance of Templates: time 0.02325/0.4678, allocations: 14.33 MB / 0.6454 GB, free: 1.957 MB / 446.1 MB 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)