Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.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_2.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00496/0.004959, allocations: 170.5 kB / 15.11 MB, free: 5.969 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.155/1.155, allocations: 223.2 MB / 239.1 MB, free: 1.727 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.0008105/0.0008105, allocations: 97.41 kB / 290.2 MB, free: 13.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.396/0.396, allocations: 78.5 MB / 419.8 MB, free: 44.03 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003152/0.0003152, allocations: 8 kB / 499.7 MB, free: 2.738 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2765, allocations: 69.36 MB / 0.5557 GB, free: 38.73 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1008/0.3773, allocations: 101.1 MB / 0.6544 GB, free: 5.289 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/0.3776, allocations: 87.95 kB / 0.6545 GB, free: 5.203 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07454/0.4521, allocations: 29.95 MB / 0.6838 GB, free: 7.109 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4521, allocations: 4 kB / 0.6838 GB, free: 7.105 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.355e-05/0.4522, allocations: 16 kB / 0.6838 GB, free: 7.09 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: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.004232/0.4565, allocations: 1.815 MB / 0.6856 GB, free: 5.219 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.4565, allocations: 12.03 kB / 0.6856 GB, free: 5.207 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002166/0.4587, allocations: 426 kB / 0.686 GB, free: 4.789 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001802/0.4605, allocations: 0.9423 MB / 0.6869 GB, free: 3.793 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002545/0.4608, allocations: 247.7 kB / 0.6871 GB, free: 3.516 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/0.4609, allocations: 68 kB / 0.6872 GB, free: 3.449 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001765/0.4627, allocations: 1.007 MB / 0.6882 GB, free: 2.426 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.4627, allocations: 0 / 0.6882 GB, free: 2.426 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.185e-05/0.4628, allocations: 28 kB / 0.6882 GB, free: 2.398 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.4628, allocations: 16 kB / 0.6882 GB, free: 2.383 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001802/0.4646, allocations: 0.9616 MB / 0.6892 GB, free: 1.418 MB / 490.7 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.005472/0.4701, allocations: 3.621 MB / 0.6927 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01345/0.4835, allocations: 4.274 MB / 0.6969 GB, free: 9.344 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.206e-05/0.4836, allocations: 12.64 kB / 0.6969 GB, free: 9.332 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.4837, allocations: 43.22 kB / 0.6969 GB, free: 9.281 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=76): time 2.114e-06/0.4837, allocations: 3.938 kB / 0.6969 GB, free: 9.277 MB / 0.4948 GB Notification: Performance of matching and sorting (n=76): time 0.01314/0.4968, allocations: 4.684 MB / 0.7015 GB, free: 4.52 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.4969, allocations: 119.4 kB / 0.7016 GB, free: 4.375 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001605/0.4985, allocations: 1.027 MB / 0.7026 GB, free: 3.332 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.069e-05/0.4986, allocations: 33.7 kB / 0.7027 GB, free: 3.293 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000339/0.4989, allocations: 477 kB / 0.7031 GB, free: 2.824 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002246/0.4992, allocations: 283.9 kB / 0.7034 GB, free: 2.543 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-05/0.4992, allocations: 16 kB / 0.7034 GB, free: 2.527 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.899e-05/0.4993, allocations: 338 kB / 0.7037 GB, free: 2.191 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001076/0.5004, allocations: 0.5681 MB / 0.7043 GB, free: 1.621 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001156/0.5016, allocations: 0.6781 MB / 0.7049 GB, free: 0.9141 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/0.5027, allocations: 0.6131 MB / 0.7055 GB, free: 312 kB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.5027, allocations: 0 / 0.7055 GB, free: 312 kB / 0.4948 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.00748/0.5102, allocations: 2.814 MB / 0.7083 GB, free: 13.47 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002162/0.5105, allocations: 0.6234 MB / 0.7089 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.5105, allocations: 0 / 0.7089 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004407/0.5149, allocations: 1.244 MB / 0.7101 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008635/0.5158, allocations: 163.8 kB / 0.7103 GB, free: 11.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01126/0.527, allocations: 5.578 MB / 0.7157 GB, free: 5.688 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001552/0.5286, allocations: 183.1 kB / 0.7159 GB, free: 5.508 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.139e-05/0.5287, allocations: 28 kB / 0.7159 GB, free: 5.48 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.858e-06/0.5287, allocations: 7.938 kB / 0.7159 GB, free: 5.473 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007139/0.5359, allocations: 2.625 MB / 0.7185 GB, free: 2.836 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.5359, allocations: 0 / 0.7185 GB, free: 2.836 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004281/0.5402, allocations: 1.246 MB / 0.7197 GB, free: 1.582 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000827/0.541, allocations: 147.8 kB / 0.7198 GB, free: 1.438 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01041/0.5515, allocations: 5.567 MB / 0.7253 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/0.553, allocations: 163.2 kB / 0.7254 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.952e-05/0.553, allocations: 31.98 kB / 0.7255 GB, free: 11.55 MB / 0.5261 GB Warning: Assuming fixed start value for the following 1 variables: G1.aVRtypeIII.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (79): * Single equations (assignments): 76 * 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: 0 * Non-linear torn systems: 1 {8 13} Notification: Performance of prepare postOptimizeDAE: time 0.0005633/0.5536, allocations: 340.9 kB / 0.7258 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001816/0.5538, allocations: 110.6 kB / 0.7259 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006564/0.5604, allocations: 2.65 MB / 0.7285 GB, free: 8.426 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.5604, allocations: 8 kB / 0.7285 GB, free: 8.418 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.5604, allocations: 4 kB / 0.7285 GB, free: 8.414 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.5604, allocations: 7.984 kB / 0.7285 GB, free: 8.406 MB / 0.5261 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.008617/0.569, allocations: 4.236 MB / 0.7326 GB, free: 4.074 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.5691, allocations: 0 / 0.7326 GB, free: 4.074 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006914/0.5698, allocations: 111.9 kB / 0.7328 GB, free: 3.965 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003153/0.5729, allocations: 1.082 MB / 0.7338 GB, free: 2.875 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-05/0.573, allocations: 27.98 kB / 0.7338 GB, free: 2.848 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007477/0.5805, allocations: 4.291 MB / 0.738 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.5805, allocations: 0 / 0.738 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007735/0.5883, allocations: 3.441 MB / 0.7414 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004063/0.5887, allocations: 231.5 kB / 0.7416 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001489/0.5888, allocations: 16 kB / 0.7416 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/0.59, allocations: 131.9 kB / 0.7417 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003221/0.5903, allocations: 132.4 kB / 0.7419 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.983e-05/0.5904, allocations: 20 kB / 0.7419 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001429/0.5918, allocations: 0.8114 MB / 0.7427 GB, free: 9.59 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5919, allocations: 0 / 0.7427 GB, free: 9.59 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001372/0.5932, allocations: 0.5499 MB / 0.7432 GB, free: 9.039 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (G1.order6.delta,G1.order6.w,G1.order6.e1q,G1.order6.e1d,G1.order6.e2q,G1.order6.e2d,G1.aVRtypeIII.vm,G1.aVRtypeIII.vr,G1.aVRtypeIII.vf1,G1.pss.imLeadLag.TF.x_scaled[1],G1.pss.imLeadLag1.TF.x_scaled[1],G1.pss.derivativeLag.TF.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 (59): * Single equations (assignments): 56 * 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.0002578/0.5935, allocations: 163.1 kB / 0.7434 GB, free: 8.871 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.007573/0.6011, allocations: 3.494 MB / 0.7468 GB, free: 5.27 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.6011, allocations: 0 / 0.7468 GB, free: 5.27 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00291/0.604, allocations: 1.381 MB / 0.7481 GB, free: 3.832 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006005/0.6046, allocations: 110.4 kB / 0.7482 GB, free: 3.723 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004041/0.6087, allocations: 2.725 MB / 0.7509 GB, free: 0.9727 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005724/0.6093, allocations: 1.108 MB / 0.752 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005251/0.6098, allocations: 117.9 kB / 0.7521 GB, free: 15.72 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002541/0.6101, allocations: 63.42 kB / 0.7522 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of SimCode: time 3.61e-07/0.6101, allocations: 0 / 0.7522 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of Templates: time 0.2133/0.8233, allocations: 21.57 MB / 0.7732 GB, free: 147 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.makefile (rm -f OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.sim & ./OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe 2>&1)