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.0009178/0.0009177, allocations: 175.1 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.192/1.192, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0008392/0.0008393, allocations: 84.3 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.421/0.421, allocations: 78.08 MB / 414.6 MB, free: 11.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.12e-05/2.123e-05, allocations: 7.984 kB / 491.8 MB, free: 14.06 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2911, allocations: 69.34 MB / 0.548 GB, free: 20.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1129/0.4041, allocations: 99.06 MB / 0.6448 GB, free: 1.492 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/0.4044, allocations: 79.95 kB / 0.6448 GB, free: 1.414 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05635/0.4607, allocations: 22.69 MB / 0.667 GB, free: 10.54 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.4608, allocations: 0 / 0.667 GB, free: 10.54 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.207e-05/0.4608, allocations: 20.64 kB / 0.667 GB, free: 10.52 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.002867/0.4637, allocations: 1.328 MB / 0.6683 GB, free: 9.145 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.4637, allocations: 11.97 kB / 0.6683 GB, free: 9.133 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002129/0.4659, allocations: 398.4 kB / 0.6687 GB, free: 8.742 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.4669, allocations: 0.6487 MB / 0.6693 GB, free: 8.055 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001828/0.4671, allocations: 243.4 kB / 0.6696 GB, free: 7.777 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.4672, allocations: 76.23 kB / 0.6696 GB, free: 7.703 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/0.4684, allocations: 0.7682 MB / 0.6704 GB, free: 6.922 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.4684, allocations: 0 / 0.6704 GB, free: 6.922 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.168e-05/0.4685, allocations: 24 kB / 0.6704 GB, free: 6.898 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.4685, allocations: 16 kB / 0.6704 GB, free: 6.883 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009987/0.4695, allocations: 0.6261 MB / 0.671 GB, free: 6.254 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.005073/0.4746, allocations: 3.321 MB / 0.6743 GB, free: 2.758 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007833/0.4825, allocations: 2.294 MB / 0.6765 GB, free: 424 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008673/0.4834, allocations: 413.4 kB / 0.6769 GB, free: 8 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.27/0.7534, allocations: 13.48 kB / 0.6769 GB, free: 107.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.315e-05/0.7536, allocations: 39.03 kB / 0.677 GB, free: 107.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=72): time 4.789e-06/0.7536, allocations: 0 / 0.677 GB, free: 107.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=72): time 0.005779/0.7594, allocations: 1.75 MB / 0.6787 GB, free: 107.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.7594, allocations: 88.86 kB / 0.6788 GB, free: 107.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.7605, allocations: 0.667 MB / 0.6794 GB, free: 107.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.327e-05/0.7606, allocations: 40.11 kB / 0.6794 GB, free: 107.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002589/0.7609, allocations: 417.8 kB / 0.6798 GB, free: 107.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002318/0.7611, allocations: 254.6 kB / 0.6801 GB, free: 107.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.015e-05/0.7612, allocations: 16.25 kB / 0.6801 GB, free: 107.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.268e-05/0.7613, allocations: 334.3 kB / 0.6804 GB, free: 107 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006132/0.7619, allocations: 354.1 kB / 0.6808 GB, free: 107 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006443/0.7625, allocations: 447.8 kB / 0.6812 GB, free: 106.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000676/0.7632, allocations: 387.7 kB / 0.6816 GB, free: 106.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.7632, allocations: 0.8125 kB / 0.6816 GB, free: 106.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.006218/0.7695, allocations: 1.994 MB / 0.6835 GB, free: 106.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000167/0.7697, allocations: 0.6186 MB / 0.6841 GB, free: 106.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.7697, allocations: 1.906 kB / 0.6841 GB, free: 106.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004511/0.7742, allocations: 1.022 MB / 0.6851 GB, free: 106.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006653/0.7749, allocations: 106.4 kB / 0.6852 GB, free: 106.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007728/0.7826, allocations: 4.547 MB / 0.6896 GB, free: 104.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/0.7836, allocations: 112.7 kB / 0.6898 GB, free: 104.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.134e-05/0.7837, allocations: 23.17 kB / 0.6898 GB, free: 104.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.935e-06/0.7837, allocations: 3.969 kB / 0.6898 GB, free: 104.4 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004958/0.7887, allocations: 1.881 MB / 0.6916 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.7887, allocations: 7.891 kB / 0.6916 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003666/0.7924, allocations: 1.005 MB / 0.6926 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005132/0.7929, allocations: 109.9 kB / 0.6927 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007164/0.8001, allocations: 4.547 MB / 0.6972 GB, free: 100.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009853/0.8011, allocations: 100.1 kB / 0.6972 GB, free: 100.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.187e-05/0.8012, allocations: 31.97 kB / 0.6973 GB, free: 100.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 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.0002325/0.8014, allocations: 143.4 kB / 0.6974 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/0.8016, allocations: 93.42 kB / 0.6975 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004271/0.8059, allocations: 1.837 MB / 0.6993 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.8059, allocations: 12.88 kB / 0.6993 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.8059, allocations: 6.281 kB / 0.6993 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.8059, allocations: 7.609 kB / 0.6993 GB, free: 100.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.005703/0.8116, allocations: 3.209 MB / 0.7025 GB, free: 98.63 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.8116, allocations: 0 / 0.7025 GB, free: 98.63 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005031/0.8122, allocations: 81.12 kB / 0.7025 GB, free: 98.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002497/0.8147, allocations: 0.8384 MB / 0.7034 GB, free: 98.44 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.535e-05/0.8147, allocations: 11.81 kB / 0.7034 GB, free: 98.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004914/0.8197, allocations: 3.522 MB / 0.7068 GB, free: 96.13 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.8197, allocations: 3.156 kB / 0.7068 GB, free: 96.13 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004757/0.8244, allocations: 2.421 MB / 0.7092 GB, free: 94.41 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002441/0.8247, allocations: 195.1 kB / 0.7094 GB, free: 94.22 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/0.8248, allocations: 20.12 kB / 0.7094 GB, free: 94.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007396/0.8256, allocations: 65.73 kB / 0.7094 GB, free: 94.15 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002748/0.8259, allocations: 126.7 kB / 0.7096 GB, free: 94.08 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.211e-05/0.8259, allocations: 20 kB / 0.7096 GB, free: 94.06 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005682/0.8265, allocations: 0.5237 MB / 0.7101 GB, free: 93.57 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8265, allocations: 0 / 0.7101 GB, free: 93.57 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001192/0.8277, allocations: 0.5155 MB / 0.7106 GB, free: 93.06 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.0002294/0.8279, allocations: 146.2 kB / 0.7107 GB, free: 92.92 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005732/0.8337, allocations: 2.841 MB / 0.7135 GB, free: 90.18 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.8337, allocations: 8.312 kB / 0.7135 GB, free: 90.17 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002295/0.836, allocations: 1.141 MB / 0.7146 GB, free: 89.07 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004264/0.8364, allocations: 63.45 kB / 0.7147 GB, free: 89.02 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002675/0.8391, allocations: 1.609 MB / 0.7163 GB, free: 87.58 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/0.8394, allocations: 1.032 MB / 0.7173 GB, free: 86.66 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005024/0.84, allocations: 116.3 kB / 0.7174 GB, free: 86.58 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/0.8401, allocations: 39.44 kB / 0.7174 GB, free: 86.54 MB / 490.7 MB Notification: Performance of SimCode: time 4.61e-07/0.8401, allocations: 4 kB / 0.7174 GB, free: 86.54 MB / 490.7 MB Notification: Performance of Templates: time 0.02322/0.8633, allocations: 19.78 MB / 0.7367 GB, free: 69.27 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)