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.006292/0.006292, allocations: 101.5 kB / 15.88 MB, free: 6.332 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.334/1.334, allocations: 222.9 MB / 239.5 MB, free: 4.793 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.001341/0.00134, allocations: 188.5 kB / 289.8 MB, free: 2.531 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4916/0.4916, allocations: 91.9 MB / 431.8 MB, free: 9.449 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 75.89 kB / 0.5018 GB, free: 8.195 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3261, allocations: 71.26 MB / 0.5714 GB, free: 36.44 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.004458/0.3306, allocations: 5.189 MB / 0.5765 GB, free: 33.54 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002701/0.3333, allocations: 1.649 MB / 0.5781 GB, free: 32.64 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003612/0.3337, allocations: 6 kB / 0.5781 GB, free: 32.64 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003745/0.3341, allocations: 127.3 kB / 0.5782 GB, free: 32.59 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001206/0.3354, allocations: 0.5791 MB / 0.5788 GB, free: 32.22 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006678/0.336, allocations: 391.8 kB / 0.5792 GB, free: 32 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007589/0.3368, allocations: 1.019 MB / 0.5802 GB, free: 31.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002607/0.3371, allocations: 187.5 kB / 0.5804 GB, free: 31.41 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000355/0.3374, allocations: 397.8 kB / 0.5807 GB, free: 31.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004183/0.3379, allocations: 0.5164 MB / 0.5812 GB, free: 31 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.181e-05/0.338, allocations: 54.59 kB / 0.5813 GB, free: 31 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003421/0.3383, allocations: 183.8 kB / 0.5815 GB, free: 30.96 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001245/0.3385, allocations: 189.5 kB / 0.5816 GB, free: 30.84 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002584/0.3387, allocations: 427.5 kB / 0.5821 GB, free: 30.58 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006223/0.3393, allocations: 0.9685 MB / 0.583 GB, free: 30.21 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3394, allocations: 0 / 0.583 GB, free: 30.21 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.3394, allocations: 0 / 0.583 GB, free: 30.21 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.3394, allocations: 0 / 0.583 GB, free: 30.21 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.004898/0.3443, allocations: 1.761 MB / 0.5847 GB, free: 29.31 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.3443, allocations: 10.34 kB / 0.5847 GB, free: 29.31 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003168/0.3475, allocations: 0.5223 MB / 0.5852 GB, free: 29.2 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007706/0.3483, allocations: 0.6493 MB / 0.5859 GB, free: 28.72 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001463/0.3485, allocations: 137.7 kB / 0.586 GB, free: 28.61 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.3486, allocations: 54.38 kB / 0.5861 GB, free: 28.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/0.3498, allocations: 0.659 MB / 0.5867 GB, free: 28.33 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.3498, allocations: 3.938 kB / 0.5867 GB, free: 28.33 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.351e-05/0.3499, allocations: 20.44 kB / 0.5867 GB, free: 28.31 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.3499, allocations: 11.53 kB / 0.5867 GB, free: 28.31 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001163/0.3511, allocations: 0.6327 MB / 0.5874 GB, free: 28.09 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.003923/0.355, allocations: 2.647 MB / 0.5899 GB, free: 26.55 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01175/0.3668, allocations: 2.807 MB / 0.5927 GB, free: 26.02 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000959/0.3678, allocations: 444.8 kB / 0.5931 GB, free: 25.84 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.133e-05/0.3679, allocations: 10.56 kB / 0.5931 GB, free: 25.84 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.3679, allocations: 38.73 kB / 0.5931 GB, free: 25.8 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 2.575e-06/0.3679, allocations: 3.938 kB / 0.5932 GB, free: 25.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.01241/0.3803, allocations: 3.53 MB / 0.5966 GB, free: 24.8 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.3804, allocations: 58.64 kB / 0.5967 GB, free: 24.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.3815, allocations: 0.7637 MB / 0.5974 GB, free: 24.39 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.303e-05/0.3816, allocations: 36.11 kB / 0.5974 GB, free: 24.35 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002024/0.3818, allocations: 354.6 kB / 0.5978 GB, free: 24.06 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001802/0.382, allocations: 207.3 kB / 0.598 GB, free: 23.9 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003188/0.3823, allocations: 171.4 kB / 0.5981 GB, free: 23.82 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.3824, allocations: 400.2 kB / 0.5985 GB, free: 23.46 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009748/0.3834, allocations: 0.4925 MB / 0.599 GB, free: 23.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001024/0.3845, allocations: 0.5913 MB / 0.5996 GB, free: 22.98 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0158/0.4003, allocations: 3.562 MB / 0.6031 GB, free: 21.97 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.325e-06/0.4003, allocations: 1.375 kB / 0.6031 GB, free: 21.97 MB / 430.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007299/0.4076, allocations: 2.397 MB / 0.6054 GB, free: 21.21 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.4077, allocations: 5.922 kB / 0.6054 GB, free: 21.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.4077, allocations: 2.719 kB / 0.6054 GB, free: 21.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004152/0.4118, allocations: 1.042 MB / 0.6064 GB, free: 21.01 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008588/0.4127, allocations: 147.8 kB / 0.6066 GB, free: 21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00934/0.4221, allocations: 4.698 MB / 0.6111 GB, free: 18.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.4233, allocations: 116.2 kB / 0.6113 GB, free: 18.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001561/0.4235, allocations: 37.62 kB / 0.6113 GB, free: 18.3 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.000509/0.424, allocations: 215.3 kB / 0.6115 GB, free: 18.12 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002241/0.4243, allocations: 77.69 kB / 0.6116 GB, free: 18.08 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005925/0.4302, allocations: 1.952 MB / 0.6135 GB, free: 17.49 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.4302, allocations: 6.469 kB / 0.6135 GB, free: 17.49 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-05/0.4303, allocations: 4.25 kB / 0.6135 GB, free: 17.49 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/0.4303, allocations: 3.516 kB / 0.6135 GB, free: 17.49 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.006913/0.4372, allocations: 3.034 MB / 0.6165 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.4372, allocations: 0 / 0.6165 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004435/0.4377, allocations: 65.34 kB / 0.6165 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003074/0.4408, allocations: 0.9356 MB / 0.6174 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.365e-05/0.4409, allocations: 12 kB / 0.6174 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006484/0.4474, allocations: 3.791 MB / 0.6211 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.4474, allocations: 0 / 0.6211 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006054/0.4534, allocations: 2.518 MB / 0.6236 GB, free: 8.68 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002969/0.4538, allocations: 176 kB / 0.6238 GB, free: 8.488 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001855/0.454, allocations: 15.98 kB / 0.6238 GB, free: 8.473 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007971/0.4548, allocations: 51.94 kB / 0.6238 GB, free: 8.422 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003187/0.4551, allocations: 120.4 kB / 0.624 GB, free: 8.305 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.712e-05/0.4552, allocations: 8 kB / 0.624 GB, free: 8.297 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006052/0.4558, allocations: 0.5225 MB / 0.6245 GB, free: 7.777 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4558, allocations: 0 / 0.6245 GB, free: 7.777 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009978/0.4568, allocations: 303.7 kB / 0.6248 GB, free: 7.48 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.0002248/0.457, allocations: 123.2 kB / 0.6249 GB, free: 7.348 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003902/0.4609, allocations: 1.727 MB / 0.6266 GB, free: 5.57 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/0.4609, allocations: 0 / 0.6266 GB, free: 5.57 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002367/0.4633, allocations: 1.088 MB / 0.6276 GB, free: 4.43 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000753/0.4641, allocations: 53.39 kB / 0.6277 GB, free: 4.379 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002532/0.4666, allocations: 1.823 MB / 0.6295 GB, free: 2.523 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.4669, allocations: 0.9498 MB / 0.6304 GB, free: 1.547 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002567/0.4672, allocations: 47.42 kB / 0.6304 GB, free: 1.5 MB / 430.1 MB Notification: Performance of SimCode: time 8.02e-07/0.4672, allocations: 0 / 0.6304 GB, free: 1.5 MB / 430.1 MB Notification: Performance of Templates: time 0.0227/0.4899, allocations: 20.4 MB / 0.6504 GB, free: 13.09 MB / 462.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)