Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.DAEMode.SMIB_Examples.Example_1.Network3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003683/0.003683, allocations: 172 kB / 15.11 MB, free: 5.98 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.136/1.136, allocations: 223.2 MB / 239 MB, free: 1.805 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008444/0.0008444, allocations: 107.3 kB / 290.2 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.383/0.383, allocations: 78.52 MB / 419.8 MB, free: 44.07 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003034/0.0003034, allocations: 8 kB / 499.7 MB, free: 2.766 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2697, allocations: 69.35 MB / 0.5557 GB, free: 38.87 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1063/0.376, allocations: 109.7 MB / 0.6628 GB, free: 12.74 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002102/0.3763, allocations: 87.95 kB / 0.6629 GB, free: 12.66 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1128/0.4891, allocations: 46.09 MB / 0.7079 GB, free: 14.37 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4891, allocations: 0 / 0.7079 GB, free: 14.37 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001374/0.4892, allocations: 39.94 kB / 0.7079 GB, free: 14.33 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.006444/0.4957, allocations: 2.582 MB / 0.7105 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.4957, allocations: 11.97 kB / 0.7105 GB, free: 11.67 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001933/0.4977, allocations: 453 kB / 0.7109 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002918/0.5006, allocations: 1.473 MB / 0.7123 GB, free: 9.699 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000405/0.501, allocations: 385.6 kB / 0.7127 GB, free: 9.266 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001868/0.5012, allocations: 123.9 kB / 0.7128 GB, free: 9.145 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002776/0.504, allocations: 1.577 MB / 0.7144 GB, free: 7.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.504, allocations: 0 / 0.7144 GB, free: 7.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000118/0.5041, allocations: 47.94 kB / 0.7144 GB, free: 7.453 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/0.5042, allocations: 28 kB / 0.7144 GB, free: 7.426 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003034/0.5072, allocations: 1.539 MB / 0.7159 GB, free: 5.879 MB / 0.5105 GB 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.008854/0.5161, allocations: 5.951 MB / 0.7218 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01487/0.531, allocations: 4.984 MB / 0.7266 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.881e-05/0.5311, allocations: 20.98 kB / 0.7266 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.5311, allocations: 51.55 kB / 0.7267 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=120): time 2.254e-06/0.5311, allocations: 0 / 0.7267 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=124): time 0.02017/0.5513, allocations: 8.403 MB / 0.7349 GB, free: 2.066 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.458e-05/0.5514, allocations: 230.6 kB / 0.7351 GB, free: 1.793 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002577/0.554, allocations: 1.577 MB / 0.7367 GB, free: 220 kB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.988e-05/0.5541, allocations: 49.7 kB / 0.7367 GB, free: 164 kB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005273/0.5546, allocations: 0.7341 MB / 0.7374 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003508/0.555, allocations: 449.4 kB / 0.7379 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.131e-05/0.5551, allocations: 32 kB / 0.7379 GB, free: 14.94 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.5552, allocations: 361.9 kB / 0.7382 GB, free: 14.58 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001773/0.557, allocations: 0.8902 MB / 0.7391 GB, free: 13.69 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001857/0.5588, allocations: 1.077 MB / 0.7401 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001864/0.5607, allocations: 0.9955 MB / 0.7411 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.5607, allocations: 4 kB / 0.7411 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.006616/0.5674, allocations: 3.325 MB / 0.7444 GB, free: 8.211 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003113/0.5677, allocations: 1.033 MB / 0.7454 GB, free: 7.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.5677, allocations: 3.984 kB / 0.7454 GB, free: 7.086 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006782/0.5745, allocations: 2.289 MB / 0.7476 GB, free: 4.785 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007687/0.5753, allocations: 187.7 kB / 0.7478 GB, free: 4.602 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005843/0.5811, allocations: 3.516 MB / 0.7512 GB, free: 1.031 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/0.5828, allocations: 227.8 kB / 0.7514 GB, free: 0.8086 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/0.5829, allocations: 51.98 kB / 0.7515 GB, free: 0.7578 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 8.556e-06/0.583, allocations: 4 kB / 0.7515 GB, free: 0.7539 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006017/0.589, allocations: 2.978 MB / 0.7544 GB, free: 13.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.589, allocations: 4.125 kB / 0.7544 GB, free: 13.75 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006424/0.5954, allocations: 2.176 MB / 0.7565 GB, free: 11.56 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007529/0.5962, allocations: 195.8 kB / 0.7567 GB, free: 11.37 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008078/0.6043, allocations: 4.894 MB / 0.7615 GB, free: 6.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001652/0.6059, allocations: 215.8 kB / 0.7617 GB, free: 6.109 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/0.6061, allocations: 55.92 kB / 0.7618 GB, free: 6.055 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 (G1.hYGOV.Position_Limiter.local_reset,G1.hYGOV.q.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 1 * 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: 0 * Non-linear torn systems: 2 {1 6,11 54} Notification: Performance of prepare postOptimizeDAE: time 0.000641/0.6067, allocations: 460.9 kB / 0.7622 GB, free: 5.594 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002802/0.607, allocations: 181.7 kB / 0.7624 GB, free: 5.414 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00877/0.6158, allocations: 3.585 MB / 0.7659 GB, free: 1.801 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/0.6158, allocations: 12 kB / 0.7659 GB, free: 1.789 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/0.6158, allocations: 15.95 kB / 0.7659 GB, free: 1.773 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.6158, allocations: 3.984 kB / 0.7659 GB, free: 1.77 MB / 0.5573 GB 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.2039/0.8197, allocations: 5.935 MB / 0.7717 GB, free: 135.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.8197, allocations: 0.7031 kB / 0.7717 GB, free: 135.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002549/0.8223, allocations: 0.4987 MB / 0.7722 GB, free: 135.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003743/0.826, allocations: 1.327 MB / 0.7735 GB, free: 135.3 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001104/0.8262, allocations: 37.52 kB / 0.7735 GB, free: 135.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01348/0.8396, allocations: 10.53 MB / 0.7838 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.8397, allocations: 0 / 0.7838 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009643/0.8493, allocations: 4.764 MB / 0.7885 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003616/0.8497, allocations: 286.8 kB / 0.7887 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002011/0.8499, allocations: 32.44 kB / 0.7888 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001555/0.8515, allocations: 218.7 kB / 0.789 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004012/0.8519, allocations: 213.4 kB / 0.7892 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.287e-05/0.852, allocations: 36.5 kB / 0.7892 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002053/0.854, allocations: 1.251 MB / 0.7904 GB, free: 129.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2e-07/0.854, allocations: 5.531 kB / 0.7904 GB, free: 129.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001519/0.8555, allocations: 0.6533 MB / 0.7911 GB, free: 129.6 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (G1.gENSAL.w,G1.gENSAL.delta,G1.gENSAL.Epq,G1.gENSAL.PSIkd,G1.gENSAL.PSIppq,G1.hYGOV.SimpleLag1.state,G1.hYGOV.q.y,G1.hYGOV.g.state,G1.hYGOV.Position_Limiter.y,G1.eXST1_1.imLeadLag.TF.x_scaled[1],G1.eXST1_1.Vm1.state,G1.eXST1_1.imDerivativeLag.x,G1.eXST1_1.TransducerDelay.state,G1.sTAB2A.transferFunction.x_scaled[1],G1.sTAB2A.transferFunction1.x_scaled[1],G1.sTAB2A.transferFunction2.x_scaled[1],G1.sTAB2A.transferFunction3.x_scaled[1],G1.sTAB2A.transferFunction4.x_scaled[1],G1.sTAB2A.transferFunction5.x_scaled[1]) * 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 (94): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 3 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(7,59.2%) 13} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002755/0.8558, allocations: 183.9 kB / 0.7913 GB, free: 129.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01105/0.8669, allocations: 5.15 MB / 0.7963 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.8669, allocations: 0 / 0.7963 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004896/0.8718, allocations: 2.275 MB / 0.7985 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007961/0.8726, allocations: 183.3 kB / 0.7987 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005473/0.8781, allocations: 4.147 MB / 0.8027 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006934/0.8788, allocations: 1.375 MB / 0.8041 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006953/0.8795, allocations: 191.4 kB / 0.8043 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003164/0.8798, allocations: 85.69 kB / 0.8043 GB, free: 125.4 MB / 0.5573 GB Notification: Performance of SimCode: time 4.91e-07/0.8798, allocations: 3.719 kB / 0.8043 GB, free: 125.4 MB / 0.5573 GB Notification: Performance of Templates: time 0.03721/0.917, allocations: 31.55 MB / 0.8352 GB, free: 124 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.makefile (rm -f OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.sim & ./OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe 2>&1)