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.001622/0.001622, allocations: 110.1 kB / 15.99 MB, free: 6.355 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.456/1.456, allocations: 222.9 MB / 239.6 MB, free: 4.703 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.001561/0.001561, allocations: 192.4 kB / 289.9 MB, free: 2.441 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5798/0.5798, allocations: 92.62 MB / 432.7 MB, free: 8.68 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002529/0.002529, allocations: 75.88 kB / 0.5029 GB, free: 7.227 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.431/0.4336, allocations: 71.4 MB / 0.5726 GB, free: 36.23 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.00459/0.4382, allocations: 5.191 MB / 0.5777 GB, free: 33.3 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002675/0.4409, allocations: 1.633 MB / 0.5792 GB, free: 32.15 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004178/0.4414, allocations: 5.25 kB / 0.5793 GB, free: 32.15 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003831/0.4418, allocations: 126.7 kB / 0.5794 GB, free: 32.1 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001241/0.443, allocations: 0.5792 MB / 0.5799 GB, free: 31.72 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007113/0.4438, allocations: 381 kB / 0.5803 GB, free: 31.51 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008071/0.4446, allocations: 1.077 MB / 0.5814 GB, free: 30.96 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002844/0.4449, allocations: 210.7 kB / 0.5816 GB, free: 30.87 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003879/0.4453, allocations: 451.7 kB / 0.582 GB, free: 30.64 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004514/0.4457, allocations: 0.5614 MB / 0.5825 GB, free: 30.37 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001066/0.4459, allocations: 97.62 kB / 0.5826 GB, free: 30.37 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003608/0.4462, allocations: 237.3 kB / 0.5829 GB, free: 30.32 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001298/0.4464, allocations: 231 kB / 0.5831 GB, free: 30.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002786/0.4466, allocations: 478.8 kB / 0.5835 GB, free: 29.85 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006923/0.4473, allocations: 0.9888 MB / 0.5845 GB, free: 29.47 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.4474, allocations: 2.656 kB / 0.5845 GB, free: 29.47 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4474, allocations: 0 / 0.5845 GB, free: 29.47 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.4474, allocations: 1.844 kB / 0.5845 GB, free: 29.47 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.005267/0.4527, allocations: 1.755 MB / 0.5862 GB, free: 28.57 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.4527, allocations: 8.5 kB / 0.5862 GB, free: 28.57 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003236/0.4559, allocations: 0.5182 MB / 0.5867 GB, free: 28.46 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009038/0.4569, allocations: 0.6469 MB / 0.5874 GB, free: 27.99 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001657/0.457, allocations: 146.9 kB / 0.5875 GB, free: 27.88 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.4572, allocations: 52.03 kB / 0.5875 GB, free: 27.86 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/0.4585, allocations: 0.652 MB / 0.5882 GB, free: 27.6 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.4586, allocations: 1.125 kB / 0.5882 GB, free: 27.6 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.79e-05/0.4586, allocations: 19.59 kB / 0.5882 GB, free: 27.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.666e-05/0.4587, allocations: 15.81 kB / 0.5882 GB, free: 27.58 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.4599, allocations: 0.6296 MB / 0.5888 GB, free: 27.36 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.004321/0.4642, allocations: 2.638 MB / 0.5914 GB, free: 25.84 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0122/0.4764, allocations: 2.814 MB / 0.5942 GB, free: 25.3 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001072/0.4776, allocations: 454.8 kB / 0.5946 GB, free: 25.11 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.537e-05/0.4777, allocations: 7.047 kB / 0.5946 GB, free: 25.11 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.4777, allocations: 43.48 kB / 0.5946 GB, free: 25.06 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 2.404e-06/0.4777, allocations: 0 / 0.5946 GB, free: 25.06 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.01366/0.4914, allocations: 3.529 MB / 0.5981 GB, free: 24.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.4914, allocations: 62.38 kB / 0.5981 GB, free: 24 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001328/0.4928, allocations: 0.7619 MB / 0.5989 GB, free: 23.65 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001481/0.4929, allocations: 35.92 kB / 0.5989 GB, free: 23.61 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000251/0.4932, allocations: 356.2 kB / 0.5993 GB, free: 23.33 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002342/0.4934, allocations: 211.2 kB / 0.5995 GB, free: 23.16 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003565/0.4938, allocations: 166.4 kB / 0.5996 GB, free: 23.08 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.4939, allocations: 397.5 kB / 0.6 GB, free: 22.73 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001034/0.495, allocations: 0.4962 MB / 0.6005 GB, free: 22.54 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/0.4961, allocations: 0.5995 MB / 0.6011 GB, free: 22.24 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01639/0.5125, allocations: 3.558 MB / 0.6045 GB, free: 21.23 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.837e-06/0.5125, allocations: 1.125 kB / 0.6046 GB, free: 21.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.00736/0.5199, allocations: 2.396 MB / 0.6069 GB, free: 20.48 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/0.52, allocations: 6.391 kB / 0.6069 GB, free: 20.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.52, allocations: 2.969 kB / 0.6069 GB, free: 20.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004355/0.5243, allocations: 1.048 MB / 0.6079 GB, free: 20.26 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008943/0.5252, allocations: 151.9 kB / 0.6081 GB, free: 20.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01041/0.5357, allocations: 5.073 MB / 0.613 GB, free: 17.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/0.537, allocations: 109.9 kB / 0.6131 GB, free: 17.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.682e-05/0.5371, allocations: 31.42 kB / 0.6132 GB, free: 17.33 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.0004553/0.5376, allocations: 208.9 kB / 0.6134 GB, free: 17.16 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/0.5378, allocations: 81.92 kB / 0.6134 GB, free: 17.11 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005956/0.5437, allocations: 1.947 MB / 0.6153 GB, free: 16.24 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.869e-06/0.5437, allocations: 5.688 kB / 0.6153 GB, free: 16.24 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.5438, allocations: 4.844 kB / 0.6153 GB, free: 16.24 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.5438, allocations: 0 / 0.6153 GB, free: 16.24 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.007044/0.5508, allocations: 3.041 MB / 0.6183 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.5509, allocations: 7.938 kB / 0.6183 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004782/0.5513, allocations: 65.75 kB / 0.6184 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003074/0.5544, allocations: 0.9329 MB / 0.6193 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.467e-05/0.5545, allocations: 23.98 kB / 0.6193 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006913/0.5614, allocations: 4.105 MB / 0.6233 GB, free: 9.164 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.5615, allocations: 0 / 0.6233 GB, free: 9.164 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00635/0.5678, allocations: 2.518 MB / 0.6258 GB, free: 6.621 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003851/0.5682, allocations: 179.9 kB / 0.626 GB, free: 6.426 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/0.5684, allocations: 15.98 kB / 0.626 GB, free: 6.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007581/0.5691, allocations: 51.94 kB / 0.626 GB, free: 6.359 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003702/0.5695, allocations: 120.6 kB / 0.6261 GB, free: 6.242 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.394e-05/0.5696, allocations: 12 kB / 0.6261 GB, free: 6.23 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005901/0.5702, allocations: 0.5263 MB / 0.6267 GB, free: 5.707 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5702, allocations: 0 / 0.6267 GB, free: 5.707 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001063/0.5712, allocations: 299.7 kB / 0.6269 GB, free: 5.414 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.0002696/0.5715, allocations: 119.2 kB / 0.6271 GB, free: 5.285 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004142/0.5757, allocations: 1.754 MB / 0.6288 GB, free: 3.473 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.5757, allocations: 448 / 0.6288 GB, free: 3.473 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002449/0.5782, allocations: 1.076 MB / 0.6298 GB, free: 2.34 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007402/0.5789, allocations: 69.17 kB / 0.6299 GB, free: 2.277 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002415/0.5813, allocations: 1.822 MB / 0.6317 GB, free: 436 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005017/0.5818, allocations: 0.9421 MB / 0.6326 GB, free: 15.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002508/0.5821, allocations: 55.42 kB / 0.6326 GB, free: 15.4 MB / 446.1 MB Notification: Performance of SimCode: time 1.052e-06/0.5821, allocations: 0 / 0.6326 GB, free: 15.4 MB / 446.1 MB Notification: Performance of Templates: time 0.02744/0.6096, allocations: 20.41 MB / 0.6526 GB, free: 10.98 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)