Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_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_release_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.001307/0.001307, allocations: 173.4 kB / 7.647 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.196/1.196, allocations: 221.5 MB / 229.6 MB, free: 3.133 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.0008799/0.0008799, allocations: 100.1 kB / 280.5 MB, free: 1.156 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4253/0.4253, allocations: 78.13 MB / 409.4 MB, free: 15.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.677e-05/1.696e-05, allocations: 4 kB / 485 MB, free: 4.191 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.2991, allocations: 69.35 MB / 0.5413 GB, free: 21.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1106/0.4097, allocations: 98.4 MB / 0.6374 GB, free: 6.383 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002199/0.41, allocations: 83.94 kB / 0.6375 GB, free: 6.301 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06014/0.4701, allocations: 22.41 MB / 0.6594 GB, free: 15.71 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.083e-06/0.4702, allocations: 0 / 0.6594 GB, free: 15.71 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.235e-05/0.4702, allocations: 19.94 kB / 0.6594 GB, free: 15.69 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: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.003392/0.4736, allocations: 1.328 MB / 0.6607 GB, free: 14.31 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.4737, allocations: 8.031 kB / 0.6607 GB, free: 14.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002474/0.4762, allocations: 394.4 kB / 0.6611 GB, free: 13.92 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001474/0.4777, allocations: 0.6526 MB / 0.6617 GB, free: 13.22 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002061/0.4779, allocations: 211.5 kB / 0.6619 GB, free: 12.98 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001659/0.4781, allocations: 43.91 kB / 0.662 GB, free: 12.94 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001124/0.4792, allocations: 0.6043 MB / 0.6626 GB, free: 12.33 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/0.4804, allocations: 0.6758 MB / 0.6632 GB, free: 11.64 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.4805, allocations: 0 / 0.6632 GB, free: 11.64 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.621e-05/0.4805, allocations: 0 / 0.6632 GB, free: 11.64 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.4806, allocations: 16 kB / 0.6632 GB, free: 11.62 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.005616/0.4862, allocations: 3.206 MB / 0.6664 GB, free: 8.254 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007759/0.494, allocations: 2.262 MB / 0.6686 GB, free: 5.941 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006784/0.4947, allocations: 395.1 kB / 0.669 GB, free: 5.555 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.829e-05/0.4948, allocations: 12.77 kB / 0.669 GB, free: 5.543 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.4948, allocations: 47.3 kB / 0.669 GB, free: 5.488 MB / 490.7 MB Notification: Performance of pre-optimization done (n=72): time 2.885e-06/0.4948, allocations: 0 / 0.669 GB, free: 5.488 MB / 490.7 MB Notification: Performance of matching and sorting (n=72): time 0.004805/0.4996, allocations: 1.692 MB / 0.6707 GB, free: 3.777 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/0.4997, allocations: 85.89 kB / 0.6707 GB, free: 3.676 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.5008, allocations: 0.6213 MB / 0.6713 GB, free: 3.051 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.204e-05/0.5009, allocations: 29.7 kB / 0.6714 GB, free: 3.016 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003117/0.5012, allocations: 416.2 kB / 0.6718 GB, free: 2.602 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002802/0.5015, allocations: 248.3 kB / 0.672 GB, free: 2.355 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.253e-05/0.5015, allocations: 4 kB / 0.672 GB, free: 2.352 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.5017, allocations: 341.9 kB / 0.6723 GB, free: 2.012 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005576/0.5022, allocations: 337.5 kB / 0.6727 GB, free: 1.684 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006104/0.5029, allocations: 425.9 kB / 0.6731 GB, free: 1.242 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005997/0.5035, allocations: 378 kB / 0.6734 GB, free: 0.875 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.5035, allocations: 0 / 0.6734 GB, free: 0.875 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.2596/0.7631, allocations: 1.914 MB / 0.6753 GB, free: 108.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000158/0.7633, allocations: 0.6186 MB / 0.6759 GB, free: 107.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.7633, allocations: 1.844 kB / 0.6759 GB, free: 107.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004252/0.7676, allocations: 0.9942 MB / 0.6769 GB, free: 107.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006582/0.7682, allocations: 116.9 kB / 0.677 GB, free: 107.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00794/0.7762, allocations: 4.371 MB / 0.6813 GB, free: 106.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/0.7772, allocations: 102 kB / 0.6814 GB, free: 106.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.59e-05/0.7773, allocations: 24.56 kB / 0.6814 GB, free: 106.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.7773, allocations: 4.156 kB / 0.6814 GB, free: 106.4 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00531/0.7826, allocations: 1.802 MB / 0.6831 GB, free: 106.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.7827, allocations: 2.75 kB / 0.6831 GB, free: 106.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003744/0.7864, allocations: 0.9958 MB / 0.6841 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005131/0.7869, allocations: 100.5 kB / 0.6842 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007374/0.7943, allocations: 4.379 MB / 0.6885 GB, free: 104.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000912/0.7953, allocations: 83.42 kB / 0.6886 GB, free: 104.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.619e-05/0.7953, allocations: 21.91 kB / 0.6886 GB, free: 104.8 MB / 490.7 MB 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.0002962/0.7956, allocations: 138.9 kB / 0.6887 GB, free: 104.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002112/0.7959, allocations: 89.94 kB / 0.6888 GB, free: 104.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004441/0.8003, allocations: 1.773 MB / 0.6905 GB, free: 104.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.8003, allocations: 7.219 kB / 0.6905 GB, free: 104.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.898e-06/0.8003, allocations: 2.844 kB / 0.6905 GB, free: 104.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.8004, allocations: 7.359 kB / 0.6906 GB, free: 104.1 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.005615/0.806, allocations: 3.054 MB / 0.6935 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.806, allocations: 4.062 kB / 0.6935 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005123/0.8065, allocations: 81.73 kB / 0.6936 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002508/0.809, allocations: 0.8324 MB / 0.6944 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.324e-05/0.8091, allocations: 11.56 kB / 0.6944 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004823/0.8139, allocations: 3.429 MB / 0.6978 GB, free: 100.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.814, allocations: 4 kB / 0.6978 GB, free: 100.4 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004731/0.8187, allocations: 2.356 MB / 0.7001 GB, free: 99.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002267/0.8189, allocations: 186.5 kB / 0.7003 GB, free: 99.24 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001493/0.8191, allocations: 11.17 kB / 0.7003 GB, free: 99.24 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007703/0.8199, allocations: 49.06 kB / 0.7003 GB, free: 99.24 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002247/0.8201, allocations: 132.9 kB / 0.7005 GB, free: 99.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.745e-05/0.8202, allocations: 15.69 kB / 0.7005 GB, free: 99.21 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005223/0.8207, allocations: 489 kB / 0.7009 GB, free: 98.97 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8207, allocations: 0 / 0.7009 GB, free: 98.97 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00135/0.8221, allocations: 476.3 kB / 0.7014 GB, free: 98.94 MB / 490.7 MB 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.000242/0.8223, allocations: 140.2 kB / 0.7015 GB, free: 98.84 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005779/0.8281, allocations: 2.735 MB / 0.7042 GB, free: 97.42 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.8281, allocations: 3.031 kB / 0.7042 GB, free: 97.42 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002293/0.8304, allocations: 1.119 MB / 0.7053 GB, free: 96.81 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005167/0.8309, allocations: 50.67 kB / 0.7053 GB, free: 96.79 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003094/0.8341, allocations: 1.582 MB / 0.7069 GB, free: 96.03 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003911/0.8345, allocations: 1.033 MB / 0.7079 GB, free: 95.31 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005828/0.8351, allocations: 118.1 kB / 0.708 GB, free: 95.29 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.8352, allocations: 35.66 kB / 0.708 GB, free: 95.28 MB / 490.7 MB Notification: Performance of SimCode: time 4.2e-07/0.8352, allocations: 0 / 0.708 GB, free: 95.28 MB / 490.7 MB Notification: Performance of Templates: time 0.02298/0.8582, allocations: 18.19 MB / 0.7258 GB, free: 81.61 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.sim & ./OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe 2>&1)