Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.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.DAEMode.SMIB_Examples.Example_1.Network2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 221.5 MB / 229.6 MB, free: 7.594 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.0008731/0.000873, allocations: 99.59 kB / 280.5 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.459/0.459, allocations: 78.94 MB / 410.2 MB, free: 6 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.831e-05/1.825e-05, allocations: 0 / 485.9 MB, free: 11.53 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1424, allocations: 69.52 MB / 0.5424 GB, free: 5.91 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3957/0.5381, allocations: 99.08 MB / 0.6392 GB, free: 15.07 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001999/0.5384, allocations: 75.95 kB / 0.6393 GB, free: 15 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05974/0.5981, allocations: 22.6 MB / 0.6613 GB, free: 8.453 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.5981, allocations: 4 kB / 0.6613 GB, free: 8.449 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.678e-05/0.5982, allocations: 19.94 kB / 0.6614 GB, free: 8.43 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.00313/0.6013, allocations: 1.325 MB / 0.6627 GB, free: 7.055 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.6014, allocations: 8.031 kB / 0.6627 GB, free: 7.047 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00223/0.6036, allocations: 394.4 kB / 0.663 GB, free: 6.66 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001114/0.6047, allocations: 0.6565 MB / 0.6637 GB, free: 5.965 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000195/0.605, allocations: 215.5 kB / 0.6639 GB, free: 5.719 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.6051, allocations: 43.91 kB / 0.6639 GB, free: 5.676 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001011/0.6061, allocations: 0.5939 MB / 0.6645 GB, free: 5.082 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.6072, allocations: 0.6758 MB / 0.6652 GB, free: 4.391 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.6073, allocations: 0 / 0.6652 GB, free: 4.391 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.457e-05/0.6073, allocations: 4 kB / 0.6652 GB, free: 4.387 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/0.6074, allocations: 16 kB / 0.6652 GB, free: 4.371 MB / 474.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.005242/0.6126, allocations: 3.204 MB / 0.6683 GB, free: 1.008 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007646/0.6203, allocations: 2.272 MB / 0.6705 GB, free: 14.68 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000716/0.621, allocations: 397.8 kB / 0.6709 GB, free: 14.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.722e-05/0.6211, allocations: 12.78 kB / 0.6709 GB, free: 14.29 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.6212, allocations: 43.23 kB / 0.671 GB, free: 14.23 MB / 490.7 MB Notification: Performance of pre-optimization done (n=72): time 3.086e-06/0.6212, allocations: 0 / 0.671 GB, free: 14.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=72): time 0.004732/0.6259, allocations: 1.692 MB / 0.6726 GB, free: 12.52 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/0.626, allocations: 89.89 kB / 0.6727 GB, free: 12.42 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009856/0.627, allocations: 0.6291 MB / 0.6733 GB, free: 11.79 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001008/0.6271, allocations: 26.92 kB / 0.6733 GB, free: 11.75 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002861/0.6274, allocations: 420.2 kB / 0.6738 GB, free: 11.34 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002423/0.6276, allocations: 244.3 kB / 0.674 GB, free: 11.09 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.866e-05/0.6277, allocations: 0 / 0.674 GB, free: 11.09 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.6278, allocations: 337.9 kB / 0.6743 GB, free: 10.76 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005244/0.6283, allocations: 341.5 kB / 0.6746 GB, free: 10.43 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005922/0.6289, allocations: 433.8 kB / 0.675 GB, free: 9.977 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005599/0.6295, allocations: 370 kB / 0.6754 GB, free: 9.617 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-06/0.6295, allocations: 4.031 kB / 0.6754 GB, free: 9.613 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.005225/0.6348, allocations: 1.915 MB / 0.6773 GB, free: 7.68 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002293/0.635, allocations: 0.6191 MB / 0.6779 GB, free: 7.012 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.635, allocations: 3.953 kB / 0.6779 GB, free: 7.008 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003892/0.6389, allocations: 0.9967 MB / 0.6789 GB, free: 6.004 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006401/0.6396, allocations: 116.8 kB / 0.679 GB, free: 5.891 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008236/0.6478, allocations: 4.363 MB / 0.6832 GB, free: 1.406 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/0.649, allocations: 99.31 kB / 0.6833 GB, free: 1.309 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.301e-05/0.6491, allocations: 28.09 kB / 0.6833 GB, free: 1.281 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.6491, allocations: 3.938 kB / 0.6834 GB, free: 1.277 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004958/0.6541, allocations: 1.8 MB / 0.6851 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/0.6541, allocations: 6.812 kB / 0.6851 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003703/0.6578, allocations: 0.9937 MB / 0.6861 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005836/0.6584, allocations: 108.4 kB / 0.6862 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007985/0.6664, allocations: 4.38 MB / 0.6905 GB, free: 9.848 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.6676, allocations: 83.39 kB / 0.6905 GB, free: 9.766 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.94e-05/0.6677, allocations: 31.94 kB / 0.6906 GB, free: 9.734 MB / 0.4948 GB Warning: Assuming fixed start value for the following 2 variables: G1.aVRtypeIII.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real G1.order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: breaker1.vr.re:VARIABLE() "Real part of complex number" type: Real breaker1.vr.im:VARIABLE() "Imaginary part of complex number" type: Real breaker2.vr.im:VARIABLE() "Imaginary part of complex number" type: Real breaker2.vr.re:VARIABLE() "Real part of complex number" 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: 2 (breaker1.Open,breaker2.Open) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 63 * 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 {10 17} Notification: Performance of prepare postOptimizeDAE: time 0.0003444/0.668, allocations: 123 kB / 0.6907 GB, free: 9.609 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001894/0.6682, allocations: 90.88 kB / 0.6908 GB, free: 9.52 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004466/0.6727, allocations: 1.771 MB / 0.6925 GB, free: 7.73 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-06/0.6727, allocations: 8 kB / 0.6925 GB, free: 7.723 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.6727, allocations: 4 kB / 0.6925 GB, free: 7.719 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.6727, allocations: 3.984 kB / 0.6925 GB, free: 7.715 MB / 0.4948 GB 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.006183/0.6789, allocations: 3.063 MB / 0.6955 GB, free: 4.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.679, allocations: 0 / 0.6955 GB, free: 4.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005644/0.6795, allocations: 87.92 kB / 0.6956 GB, free: 4.484 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002663/0.6822, allocations: 0.822 MB / 0.6964 GB, free: 3.656 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.126e-05/0.6823, allocations: 5.125 kB / 0.6964 GB, free: 3.652 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005402/0.6877, allocations: 3.433 MB / 0.6998 GB, free: 100 kB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/0.6877, allocations: 3.938 kB / 0.6998 GB, free: 96 kB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005142/0.6929, allocations: 2.349 MB / 0.7021 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003138/0.6932, allocations: 187.8 kB / 0.7022 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/0.6934, allocations: 11.95 kB / 0.7022 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007456/0.6941, allocations: 55.95 kB / 0.7023 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002832/0.6944, allocations: 116.7 kB / 0.7024 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.327e-05/0.6945, allocations: 30.75 kB / 0.7024 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000603/0.6951, allocations: 487.2 kB / 0.7029 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6951, allocations: 1.969 kB / 0.7029 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001339/0.6964, allocations: 471.1 kB / 0.7034 GB, free: 12.36 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (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) * Number of discrete variables: 2 (breaker1.Open,breaker2.Open) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 46 * 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 {(13,35.5%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002748/0.6967, allocations: 148.8 kB / 0.7035 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0061/0.7028, allocations: 2.737 MB / 0.7062 GB, free: 9.363 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.7029, allocations: 0 / 0.7062 GB, free: 9.363 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002479/0.7053, allocations: 1.116 MB / 0.7073 GB, free: 8.195 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000593/0.706, allocations: 58.56 kB / 0.7073 GB, free: 8.137 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003265/0.7092, allocations: 1.583 MB / 0.7089 GB, free: 6.535 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00057/0.7098, allocations: 1.028 MB / 0.7099 GB, free: 5.473 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005789/0.7104, allocations: 111.2 kB / 0.71 GB, free: 5.363 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/0.7106, allocations: 39.44 kB / 0.71 GB, free: 5.324 MB / 0.5105 GB Notification: Performance of SimCode: time 4.81e-07/0.7106, allocations: 0 / 0.71 GB, free: 5.324 MB / 0.5105 GB Notification: Performance of Templates: time 0.02735/0.7379, allocations: 18.21 MB / 0.7278 GB, free: 3.312 MB / 0.5261 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.sim & ./OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe 2>&1)