Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 221.4 MB / 234.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007679/0.0007679, allocations: 94.69 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4243/0.4243, allocations: 78.07 MB / 414.6 MB, free: 11.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.757e-05/3.758e-05, allocations: 0 / 491.8 MB, free: 14.07 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3392, allocations: 69.35 MB / 0.548 GB, free: 20.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1103/0.4495, allocations: 97.22 MB / 0.6429 GB, free: 3.336 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001849/0.4498, allocations: 67.97 kB / 0.643 GB, free: 3.27 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0541/0.5039, allocations: 20.54 MB / 0.6631 GB, free: 14.57 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.5039, allocations: 0 / 0.6631 GB, free: 14.57 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.945e-05/0.504, allocations: 12 kB / 0.6631 GB, free: 14.55 MB / 490.7 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.002735/0.5067, allocations: 1.182 MB / 0.6642 GB, free: 13.33 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.5067, allocations: 11.97 kB / 0.6642 GB, free: 13.32 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002177/0.5089, allocations: 382.5 kB / 0.6646 GB, free: 12.94 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008187/0.5098, allocations: 0.5586 MB / 0.6651 GB, free: 12.34 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001735/0.5099, allocations: 142.1 kB / 0.6653 GB, free: 12.19 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.5101, allocations: 52.34 kB / 0.6653 GB, free: 12.14 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.5111, allocations: 0.5687 MB / 0.6659 GB, free: 11.56 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.5111, allocations: 3.938 kB / 0.6659 GB, free: 11.56 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.465e-05/0.5112, allocations: 20 kB / 0.6659 GB, free: 11.54 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.5112, allocations: 12 kB / 0.6659 GB, free: 11.53 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009136/0.5121, allocations: 0.5428 MB / 0.6664 GB, free: 10.98 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.004392/0.5165, allocations: 2.6 MB / 0.669 GB, free: 8.273 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01343/0.53, allocations: 3.577 MB / 0.6725 GB, free: 4.652 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007797/0.5308, allocations: 366.5 kB / 0.6728 GB, free: 4.293 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.701e-05/0.5309, allocations: 4.562 kB / 0.6728 GB, free: 4.289 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.531, allocations: 47.11 kB / 0.6729 GB, free: 4.23 MB / 490.7 MB Notification: Performance of pre-optimization done (n=57): time 4.068e-06/0.531, allocations: 0 / 0.6729 GB, free: 4.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=57): time 0.005839/0.5368, allocations: 1.874 MB / 0.6747 GB, free: 2.34 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.5369, allocations: 59.97 kB / 0.6748 GB, free: 2.27 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009971/0.5379, allocations: 0.6446 MB / 0.6754 GB, free: 1.617 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.229e-05/0.5379, allocations: 37.7 kB / 0.6754 GB, free: 1.574 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002635/0.5382, allocations: 364.7 kB / 0.6758 GB, free: 1.211 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002049/0.5384, allocations: 209 kB / 0.676 GB, free: 1.004 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.282e-05/0.5385, allocations: 8 kB / 0.676 GB, free: 0.9961 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.543e-05/0.5386, allocations: 330 kB / 0.6763 GB, free: 0.668 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005169/0.5391, allocations: 301.5 kB / 0.6766 GB, free: 384 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.271/0.8101, allocations: 384.3 kB / 0.677 GB, free: 109.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000863/0.811, allocations: 327.7 kB / 0.6773 GB, free: 109.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.811, allocations: 0.625 kB / 0.6773 GB, free: 109.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.006449/0.8175, allocations: 2.06 MB / 0.6793 GB, free: 109.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.8175, allocations: 6.156 kB / 0.6793 GB, free: 109.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.8175, allocations: 2.75 kB / 0.6793 GB, free: 109.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003959/0.8215, allocations: 0.9747 MB / 0.6802 GB, free: 109.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004513/0.822, allocations: 90.88 kB / 0.6803 GB, free: 109.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008257/0.8302, allocations: 5.401 MB / 0.6856 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009695/0.8312, allocations: 113.1 kB / 0.6857 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.505e-05/0.8313, allocations: 17.25 kB / 0.6857 GB, free: 106.8 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real G1.machine.e2d:VARIABLE(start = G1.machine.e2d0 unit = "1" ) "d-axis sub-transient voltage" 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {7 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001865/0.8315, allocations: 138.2 kB / 0.6859 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001791/0.8317, allocations: 84.38 kB / 0.6859 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005456/0.8371, allocations: 1.956 MB / 0.6878 GB, free: 106.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.8372, allocations: 6.844 kB / 0.6879 GB, free: 106.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.8372, allocations: 5 kB / 0.6879 GB, free: 106.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.8372, allocations: 6.047 kB / 0.6879 GB, free: 106.6 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.005864/0.8431, allocations: 3.036 MB / 0.6908 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.8431, allocations: 0 / 0.6908 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004101/0.8435, allocations: 66.73 kB / 0.6909 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002523/0.846, allocations: 0.8478 MB / 0.6917 GB, free: 105.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.687e-05/0.8461, allocations: 11.94 kB / 0.6917 GB, free: 105.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005067/0.8512, allocations: 3.362 MB / 0.695 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.8512, allocations: 0 / 0.695 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005659/0.8569, allocations: 2.434 MB / 0.6974 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002677/0.8571, allocations: 182 kB / 0.6976 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.978e-05/0.8573, allocations: 10.72 kB / 0.6976 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000725/0.858, allocations: 74.17 kB / 0.6976 GB, free: 102.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003009/0.8583, allocations: 117.9 kB / 0.6978 GB, free: 102.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.683e-05/0.8583, allocations: 15 kB / 0.6978 GB, free: 102.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006299/0.859, allocations: 0.5012 MB / 0.6983 GB, free: 102 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.859, allocations: 0 / 0.6983 GB, free: 102 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001032/0.8601, allocations: 286.7 kB / 0.6985 GB, free: 101.9 MB / 490.7 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 () * 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 (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(9,48.1%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002745/0.8603, allocations: 146.7 kB / 0.6987 GB, free: 101.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00344/0.8638, allocations: 1.559 MB / 0.7002 GB, free: 101 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.8638, allocations: 0 / 0.7002 GB, free: 101 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002252/0.8661, allocations: 1.082 MB / 0.7013 GB, free: 100.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004568/0.8665, allocations: 51.75 kB / 0.7013 GB, free: 100.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001794/0.8683, allocations: 1.206 MB / 0.7025 GB, free: 99.76 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.8687, allocations: 0.963 MB / 0.7034 GB, free: 99.05 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000229/0.8689, allocations: 50.86 kB / 0.7035 GB, free: 99.04 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001533/0.869, allocations: 37.53 kB / 0.7035 GB, free: 99.03 MB / 490.7 MB Notification: Performance of SimCode: time 6.61e-07/0.8691, allocations: 0 / 0.7035 GB, free: 99.03 MB / 490.7 MB Notification: Performance of Templates: time 0.01618/0.8852, allocations: 12.7 MB / 0.7159 GB, free: 90.91 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.sim & ./OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1)